Example usage for Java org.antlr.v4.runtime TokenSource fields, constructors, methods, implement or subclass
The text is from its open source code.
CharStream | getInputStream() Get the CharStream from which this token source is currently providing tokens. |
String | getSourceName() Gets the name of the underlying input source. |
Token | nextToken() Return a Token object from your input stream (usually a CharStream ). |