Serialized Form
-
Package org.antlr.runtime
-
Class org.antlr.runtime.CommonToken extends java.lang.Object implements Serializable
-
Serialized Fields
-
channel
int channel
-
charPositionInLine
int charPositionInLine
-
index
int index
What token number is this from 0..n-1 tokens; < 0 implies invalid index -
line
int line
-
start
int start
The char position into the input buffer where this token starts -
stop
int stop
The char position into the input buffer where this token stops -
text
java.lang.String text
We need to be able to change the text once in a while. If this is non-null, then getText should return this. Note that start/stop are not affected by changing this. -
type
int type
-
-
-
Class org.antlr.runtime.EarlyExitException extends RecognitionException implements Serializable
-
Serialized Fields
-
decisionNumber
int decisionNumber
-
-
-
Class org.antlr.runtime.FailedPredicateException extends RecognitionException implements Serializable
-
Serialized Fields
-
predicateText
java.lang.String predicateText
-
ruleName
java.lang.String ruleName
-
-
-
Class org.antlr.runtime.MismatchedNotSetException extends MismatchedSetException implements Serializable
-
Class org.antlr.runtime.MismatchedRangeException extends RecognitionException implements Serializable
-
Serialized Fields
-
a
int a
-
b
int b
-
-
-
Class org.antlr.runtime.MismatchedSetException extends RecognitionException implements Serializable
-
Serialized Fields
-
expecting
BitSet expecting
-
-
-
Class org.antlr.runtime.MismatchedTokenException extends RecognitionException implements Serializable
-
Serialized Fields
-
expecting
int expecting
-
-
-
Class org.antlr.runtime.MismatchedTreeNodeException extends RecognitionException implements Serializable
-
Serialized Fields
-
expecting
int expecting
-
-
-
Class org.antlr.runtime.MissingTokenException extends MismatchedTokenException implements Serializable
-
Serialized Fields
-
inserted
java.lang.Object inserted
-
-
-
Class org.antlr.runtime.NoViableAltException extends RecognitionException implements Serializable
-
Serialized Fields
-
decisionNumber
int decisionNumber
-
grammarDecisionDescription
java.lang.String grammarDecisionDescription
-
stateNumber
int stateNumber
-
-
-
Class org.antlr.runtime.RecognitionException extends java.lang.Exception implements Serializable
-
Serialized Fields
-
approximateLineInfo
boolean approximateLineInfo
If you are parsing a tree node stream, you will encounter som imaginary nodes w/o line/col info. We now search backwards looking for most recent token with line/col info, but notify getErrorHeader() that info is approximate. -
c
int c
The current char when an error occurred. For lexers. -
charPositionInLine
int charPositionInLine
-
index
int index
What is index of token/char were we looking at when the error occurred? -
line
int line
Track the line at which the error occurred in case this is generated from a lexer. We need to track this since the unexpected char doesn't carry the line info. -
node
java.lang.Object node
If this is a tree parser exception, node is set to the node with the problem. -
token
Token token
The current Token when an error occurred. Since not all streams can retrieve the ith Token, we have to track the Token object. For parsers. Even when it's a tree parser, token might be set.
-
-
-
Class org.antlr.runtime.UnwantedTokenException extends MismatchedTokenException implements Serializable
-
-
Package org.antlr.runtime.tree
-
Class org.antlr.runtime.tree.RewriteCardinalityException extends java.lang.RuntimeException implements Serializable
-
Serialized Fields
-
elementDescription
java.lang.String elementDescription
-
-
-
Class org.antlr.runtime.tree.RewriteEarlyExitException extends RewriteCardinalityException implements Serializable
-
Class org.antlr.runtime.tree.RewriteEmptyStreamException extends RewriteCardinalityException implements Serializable
-