int type
CommonToken.getType() and CommonToken.setType(int).int line
CommonToken.getLine() and CommonToken.setLine(int).int charPositionInLine
CommonToken.getCharPositionInLine() and
CommonToken.setCharPositionInLine(int).int channel
CommonToken.getChannel() and
CommonToken.setChannel(int).Tuple2<T1,T2> source
CommonToken.getTokenSource() and
CommonToken.getInputStream().
These properties share a field to reduce the memory footprint of
CommonToken. Tokens created by a CommonTokenFactory from
the same source and input stream share a reference to the same
Tuple2 containing these values.
String text
CommonToken.getText() when the token text is
explicitly set in the constructor or via CommonToken.setText(java.lang.String).CommonToken.getText()int index
CommonToken.getTokenIndex() and
CommonToken.setTokenIndex(int).int start
CommonToken.getStartIndex() and
CommonToken.setStartIndex(int).int stop
CommonToken.getStopIndex() and
CommonToken.setStopIndex(int).int ruleIndex
int predicateIndex
String predicate
int startIndex
ATNConfigSet deadEndConfigs
ATNConfigSet deadEndConfigs
Token startToken
Recognizer<Symbol,ATNInterpreter extends ATNSimulator> recognizer
Recognizer where this exception originated.RuleContext ctx
IntStream input
Token offendingToken
int offendingState
String tokenName
TokenTagToken.getTokenName().String label
TokenTagToken.getLabel().Copyright © 1992–2024 Daniel Sun. All rights reserved.