getText method
Get the text matched so far for the current token.
Implementation
String getText(CharStream input) {
// index is first lookahead char, don't include.
return input.getText(Interval.of(startIndex, input.index - 1));
}
Get the text matched so far for the current token.
String getText(CharStream input) {
// index is first lookahead char, don't include.
return input.getText(Interval.of(startIndex, input.index - 1));
}