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).Pair<A,B> 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
Pair 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-2016 ANTLR. All Rights Reserved.