Serialized Form
-
Package org.antlr.v4.runtime
-
Class org.antlr.v4.runtime.CommonToken extends Object implements Serializable
-
Serialized Fields
-
channel
int channel
This is the backing field forCommonToken.getChannel()
andCommonToken.setChannel(int)
. -
charPositionInLine
int charPositionInLine
This is the backing field forCommonToken.getCharPositionInLine()
andCommonToken.setCharPositionInLine(int)
. -
index
int index
This is the backing field forCommonToken.getTokenIndex()
andCommonToken.setTokenIndex(int)
. -
line
int line
This is the backing field forCommonToken.getLine()
andCommonToken.setLine(int)
. -
source
Pair<TokenSource,CharStream> source
This is the backing field forCommonToken.getTokenSource()
andCommonToken.getInputStream()
.These properties share a field to reduce the memory footprint of
CommonToken
. Tokens created by aCommonTokenFactory
from the same source and input stream share a reference to the samePair
containing these values. -
start
int start
This is the backing field forCommonToken.getStartIndex()
andCommonToken.setStartIndex(int)
. -
stop
int stop
This is the backing field forCommonToken.getStopIndex()
andCommonToken.setStopIndex(int)
. -
text
String text
This is the backing field forCommonToken.getText()
when the token text is explicitly set in the constructor or viaCommonToken.setText(java.lang.String)
.- See Also:
CommonToken.getText()
-
type
int type
This is the backing field forCommonToken.getType()
andCommonToken.setType(int)
.
-
-
-
Class org.antlr.v4.runtime.FailedPredicateException extends RecognitionException implements Serializable
-
Serialized Fields
-
predicate
String predicate
-
predicateIndex
int predicateIndex
-
ruleIndex
int ruleIndex
-
-
-
Class org.antlr.v4.runtime.InputMismatchException extends RecognitionException implements Serializable
-
Class org.antlr.v4.runtime.LexerNoViableAltException extends RecognitionException implements Serializable
-
Serialized Fields
-
deadEndConfigs
ATNConfigSet deadEndConfigs
Which configurations did we try at input.index() that couldn't match input.LA(1)? -
startIndex
int startIndex
Matching attempted at what input index?
-
-
-
Class org.antlr.v4.runtime.NoViableAltException extends RecognitionException implements Serializable
-
Serialized Fields
-
deadEndConfigs
ATNConfigSet deadEndConfigs
Which configurations did we try at input.index() that couldn't match input.LT(1)? -
startToken
Token startToken
The token object at the start index; the input stream might not be buffering tokens so get a reference to it. (At the time the error occurred, of course the stream needs to keep a buffer all of the tokens but later we might not have access to those.)
-
-
-
Class org.antlr.v4.runtime.RecognitionException extends RuntimeException implements Serializable
-
Serialized Fields
-
ctx
RuleContext ctx
-
input
IntStream input
-
offendingState
int offendingState
-
offendingToken
Token offendingToken
-
recognizer
Recognizer<?,?> recognizer
TheRecognizer
where this exception originated.
-
-
-
-
Package org.antlr.v4.runtime.misc
-
Class org.antlr.v4.runtime.misc.MultiMap extends LinkedHashMap<K,List<V>> implements Serializable
-
Class org.antlr.v4.runtime.misc.OrderedHashSet extends LinkedHashSet<T> implements Serializable
-
Class org.antlr.v4.runtime.misc.Pair extends Object implements Serializable
-
Class org.antlr.v4.runtime.misc.ParseCancellationException extends CancellationException implements Serializable
-
-
Package org.antlr.v4.runtime.tree.pattern
-
Class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher.CannotInvokeStartRule extends RuntimeException implements Serializable
-
Class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern extends RuntimeException implements Serializable
-
Class org.antlr.v4.runtime.tree.pattern.TokenTagToken extends CommonToken implements Serializable
-
Serialized Fields
-
label
String label
This is the backing field forTokenTagToken.getLabel()
. -
tokenName
String tokenName
This is the backing field forTokenTagToken.getTokenName()
.
-
-
-