Example usage for Java org.antlr.v4.runtime CharStream fields, constructors, methods, implement or subclass
The text is from its open source code.
String | getText(Interval interval) This method returns the text for a range of characters within this input stream. |
int | index() Return the index into the stream of the input symbol referred to by LA(1) . |
int | LA(int i) Gets the value of the symbol at offset i from the current position. |
void | seek(int index) Set the input cursor to the position indicated by index . |
int | size() Returns the total number of symbols in the stream, including a single EOF symbol. |