Package | Description |
---|---|
org.parboiled | |
org.parboiled.buffers | |
org.parboiled.support |
Modifier and Type | Method and Description |
---|---|
IndexRange |
MatcherContext.getMatchRange() |
IndexRange |
Context.getMatchRange()
Creates a new
IndexRange instance covering the input text matched by the rule immediately preceding the
action expression that is currently being evaluated. |
IndexRange |
BaseActions.matchRange()
Creates a new
IndexRange instance covering the input text matched by the rule immediately preceding the
action expression that is currently being evaluated. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
MutableInputBuffer.extract(IndexRange range) |
java.lang.String |
InputBuffer.extract(IndexRange range)
Constructs a new
String from all character covered by the given IndexRange. |
java.lang.String |
IndentDedentInputBuffer.extract(IndexRange range) |
java.lang.String |
DefaultInputBuffer.extract(IndexRange range) |
Modifier and Type | Field and Description |
---|---|
static IndexRange |
IndexRange.EMPTY |
Modifier and Type | Method and Description |
---|---|
IndexRange |
IndexRange.mergedWith(IndexRange other)
Created a new IndexRange that spans all characters between the smallest and the highest index of the two ranges.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IndexRange.isFollowedBy(IndexRange other)
Determines whether this range is immediated followed by the given other one.
|
boolean |
IndexRange.isPrecededBy(IndexRange other)
Determines whether this range immediated follows the given other one.
|
IndexRange |
IndexRange.mergedWith(IndexRange other)
Created a new IndexRange that spans all characters between the smallest and the highest index of the two ranges.
|
boolean |
IndexRange.overlapsWith(IndexRange other)
Determines whether this range overlaps with the given other one.
|
boolean |
IndexRange.touches(IndexRange other)
Determines whether this range immediated follows or precedes the given other one.
|