Modifier and Type | Field and Description |
---|---|
Map<TRegular.TagInfo,Integer> |
markers
Contains all positions in the input string
associated to the tags found when matching
|
int |
matchedLength
The size of the input string prefix that matched
the regular expression.
|
boolean |
reachedEOF
Whether the end-of-input has been matched,
in which case
matchedLength should be
the length of the whole input, and no more
can be matched (even TRegular.EPSILON ). |
Constructor and Description |
---|
MatchResult(Map<TRegular.TagInfo,Integer> markers,
int matchedLength,
boolean reachedEOF) |
public final Map<TRegular.TagInfo,Integer> markers
public final int matchedLength
public final boolean reachedEOF
matchedLength
should be
the length of the whole input, and no more
can be matched (even TRegular.EPSILON
).public MatchResult(Map<TRegular.TagInfo,Integer> markers, int matchedLength, boolean reachedEOF)
markers
- matchedLength
- reachedEOF
-