public static class PegLegParser.RuleReturn<V> extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
consumed()
Did the rule consume chars.
|
Optional<String> |
match() |
boolean |
matched()
Did we match.
|
int |
matchLen()
Length of match.
|
int |
matchLine()
Line of match, first line is 1.
|
int |
matchLineOffset()
Line offset of match, 1st char on line is 0.
|
int |
matchPos()
Char offset into input where match occurred.
|
String |
toString() |
public int matchLine()
public int matchLineOffset()
public int matchPos()
public int matchLen()
public boolean matched()
public boolean consumed()
Copyright © 2020. All rights reserved.