Package org.stringtemplate.v4.compiler
Class STLexer.STToken
- java.lang.Object
-
- org.antlr.runtime.CommonToken
-
- org.stringtemplate.v4.compiler.STLexer.STToken
-
- All Implemented Interfaces:
Serializable,org.antlr.runtime.Token
- Enclosing class:
- STLexer
public static class STLexer.STToken extends org.antlr.runtime.CommonTokenWe buildSTTokentokens instead of relying onCommonTokenso we can overridetoString(). It just converts token types to token names like 23 to"LDELIM".- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()-
Methods inherited from class org.antlr.runtime.CommonToken
getChannel, getCharPositionInLine, getInputStream, getLine, getStartIndex, getStopIndex, getText, getTokenIndex, getType, setChannel, setCharPositionInLine, setInputStream, setLine, setStartIndex, setStopIndex, setText, setTokenIndex, setType
-
-