Uses of Package
org.antlr.v4.runtime.atn
Packages that use org.antlr.v4.runtime.atn
Package
Description
-
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.analysisClassDescriptionThe following images show the relation of states and
ATNState.transitionsfor various grammar constructs. -
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.automataClassDescriptionThe following images show the relation of states and
ATNState.transitionsfor various grammar constructs.The start of a regular(...)block.Represents a single action which can be executed following the successful match of a lexer rule. -
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.codegen.modelClassDescriptionThe following images show the relation of states and
ATNState.transitionsfor various grammar constructs. -
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.runtimeClassDescriptionRepresents a set of ATN configurations (see
ATNConfig).The following images show the relation of states andATNState.transitionsfor various grammar constructs.This class provides access to specific and aggregate statistics gathered during profiling of a parser.Immutable snapshot of DFA simulation position forParserATNSimulator.execDFA(org.antlr.v4.runtime.dfa.DFA, org.antlr.v4.runtime.TokenStream, int, org.antlr.v4.runtime.atn.SimulatorState)/ParserATNSimulator.execATN(org.antlr.v4.runtime.dfa.DFA, org.antlr.v4.runtime.TokenStream, int, org.antlr.v4.runtime.atn.SimulatorState).An ATN transition between any two ATN states. -
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.runtime.atnClassDescriptionThis class represents profiling event information for an ambiguity.Represents a location with context in an ATN.This class was derived from
ATNConfigpurely as a memory optimization.Represents a set of ATN configurations (seeATNConfig).The following images show the relation of states andATNState.transitionsfor various grammar constructs.Represents the type of recognizer an ATN applies to.Terminal node of a simple(a|b|c)block.The start of a regular(...)block.Package-privateint → Vmap with O(1) emptyClearableIntObjectHashMap.clear().Package-privatelong → Vopen-addressed map with O(1) emptyClearableLongObjectHashMap.clear(), used as the ATN config merge index.Thread-safeint → intmap for rare-write / frequent-read workloads.This class stores information about a configuration conflict.This class represents profiling event information for a context sensitivity.This is the base class for gathering detailed information about prediction events which occur during parsing.This class contains profiling gathered for a particular decision.Epsilon-closure engine for adaptive LL(*) prediction.This class represents profiling event information for a syntax error identified during prediction.Represents a single action which can be executed following the successful match of a lexer rule.Represents an executor for a sequence of lexer actions which traversed during the matching operation of a lexer rule (token).Represents the serialization type of aLexerAction.ATN interpreter for lexers.When we hit an accept state in either the DFA or the ATN, we have to notify the character stream to start buffering characters viaIntStream.mark()and record the current state.Implements themorelexer action by callingLexer.more().Implements thepopModelexer action by callingLexer.popMode().Implements theskiplexer action by callingLexer.skip().This class represents profiling event information for tracking the lookahead depth required in order to make a prediction.The embodiment of the adaptive LL(*), ALL(*), parsing strategy.Decision state forA+and(A|B)+.This class represents profiling event information for semantic predicate evaluations which occur during prediction.TODO: this is old comment: A tree of semantic predicates from the grammar AST if label==SEMPRED.Used to cachePredictionContextobjects.Shared equality/hash contract for (PredictionContext,int) keys used byPredictionContextCache.getChild(org.antlr.v4.runtime.atn.PredictionContext, int).Mutable probe forPredictionContextCache.getChild(org.antlr.v4.runtime.atn.PredictionContext, int)lookups.Immutable identity-based commutative key for a pair ofPredictionContextinstances.Shared equality/hash contract for identity-based commutative pairs ofPredictionContextused byPredictionContextCache.join(org.antlr.v4.runtime.atn.PredictionContext, org.antlr.v4.runtime.atn.PredictionContext)and byArrayPredictionContextequality.This enumeration defines the prediction modes available in ANTLR 4 along with utility methods for analyzing configuration sets for conflicts and/or ambiguities.Package-private reach / target-state engine for adaptive LL(*) prediction.Random-access view of ATN configurations for a singleParserATNSimulator.computeTargetState(org.antlr.v4.runtime.dfa.DFA, org.antlr.v4.runtime.dfa.DFAState, org.antlr.v4.runtime.ParserRuleContext, int, boolean, org.antlr.v4.runtime.atn.PredictionContextCache)invocation.Lazily allocated, capacity-preserving scratchATNConfigSetfor prediction and lexing hot paths.The last node in the ATN for a rule, unless that rule is the start symbol.A tree structure used to record the semantic context in which an ATN configuration is valid.This is the base class for semantic context "operators", which operate on a collection of semantic context "operands".A transition containing a set of values.Immutable snapshot of DFA simulation position forParserATNSimulator.execDFA(org.antlr.v4.runtime.dfa.DFA, org.antlr.v4.runtime.TokenStream, int, org.antlr.v4.runtime.atn.SimulatorState)/ParserATNSimulator.execATN(org.antlr.v4.runtime.dfa.DFA, org.antlr.v4.runtime.TokenStream, int, org.antlr.v4.runtime.atn.SimulatorState).The Tokens rule start state linking to each lexer rule start stateAn ATN transition between any two ATN states. -
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.runtime.dfaClassDescriptionRepresents a set of ATN configurations (see
ATNConfig).The following images show the relation of states andATNState.transitionsfor various grammar constructs.Represents an executor for a sequence of lexer actions which traversed during the matching operation of a lexer rule (token).A tree structure used to record the semantic context in which an ATN configuration is valid. -
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.runtime.misc
-
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.runtime.tree.xpath
-
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.test.runtime.java.api
-
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.test.runtime.java.api.perfClassDescriptionRepresents a location with context in an ATN.ATN interpreter for lexers.Lexer configuration set that merges configs only when they are fully equal (including prediction context and lexer actions), preserving first-match preference order among alternatives.
-
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.toolClassDescriptionThe following images show the relation of states and
ATNState.transitionsfor various grammar constructs.A tree structure used to record the semantic context in which an ATN configuration is valid.This is the base class for semantic context "operators", which operate on a collection of semantic context "operands". -
Classes in org.antlr.v4.runtime.atn used by org.antlr.v4.tool.astClassDescriptionThe following images show the relation of states and
ATNState.transitionsfor various grammar constructs.