Interface | Description |
---|---|
LexerAction |
Represents a single action which can be executed following the successful
match of a lexer rule.
|
Class | Description |
---|---|
AbstractPredicateTransition | |
ActionTransition | |
AmbiguityInfo |
This class represents profiling event information for an ambiguity.
|
ArrayPredictionContext | |
ATN | |
ATNConfig |
A tuple: (ATN state, predicted alt, syntactic, semantic context).
|
ATNConfigSet | |
ATNConfigSet.AbstractConfigHashSet | |
ATNConfigSet.ConfigEqualityComparator | |
ATNConfigSet.ConfigHashSet |
The reason that we need this is because we don't want the hash map to use
the standard hash code and equals.
|
ATNDeserializationOptions | |
ATNDeserializer | |
ATNSerializer | |
ATNSimulator | |
ATNState |
The following images show the relation of states and
ATNState.transitions for various grammar constructs. |
AtomTransition |
TODO: make all transitions sets? no, should remove set edges
|
BasicBlockStartState | |
BasicState | |
BlockEndState |
Terminal node of a simple
(a|b|c) block. |
BlockStartState |
The start of a regular
(...) block. |
CodePointTransitions |
Utility class to create
AtomTransition , RangeTransition ,
and SetTransition appropriately based on the range of the input. |
ContextSensitivityInfo |
This class represents profiling event information for a context sensitivity.
|
DecisionEventInfo |
This is the base class for gathering detailed information about prediction
events which occur during parsing.
|
DecisionInfo |
This class contains profiling gathered for a particular decision.
|
DecisionState | |
EmptyPredictionContext | |
EpsilonTransition | |
ErrorInfo |
This class represents profiling event information for a syntax error
identified during prediction.
|
LexerActionExecutor |
Represents an executor for a sequence of lexer actions which traversed during
the matching operation of a lexer rule (token).
|
LexerATNConfig | |
LexerATNSimulator |
"dup" of ParserInterpreter
|
LexerATNSimulator.SimState |
When we hit an accept state in either the DFA or the ATN, we
have to notify the character stream to start buffering characters
via
IntStream.mark() and record the current state. |
LexerChannelAction |
Implements the
channel lexer action by calling
Lexer.setChannel(int) with the assigned channel. |
LexerCustomAction |
Executes a custom lexer action by calling
Recognizer.action(org.antlr.v4.runtime.RuleContext, int, int) with the
rule and action indexes assigned to the custom action. |
LexerIndexedCustomAction |
This implementation of
LexerAction is used for tracking input offsets
for position-dependent actions within a LexerActionExecutor . |
LexerModeAction |
Implements the
mode lexer action by calling Lexer.mode(int) with
the assigned mode. |
LexerMoreAction |
Implements the
more lexer action by calling Lexer.more() . |
LexerPopModeAction |
Implements the
popMode lexer action by calling Lexer.popMode() . |
LexerPushModeAction |
Implements the
pushMode lexer action by calling
Lexer.pushMode(int) with the assigned mode. |
LexerSkipAction |
Implements the
skip lexer action by calling Lexer.skip() . |
LexerTypeAction |
Implements the
type lexer action by calling Lexer.setType(int)
with the assigned type. |
LL1Analyzer | |
LookaheadEventInfo |
This class represents profiling event information for tracking the lookahead
depth required in order to make a prediction.
|
LoopEndState |
Mark the end of a * or + loop.
|
NotSetTransition | |
OrderedATNConfigSet | |
OrderedATNConfigSet.LexerConfigHashSet | |
ParseInfo |
This class provides access to specific and aggregate statistics gathered
during profiling of a parser.
|
ParserATNSimulator |
The embodiment of the adaptive LL(*), ALL(*), parsing strategy.
|
PlusBlockStartState |
Start of
(A|B|...)+ loop. |
PlusLoopbackState |
Decision state for
A+ and (A|B)+ . |
PrecedencePredicateTransition | |
PredicateEvalInfo |
This class represents profiling event information for semantic predicate
evaluations which occur during prediction.
|
PredicateTransition |
TODO: this is old comment:
A tree of semantic predicates from the grammar AST if label==SEMPRED.
|
PredictionContext | |
PredictionContextCache |
Used to cache
PredictionContext objects. |
ProfilingATNSimulator | |
RangeTransition | |
RuleStartState | |
RuleStopState |
The last node in the ATN for a rule, unless that rule is the start symbol.
|
RuleTransition | |
SemanticContext |
A tree structure used to record the semantic context in which
an ATN configuration is valid.
|
SemanticContext.AND |
A semantic context which is true whenever none of the contained contexts
is false.
|
SemanticContext.Operator |
This is the base class for semantic context "operators", which operate on
a collection of semantic context "operands".
|
SemanticContext.OR |
A semantic context which is true whenever at least one of the contained
contexts is true.
|
SemanticContext.PrecedencePredicate | |
SemanticContext.Predicate | |
SetTransition |
A transition containing a set of values.
|
SingletonPredictionContext | |
StarBlockStartState |
The block that begins a closure loop.
|
StarLoopbackState | |
StarLoopEntryState | |
TokensStartState |
The Tokens rule start state linking to each lexer rule start state
|
Transition |
An ATN transition between any two ATN states.
|
WildcardTransition |
Enum | Description |
---|---|
ATNType |
Represents the type of recognizer an ATN applies to.
|
LexerActionType |
Represents the serialization type of a
LexerAction . |
PredictionMode |
This enumeration defines the prediction modes available in ANTLR 4 along with
utility methods for analyzing configuration sets for conflicts and/or
ambiguities.
|
Copyright © 1992–2018 ANTLR. All rights reserved.