public static class STLexer.STToken
extends org.antlr.runtime.CommonToken
STToken
tokens instead of relying on CommonToken
so we can override toString()
. It just converts token types to
token names like 23 to "LDELIM"
.Constructor and Description |
---|
STLexer.STToken(org.antlr.runtime.CharStream input,
int type,
int start,
int stop) |
STLexer.STToken(int type,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
getChannel, getCharPositionInLine, getInputStream, getLine, getStartIndex, getStopIndex, getText, getTokenIndex, getType, setChannel, setCharPositionInLine, setInputStream, setLine, setStartIndex, setStopIndex, setText, setTokenIndex, setType