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 |
---|
STToken(org.antlr.runtime.CharStream input,
int type,
int start,
int stop) |
STToken(int type,
String text) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getChannel, getCharPositionInLine, getInputStream, getLine, getStartIndex, getStopIndex, getText, getTokenIndex, getType, setChannel, setCharPositionInLine, setInputStream, setLine, setStartIndex, setStopIndex, setText, setTokenIndex, setType
Copyright © 2024. All rights reserved.