A B C D E F G H I J K L M N O P R S T U V W X _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- a - Variable in class org.antlr.v4.runtime.misc.Interval
- a - Variable in class org.antlr.v4.runtime.misc.Pair
- a - Variable in class org.antlr.v4.runtime.misc.Triple
- AbstractConfigHashSet(AbstractEqualityComparator<? super ATNConfig>) - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet.AbstractConfigHashSet
- AbstractConfigHashSet(AbstractEqualityComparator<? super ATNConfig>, int, int) - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet.AbstractConfigHashSet
- AbstractEqualityComparator<T> - Class in org.antlr.v4.runtime.misc
-
This abstract base class is provided so performance-critical applications can use virtual- instead of interface-dispatch when calling comparator methods.
- AbstractEqualityComparator() - Constructor for class org.antlr.v4.runtime.misc.AbstractEqualityComparator
- AbstractParseTreeVisitor<T> - Class in org.antlr.v4.runtime.tree
- AbstractParseTreeVisitor() - Constructor for class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
- AbstractPredicateTransition - Class in org.antlr.v4.runtime.atn
- AbstractPredicateTransition(ATNState) - Constructor for class org.antlr.v4.runtime.atn.AbstractPredicateTransition
- accept(CharStream, LexerActionExecutor, int, int, int, int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- accept(ParseTreeVisitor<? extends T>) - Method in class org.antlr.v4.runtime.RuleContext
- accept(ParseTreeVisitor<? extends T>) - Method in class org.antlr.v4.runtime.tree.ErrorNodeImpl
- accept(ParseTreeVisitor<? extends T>) - Method in interface org.antlr.v4.runtime.tree.ParseTree
-
The
ParseTreeVisitor
needs a double dispatch method. - accept(ParseTreeVisitor<? extends T>) - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- action(RuleContext, int, int) - Method in class org.antlr.v4.runtime.Recognizer
- ACTION - Static variable in class org.antlr.v4.runtime.atn.Transition
- actionIndex - Variable in class org.antlr.v4.runtime.atn.ActionTransition
- actionTransition(ATNConfig, ActionTransition) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- ActionTransition - Class in org.antlr.v4.runtime.atn
- ActionTransition(ATNState, int) - Constructor for class org.antlr.v4.runtime.atn.ActionTransition
- ActionTransition(ATNState, int, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.ActionTransition
- adaptivePredict(TokenStream, int, ParserRuleContext) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- adaptivePredict(TokenStream, int, ParserRuleContext) - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- add(int) - Method in class org.antlr.v4.runtime.misc.IntegerList
- add(int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Add a single element to the set.
- add(int) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Adds the specified value to the current set.
- add(int) - Method in class org.antlr.v4.runtime.UnbufferedCharStream
- add(int, int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Add interval; i.e., add all integers from a to b to set.
- add(ATNConfig) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- add(ATNConfig, DoubleKeyMap<PredictionContext, PredictionContext, PredictionContext>) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
Adding a new config means merging contexts with existing configs for
(s, i, pi, _)
, wheres
is theATNConfig.state
,i
is theATNConfig.alt
, andpi
is theATNConfig.semanticContext
. - add(PredictionContext) - Method in class org.antlr.v4.runtime.atn.PredictionContextCache
-
Add a context to the cache and return it.
- add(Interval) - Method in class org.antlr.v4.runtime.misc.IntervalSet
- add(Token) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- add(T) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- add(T) - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
-
Add a value to list; keep in hashtable for consistency also; Key is object itself.
- addAll(int[]) - Method in class org.antlr.v4.runtime.misc.IntegerList
- addAll(Collection<? extends ATNConfig>) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- addAll(Collection<? extends T>) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- addAll(Collection<Integer>) - Method in class org.antlr.v4.runtime.misc.IntegerList
- addAll(IntegerList) - Method in class org.antlr.v4.runtime.misc.IntegerList
- addAll(IntSet) - Method in class org.antlr.v4.runtime.misc.IntervalSet
- addAll(IntSet) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Modify the current
IntSet
object to contain all elements that are present in itself, the specifiedset
, or both. - addAnyChild(T) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
Add a parse tree node to this as a child.
- addChild(RuleContext) - Method in class org.antlr.v4.runtime.ParserRuleContext
- addChild(Token) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
Deprecated.
- addChild(TerminalNode) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
Add a token leaf node child and force its parent to be this node.
- addContextToParseTree() - Method in class org.antlr.v4.runtime.Parser
- addDecisionOverride(int, int, int) - Method in class org.antlr.v4.runtime.ParserInterpreter
-
Override this parser interpreters normal decision-making process at a particular decision and input token index.
- addDFAEdge(DFA, DFAState, int, DFAState) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Add an edge to the DFA, if possible.
- addDFAEdge(DFAState, int, ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- addDFAEdge(DFAState, int, DFAState) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- addDFAState(ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
Add a new DFA state if there isn't one with this set of configurations already.
- addDFAState(DFA, DFAState) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Add state
D
to the DFA if it is not already present, and return the actual instance stored in the DFA. - addErrorListener(ANTLRErrorListener) - Method in class org.antlr.v4.runtime.Recognizer
- addErrorNode(Token) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
Deprecated.
- addErrorNode(ErrorNode) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
Add an error node child and force its parent to be this node.
- addParseListener(ParseTreeListener) - Method in class org.antlr.v4.runtime.Parser
-
Registers
listener
to receive events during the parsing process. - addState(ATNState) - Method in class org.antlr.v4.runtime.atn.ATN
- addTransition(int, Transition) - Method in class org.antlr.v4.runtime.atn.ATNState
- addTransition(Transition) - Method in class org.antlr.v4.runtime.atn.ATNState
- adjacent(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Are two intervals adjacent such as 0..41 and 42..42?
- adjustSeekIndex(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Allowed derived classes to modify the behavior of operations which change the current stream position by adjusting the target token index of a seek operation.
- adjustSeekIndex(int) - Method in class org.antlr.v4.runtime.CommonTokenStream
- aggregateResult(T, T) - Method in class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
-
Aggregates the results of visiting multiple children of a node.
- allConfigsInRuleStopStates(ATNConfigSet) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Checks if all configurations in
configs
are in aRuleStopState
. - allSubsetsConflict(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Determines if every alternative subset in
altsets
contains more than one alternative. - allSubsetsEqual(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Determines if every alternative subset in
altsets
is equivalent. - alt - Variable in class org.antlr.v4.runtime.atn.ATNConfig
-
What alt (or lexer rule) is predicted by this configuration
- alt - Variable in class org.antlr.v4.runtime.dfa.DFAState.PredPrediction
- altNum - Variable in class org.antlr.v4.runtime.RuleContextWithAltNum
- ambigAlts - Variable in class org.antlr.v4.runtime.atn.AmbiguityInfo
-
The set of alternative numbers for this decision event that lead to a valid parse.
- ambiguities - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
A collection of
AmbiguityInfo
instances describing the ambiguities encountered during LL prediction for this decision. - AmbiguityInfo - Class in org.antlr.v4.runtime.atn
-
This class represents profiling event information for an ambiguity.
- AmbiguityInfo(int, ATNConfigSet, BitSet, TokenStream, int, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.AmbiguityInfo
-
Constructs a new instance of the
AmbiguityInfo
class with the specified detailed ambiguity information. - and(SemanticContext, SemanticContext) - Static method in class org.antlr.v4.runtime.atn.SemanticContext
- and(IntSet) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Return a new
IntSet
object containing all elements that are present in both the current set and the specified seta
. - and(IntSet) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Return a new
IntSet
object containing all elements that are present in both the current set and the specified seta
. - AND(SemanticContext, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.AND
- annotations - Variable in class org.antlr.v4.runtime.tree.ParseTreeProperty
- ANTLRErrorListener - Interface in org.antlr.v4.runtime
-
How to emit recognition errors.
- ANTLRErrorStrategy - Interface in org.antlr.v4.runtime
-
The interface for defining strategies to deal with syntax errors encountered during a parse by ANTLR-generated parsers.
- ANTLRFileStream - Class in org.antlr.v4.runtime
-
Deprecated.as of 4.7 Please use
CharStreams
interface. - ANTLRFileStream(String) - Constructor for class org.antlr.v4.runtime.ANTLRFileStream
-
Deprecated.
- ANTLRFileStream(String, String) - Constructor for class org.antlr.v4.runtime.ANTLRFileStream
-
Deprecated.
- ANTLRInputStream - Class in org.antlr.v4.runtime
-
Deprecated.as of 4.7 Please use
CharStreams
interface. - ANTLRInputStream() - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- ANTLRInputStream(char[], int) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.This is the preferred constructor for strings as no data is copied
- ANTLRInputStream(InputStream) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- ANTLRInputStream(InputStream, int) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- ANTLRInputStream(InputStream, int, int) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- ANTLRInputStream(Reader) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- ANTLRInputStream(Reader, int) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- ANTLRInputStream(Reader, int, int) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- ANTLRInputStream(String) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.Copy data in string to a local char array
- ANYWHERE - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- append(CharBuffer) - Method in class org.antlr.v4.runtime.CodePointBuffer.Builder
- append(LexerActionExecutor, LexerAction) - Static method in class org.antlr.v4.runtime.atn.LexerActionExecutor
-
Creates a
LexerActionExecutor
which executes the actions for the inputlexerActionExecutor
followed by a specifiedlexerAction
. - applyPrecedenceFilter(ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
This method transforms the start state computed by
ParserATNSimulator.computeStartState(org.antlr.v4.runtime.atn.ATNState, org.antlr.v4.runtime.RuleContext, boolean)
to the special start state used by a precedence DFA for a particular precedence value. - Array2DHashSet<T> - Class in org.antlr.v4.runtime.misc
-
Set
implementation with closed hashing (open addressing). - Array2DHashSet() - Constructor for class org.antlr.v4.runtime.misc.Array2DHashSet
- Array2DHashSet(AbstractEqualityComparator<? super T>) - Constructor for class org.antlr.v4.runtime.misc.Array2DHashSet
- Array2DHashSet(AbstractEqualityComparator<? super T>, int, int) - Constructor for class org.antlr.v4.runtime.misc.Array2DHashSet
- Array2DHashSet.SetIterator - Class in org.antlr.v4.runtime.misc
- ArrayPredictionContext - Class in org.antlr.v4.runtime.atn
- ArrayPredictionContext(PredictionContext[], int[]) - Constructor for class org.antlr.v4.runtime.atn.ArrayPredictionContext
- ArrayPredictionContext(SingletonPredictionContext) - Constructor for class org.antlr.v4.runtime.atn.ArrayPredictionContext
- asElementType(Object) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet.AbstractConfigHashSet
- asElementType(Object) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
Return
o
as an instance of the element typeT
. - atn - Variable in class org.antlr.v4.runtime.atn.ATNSerializer
- atn - Variable in class org.antlr.v4.runtime.atn.ATNSimulator
- atn - Variable in class org.antlr.v4.runtime.atn.ATNState
-
Which ATN are we in?
- atn - Variable in class org.antlr.v4.runtime.atn.LL1Analyzer
- atn - Variable in class org.antlr.v4.runtime.LexerInterpreter
- atn - Variable in class org.antlr.v4.runtime.ParserInterpreter
- ATN - Class in org.antlr.v4.runtime.atn
- ATN(ATNType, int) - Constructor for class org.antlr.v4.runtime.atn.ATN
-
Used for runtime deserialization of ATNs from strings
- ATNConfig - Class in org.antlr.v4.runtime.atn
-
A tuple: (ATN state, predicted alt, syntactic, semantic context).
- ATNConfig(ATNConfig) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
- ATNConfig(ATNConfig, ATNState) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
- ATNConfig(ATNConfig, ATNState, PredictionContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
- ATNConfig(ATNConfig, ATNState, PredictionContext, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
- ATNConfig(ATNConfig, ATNState, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
- ATNConfig(ATNConfig, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
- ATNConfig(ATNState, int, PredictionContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
- ATNConfig(ATNState, int, PredictionContext, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
- ATNConfigSet - Class in org.antlr.v4.runtime.atn
- ATNConfigSet() - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet
- ATNConfigSet(boolean) - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet
- ATNConfigSet(ATNConfigSet) - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet
- ATNConfigSet.AbstractConfigHashSet - Class in org.antlr.v4.runtime.atn
- ATNConfigSet.ConfigEqualityComparator - Class in org.antlr.v4.runtime.atn
- ATNConfigSet.ConfigHashSet - Class in org.antlr.v4.runtime.atn
-
The reason that we need this is because we don't want the hash map to use the standard hash code and equals.
- ATNDeserializationOptions - Class in org.antlr.v4.runtime.atn
- ATNDeserializationOptions() - Constructor for class org.antlr.v4.runtime.atn.ATNDeserializationOptions
- ATNDeserializationOptions(ATNDeserializationOptions) - Constructor for class org.antlr.v4.runtime.atn.ATNDeserializationOptions
- ATNDeserializer - Class in org.antlr.v4.runtime.atn
-
Deserialize ATNs for JavaTarget; it's complicated by the fact that java requires that we serialize the list of integers as 16 bit characters in a string.
- ATNDeserializer() - Constructor for class org.antlr.v4.runtime.atn.ATNDeserializer
- ATNDeserializer(ATNDeserializationOptions) - Constructor for class org.antlr.v4.runtime.atn.ATNDeserializer
- ATNSerializer - Class in org.antlr.v4.runtime.atn
-
This class represents a target neutral serializer for ATNs.
- ATNSerializer(ATN) - Constructor for class org.antlr.v4.runtime.atn.ATNSerializer
- atnSimulator - Variable in class org.antlr.v4.runtime.atn.ParseInfo
- ATNSimulator - Class in org.antlr.v4.runtime.atn
- ATNSimulator(ATN, PredictionContextCache) - Constructor for class org.antlr.v4.runtime.atn.ATNSimulator
- atnStartState - Variable in class org.antlr.v4.runtime.dfa.DFA
-
From which ATN state did we create this DFA?
- ATNState - Class in org.antlr.v4.runtime.atn
-
The following images show the relation of states and
ATNState.transitions
for various grammar constructs. - ATNState() - Constructor for class org.antlr.v4.runtime.atn.ATNState
- ATNType - Enum in org.antlr.v4.runtime.atn
-
Represents the type of recognizer an ATN applies to.
- ATOM - Static variable in class org.antlr.v4.runtime.atn.Transition
- AtomTransition - Class in org.antlr.v4.runtime.atn
-
TODO: make all transitions sets? no, should remove set edges
- AtomTransition(ATNState, int) - Constructor for class org.antlr.v4.runtime.atn.AtomTransition
B
- b - Variable in class org.antlr.v4.runtime.misc.Interval
- b - Variable in class org.antlr.v4.runtime.misc.Pair
- b - Variable in class org.antlr.v4.runtime.misc.Triple
- BailErrorStrategy - Class in org.antlr.v4.runtime
-
This implementation of
ANTLRErrorStrategy
responds to syntax errors by immediately canceling the parse operation with aParseCancellationException
. - BailErrorStrategy() - Constructor for class org.antlr.v4.runtime.BailErrorStrategy
- BANG - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- BaseErrorListener - Class in org.antlr.v4.runtime
-
Provides an empty default implementation of
ANTLRErrorListener
. - BaseErrorListener() - Constructor for class org.antlr.v4.runtime.BaseErrorListener
- BASIC - Static variable in class org.antlr.v4.runtime.atn.ATNState
- BasicBlockStartState - Class in org.antlr.v4.runtime.atn
- BasicBlockStartState() - Constructor for class org.antlr.v4.runtime.atn.BasicBlockStartState
- BasicState - Class in org.antlr.v4.runtime.atn
- BasicState() - Constructor for class org.antlr.v4.runtime.atn.BasicState
- beginErrorCondition(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method is called to enter error recovery mode when a recognition exception is reported.
- binarySearch(int) - Method in class org.antlr.v4.runtime.misc.IntegerList
- binarySearch(int, int, int) - Method in class org.antlr.v4.runtime.misc.IntegerList
- BLOCK_END - Static variable in class org.antlr.v4.runtime.atn.ATNState
- BLOCK_START - Static variable in class org.antlr.v4.runtime.atn.ATNState
- BlockEndState - Class in org.antlr.v4.runtime.atn
-
Terminal node of a simple
(a|b|c)
block. - BlockEndState() - Constructor for class org.antlr.v4.runtime.atn.BlockEndState
- BlockStartState - Class in org.antlr.v4.runtime.atn
-
The start of a regular
(...)
block. - BlockStartState() - Constructor for class org.antlr.v4.runtime.atn.BlockStartState
- buckets - Variable in class org.antlr.v4.runtime.misc.Array2DHashSet
- buckets - Variable in class org.antlr.v4.runtime.misc.FlexibleHashMap
- BufferedTokenStream - Class in org.antlr.v4.runtime
-
This implementation of
TokenStream
loads tokens from aTokenSource
on-demand, and places the tokens in a buffer to provide access to any previous token by index. - BufferedTokenStream(TokenSource) - Constructor for class org.antlr.v4.runtime.BufferedTokenStream
- build() - Method in class org.antlr.v4.runtime.CodePointBuffer.Builder
- builder(int) - Static method in class org.antlr.v4.runtime.CodePointBuffer
- BYTE - org.antlr.v4.runtime.CodePointBuffer.Type
C
- c - Variable in class org.antlr.v4.runtime.misc.Triple
- cache - Variable in class org.antlr.v4.runtime.atn.PredictionContextCache
- cachedHashCode - Variable in class org.antlr.v4.runtime.atn.PredictionContext
-
Stores the computed hash code of this
PredictionContext
. - calculateEmptyHashCode() - Static method in class org.antlr.v4.runtime.atn.PredictionContext
- calculateHashCode(PredictionContext[], int[]) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
- calculateHashCode(PredictionContext, int) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
- canDropLoopEntryEdgeInLeftRecursiveRule(ATNConfig) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Implements first-edge (loop entry) elimination as an optimization during closure operations.
- CannotInvokeStartRule(Throwable) - Constructor for exception org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher.CannotInvokeStartRule
- captureSimState(LexerATNSimulator.SimState, CharStream, DFAState) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- catOpText(Object, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- channel - Variable in class org.antlr.v4.runtime.CommonToken
-
This is the backing field for
CommonToken.getChannel()
andCommonToken.setChannel(int)
. - channel - Variable in class org.antlr.v4.runtime.CommonTokenStream
-
Specifies the channel to use for filtering tokens.
- CHANNEL - org.antlr.v4.runtime.atn.LexerActionType
-
The type of a
LexerChannelAction
action. - channelNames - Variable in class org.antlr.v4.runtime.LexerInterpreter
- CHAR - org.antlr.v4.runtime.CodePointBuffer.Type
- charPos - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator.SimState
- charPositionInLine - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
The index of the character relative to the beginning of the line 0..n-1
- charPositionInLine - Variable in class org.antlr.v4.runtime.CommonToken
-
This is the backing field for
CommonToken.getCharPositionInLine()
andCommonToken.setCharPositionInLine(int)
. - charPositionInLine - Variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- CharStream - Interface in org.antlr.v4.runtime
-
A source of characters for an ANTLR lexer.
- CharStreams - Class in org.antlr.v4.runtime
-
This class represents the primary interface for creating
CharStream
s from a variety of sources as of 4.7. - checkCondition(boolean) - Method in class org.antlr.v4.runtime.atn.ATNDeserializer
- checkCondition(boolean, String) - Method in class org.antlr.v4.runtime.atn.ATNDeserializer
- checkVersion(String, String) - Static method in class org.antlr.v4.runtime.RuntimeMetaData
-
This method provides the ability to detect mismatches between the version of ANTLR 4 used to generate a parser, the version of the ANTLR runtime a parser was compiled against, and the version of the ANTLR runtime which is currently executing.
- children - Variable in class org.antlr.v4.runtime.ParserRuleContext
-
If we are debugging or building a parse tree for a visitor, we need to track all of the tokens and rule invocations associated with this rule's context.
- clear() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- clear() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- clear() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- clear() - Method in class org.antlr.v4.runtime.misc.IntegerList
- clear() - Method in class org.antlr.v4.runtime.misc.IntervalSet
- clear() - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
- clearDFA() - Method in class org.antlr.v4.runtime.atn.ATNSimulator
-
Clear the DFA cache used by the current instance.
- clearDFA() - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- clearDFA() - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- clone() - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
- closure(ATNConfig, ATNConfigSet, Set<ATNConfig>, boolean, boolean, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- closure(CharStream, LexerATNConfig, ATNConfigSet, boolean, boolean, boolean) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
Since the alternatives within any lexer decision are ordered by preference, this method stops pursuing the closure as soon as an accept state is reached.
- closure_(ATNConfig, ATNConfigSet, Set<ATNConfig>, boolean, boolean, int, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Do the actual work of walking epsilon edges
- closureCheckingStopState(ATNConfig, ATNConfigSet, Set<ATNConfig>, boolean, boolean, int, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- CodePointBuffer - Class in org.antlr.v4.runtime
- CodePointBuffer.Builder - Class in org.antlr.v4.runtime
- CodePointBuffer.Type - Enum in org.antlr.v4.runtime
- CodePointCharStream - Class in org.antlr.v4.runtime
-
Alternative to
ANTLRInputStream
which treats the input as a series of Unicode code points, instead of a series of UTF-16 code units. - CodePointTransitions - Class in org.antlr.v4.runtime.atn
-
Utility class to create
AtomTransition
,RangeTransition
, andSetTransition
appropriately based on the range of the input. - CodePointTransitions() - Constructor for class org.antlr.v4.runtime.atn.CodePointTransitions
- combineCommonParents(PredictionContext[]) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
-
Make pass over all M
parents
; merge anyequals()
ones. - CommonToken - Class in org.antlr.v4.runtime
- CommonToken(int) - Constructor for class org.antlr.v4.runtime.CommonToken
-
Constructs a new
CommonToken
with the specified token type. - CommonToken(int, String) - Constructor for class org.antlr.v4.runtime.CommonToken
-
Constructs a new
CommonToken
with the specified token type and text. - CommonToken(Pair<TokenSource, CharStream>, int, int, int, int) - Constructor for class org.antlr.v4.runtime.CommonToken
- CommonToken(Token) - Constructor for class org.antlr.v4.runtime.CommonToken
-
Constructs a new
CommonToken
as a copy of anotherToken
. - CommonTokenFactory - Class in org.antlr.v4.runtime
-
This default implementation of
TokenFactory
createsCommonToken
objects. - CommonTokenFactory() - Constructor for class org.antlr.v4.runtime.CommonTokenFactory
- CommonTokenFactory(boolean) - Constructor for class org.antlr.v4.runtime.CommonTokenFactory
-
Constructs a
CommonTokenFactory
with the specified value forCommonTokenFactory.copyText
. - CommonTokenStream - Class in org.antlr.v4.runtime
-
This class extends
BufferedTokenStream
with functionality to filter token streams to tokens on a particular channel (tokens whereToken.getChannel()
returns a particular value). - CommonTokenStream(TokenSource) - Constructor for class org.antlr.v4.runtime.CommonTokenStream
-
Constructs a new
CommonTokenStream
using the specified token source and the default token channel (Token.DEFAULT_CHANNEL
). - CommonTokenStream(TokenSource, int) - Constructor for class org.antlr.v4.runtime.CommonTokenStream
-
Constructs a new
CommonTokenStream
using the specified token source and filtering tokens to the specified channel. - comparator - Variable in class org.antlr.v4.runtime.misc.Array2DHashSet
- comparator - Variable in class org.antlr.v4.runtime.misc.FlexibleHashMap
- compareTo(SemanticContext.PrecedencePredicate) - Method in class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
- compile(String, int) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
-
For repeated use of a tree pattern, compile it to a
ParseTreePattern
using this method. - compileParseTreePattern(String, int) - Method in class org.antlr.v4.runtime.Parser
-
The preferred method of getting a tree pattern.
- compileParseTreePattern(String, int, Lexer) - Method in class org.antlr.v4.runtime.Parser
-
The same as
Parser.compileParseTreePattern(String, int)
but specify aLexer
rather than trying to deduce it from this parser. - complement(int, int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
- complement(IntSet) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Return a new
IntSet
object containing all elements that are present inelements
but not present in the current set. - complement(IntSet) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Return a new
IntSet
object containing all elements that are present inelements
but not present in the current set. - COMPLETE_CHAR_SET - Static variable in class org.antlr.v4.runtime.misc.IntervalSet
- computeReachSet(ATNConfigSet, int, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- computeReachSet(ATNConfigSet, int, boolean) - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- computeStartState(ATNState, RuleContext, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- computeStartState(CharStream, ATNState) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- computeTargetState(CharStream, DFAState, int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
Compute a target state for an edge in the DFA, and attempt to add the computed state and corresponding edge to the DFA.
- computeTargetState(DFA, DFAState, int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Compute a target state for an edge in the DFA, and attempt to add the computed state and corresponding edge to the DFA.
- computeTargetState(DFA, DFAState, int) - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- ConfigHashSet() - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet.ConfigHashSet
- configLookup - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
-
All configs but hashed by (s, i, _, pi) not including context.
- configs - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
-
Track the elements as they are added to the set; supports get(i)
- configs - Variable in class org.antlr.v4.runtime.atn.DecisionEventInfo
-
The configuration set containing additional information relevant to the prediction state when the current event occurred, or
null
if no additional information is relevant or available. - configs - Variable in class org.antlr.v4.runtime.dfa.DFAState
- conflictingAltResolvedBySLL - Variable in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
-
At the point of LL failover, we record how SLL would resolve the conflict so that we can determine whether or not a decision / input pair is context-sensitive.
- conflictingAlts - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
-
Currently this is only used when we detect SLL conflict; this does not necessarily represent the ambiguous alternatives.
- ConsoleErrorListener - Class in org.antlr.v4.runtime
- ConsoleErrorListener() - Constructor for class org.antlr.v4.runtime.ConsoleErrorListener
- consume() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- consume() - Method in class org.antlr.v4.runtime.BufferedTokenStream
- consume() - Method in class org.antlr.v4.runtime.CodePointCharStream
- consume() - Method in interface org.antlr.v4.runtime.IntStream
-
Consumes the current symbol in the stream.
- consume() - Method in class org.antlr.v4.runtime.Parser
-
Consume and return the current symbol.
- consume() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- consume() - Method in class org.antlr.v4.runtime.UnbufferedCharStream
- consume() - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- consume(CharStream) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- consumeUntil(Parser, IntervalSet) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
Consume tokens until one matches the given token set.
- contains(int) - Method in class org.antlr.v4.runtime.misc.IntegerList
- contains(int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Returns
true
if the set contains the specified element. - contains(int) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Returns
true
if the set contains the specified element. - contains(Object) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- contains(Object) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- containsAll(Collection<?>) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- containsAll(Collection<?>) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- containsFast(ATNConfig) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- containsFast(T) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- containsKey(Object) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- containsValue(Object) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- context - Variable in class org.antlr.v4.runtime.atn.ATNConfig
-
The stack of invoking states leading to the rule/states associated with this config.
- contextSensitivities - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
A collection of
ContextSensitivityInfo
instances describing the context sensitivities encountered during LL prediction for this decision. - ContextSensitivityInfo - Class in org.antlr.v4.runtime.atn
-
This class represents profiling event information for a context sensitivity.
- ContextSensitivityInfo(int, ATNConfigSet, TokenStream, int, int) - Constructor for class org.antlr.v4.runtime.atn.ContextSensitivityInfo
-
Constructs a new instance of the
ContextSensitivityInfo
class with the specified detailed context sensitivity information. - copyFrom(ParserRuleContext) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
COPY a ctx (I'm deliberately not using copy constructor) to avoid confusion with creating node with parent.
- copyState(LexerATNSimulator) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- copyText - Variable in class org.antlr.v4.runtime.CommonTokenFactory
-
Indicates whether
CommonToken.setText(java.lang.String)
should be called after constructing tokens to explicitly set the text. - count(String, char) - Static method in class org.antlr.v4.runtime.misc.Utils
- create(int, String) - Method in class org.antlr.v4.runtime.CommonTokenFactory
- create(int, String) - Method in interface org.antlr.v4.runtime.TokenFactory
-
Generically useful
- create(PredictionContext, int) - Static method in class org.antlr.v4.runtime.atn.SingletonPredictionContext
- create(Pair<TokenSource, CharStream>, int, String, int, int, int, int, int) - Method in class org.antlr.v4.runtime.CommonTokenFactory
- create(Pair<TokenSource, CharStream>, int, String, int, int, int, int, int) - Method in interface org.antlr.v4.runtime.TokenFactory
-
This is the method used to create tokens in the lexer and in the error handling strategy.
- createBucket(int) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet.AbstractConfigHashSet
- createBucket(int) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
Return an array of
T
with lengthcapacity
. - createBuckets(int) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet.AbstractConfigHashSet
- createBuckets(int) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
Return an array of
T[]
with lengthcapacity
. - createErrorNode(ParserRuleContext, Token) - Method in class org.antlr.v4.runtime.Parser
-
How to create an error node, given a token, associated with a parent.
- createInterpreterRuleContext(ParserRuleContext, int, int) - Method in class org.antlr.v4.runtime.ParserInterpreter
-
Provide simple "factory" for InterpreterRuleContext's.
- creates - Static variable in class org.antlr.v4.runtime.misc.Interval
- createTerminalNode(ParserRuleContext, Token) - Method in class org.antlr.v4.runtime.Parser
-
How to create a token leaf node associated with a parent.
- createWithCodePoint(ATNState, int) - Static method in class org.antlr.v4.runtime.atn.CodePointTransitions
-
Return new
AtomTransition
- createWithCodePointRange(ATNState, int, int) - Static method in class org.antlr.v4.runtime.atn.CodePointTransitions
-
Return new
AtomTransition
if range represents one atom elseSetTransition
. - currentCharIndex - Variable in class org.antlr.v4.runtime.UnbufferedCharStream
-
Absolute character index.
- currentDecision - Variable in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- currentPrime - Variable in class org.antlr.v4.runtime.misc.Array2DHashSet
- currentPrime - Variable in class org.antlr.v4.runtime.misc.FlexibleHashMap
- currentState - Variable in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- currentTokenIndex - Variable in class org.antlr.v4.runtime.UnbufferedTokenStream
-
Absolute token index.
- CUSTOM - org.antlr.v4.runtime.atn.LexerActionType
-
The type of a
LexerCustomAction
action.
D
- data - Variable in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.The data being scanned
- data - Variable in class org.antlr.v4.runtime.UnbufferedCharStream
-
A moving window buffer of the data being scanned.
- debug - Static variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
- debug - Static variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
- debug_list_atn_decisions - Static variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
- decision - Variable in class org.antlr.v4.runtime.atn.DecisionEventInfo
-
The invoked decision number which this event is related to.
- decision - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
The decision number, which is an index into
ATN.decisionToState
. - decision - Variable in class org.antlr.v4.runtime.atn.DecisionState
- decision - Variable in class org.antlr.v4.runtime.dfa.DFA
- DecisionEventInfo - Class in org.antlr.v4.runtime.atn
-
This is the base class for gathering detailed information about prediction events which occur during parsing.
- DecisionEventInfo(int, ATNConfigSet, TokenStream, int, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.DecisionEventInfo
- DecisionInfo - Class in org.antlr.v4.runtime.atn
-
This class contains profiling gathered for a particular decision.
- DecisionInfo(int) - Constructor for class org.antlr.v4.runtime.atn.DecisionInfo
-
Constructs a new instance of the
DecisionInfo
class to contain statistics for a particular decision. - decisions - Variable in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- DecisionState - Class in org.antlr.v4.runtime.atn
- DecisionState() - Constructor for class org.antlr.v4.runtime.atn.DecisionState
- decisionToDFA - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
- decisionToDFA - Variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
- decisionToDFA - Variable in class org.antlr.v4.runtime.ParserInterpreter
- decisionToState - Variable in class org.antlr.v4.runtime.atn.ATN
-
Each subrule/rule is a decision point and we must track them so we can go back later and build DFA predictors for them.
- decodeIntsEncodedAs16BitWords(char[]) - Static method in class org.antlr.v4.runtime.atn.ATNDeserializer
- decodeIntsEncodedAs16BitWords(char[], boolean) - Static method in class org.antlr.v4.runtime.atn.ATNDeserializer
-
Convert a list of chars (16 uint) that represent a serialized and compressed list of ints for an ATN.
- DEFAULT - Static variable in class org.antlr.v4.runtime.CommonTokenFactory
-
The default
CommonTokenFactory
instance. - DEFAULT - Static variable in class org.antlr.v4.runtime.tree.ParseTreeWalker
- DEFAULT_CHANNEL - Static variable in interface org.antlr.v4.runtime.Token
-
All tokens go to the parser (unless skip() is called in that rule) on a particular "channel".
- DEFAULT_MODE - Static variable in class org.antlr.v4.runtime.Lexer
- DEFAULT_PROGRAM_NAME - Static variable in class org.antlr.v4.runtime.TokenStreamRewriter
- DEFAULT_TOKEN_CHANNEL - Static variable in class org.antlr.v4.runtime.Lexer
- DefaultErrorStrategy - Class in org.antlr.v4.runtime
-
This is the default implementation of
ANTLRErrorStrategy
used for error reporting and recovery in ANTLR parsers. - DefaultErrorStrategy() - Constructor for class org.antlr.v4.runtime.DefaultErrorStrategy
- defaultResult() - Method in class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
-
Gets the default value returned by visitor methods.
- defineDecisionState(DecisionState) - Method in class org.antlr.v4.runtime.atn.ATN
- delete(int) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- delete(int, int) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- delete(String, int, int) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- delete(String, Token, Token) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- delete(Token) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- delete(Token, Token) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- deleteProgram() - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- deleteProgram(String) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
Reset the program so that no instructions exist
- depth() - Method in class org.antlr.v4.runtime.RuleContext
- descendants(ParseTree) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Deprecated.
- deserialize(char[]) - Method in class org.antlr.v4.runtime.atn.ATNDeserializer
- deserialize(int[]) - Method in class org.antlr.v4.runtime.atn.ATNDeserializer
- DFA - Class in org.antlr.v4.runtime.dfa
- DFA(DecisionState) - Constructor for class org.antlr.v4.runtime.dfa.DFA
- DFA(DecisionState, int) - Constructor for class org.antlr.v4.runtime.dfa.DFA
- dfa_debug - Static variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
- dfa_debug - Static variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
- DFASerializer - Class in org.antlr.v4.runtime.dfa
-
A DFA walker that knows how to dump them to serialized strings.
- DFASerializer(DFA, String[]) - Constructor for class org.antlr.v4.runtime.dfa.DFASerializer
-
Deprecated.Use
DFASerializer(DFA, Vocabulary)
instead. - DFASerializer(DFA, Vocabulary) - Constructor for class org.antlr.v4.runtime.dfa.DFASerializer
- dfaState - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator.SimState
- DFAState - Class in org.antlr.v4.runtime.dfa
-
A DFA state represents a set of possible ATN configurations.
- DFAState() - Constructor for class org.antlr.v4.runtime.dfa.DFAState
- DFAState(int) - Constructor for class org.antlr.v4.runtime.dfa.DFAState
- DFAState(ATNConfigSet) - Constructor for class org.antlr.v4.runtime.dfa.DFAState
- DFAState.PredPrediction - Class in org.antlr.v4.runtime.dfa
-
Map a predicate to a predicted alternative.
- DiagnosticErrorListener - Class in org.antlr.v4.runtime
-
This implementation of
ANTLRErrorListener
can be used to identify certain potential correctness and performance problems in grammars. - DiagnosticErrorListener() - Constructor for class org.antlr.v4.runtime.DiagnosticErrorListener
-
Initializes a new instance of
DiagnosticErrorListener
which only reports exact ambiguities. - DiagnosticErrorListener(boolean) - Constructor for class org.antlr.v4.runtime.DiagnosticErrorListener
-
Initializes a new instance of
DiagnosticErrorListener
, specifying whether all ambiguities or only exact ambiguities are reported. - differenceNotProperlyContained(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Return the interval with elements from this not in other; other must not be totally enclosed (properly contained) within this, which would result in two disjoint intervals instead of the single one returned by this method.
- dipsIntoOuterContext - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
- disjoint(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Are both ranges disjoint? I.e., no overlap?
- DoubleKeyMap<Key1,Key2,Value> - Class in org.antlr.v4.runtime.misc
-
Sometimes we need to map a key to a value but key is two pieces of data.
- DoubleKeyMap() - Constructor for class org.antlr.v4.runtime.misc.DoubleKeyMap
- dumpDeadEndConfigs(NoViableAltException) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Used for debugging in adaptivePredict around execATN but I cut it out for clarity now that alg.
- dumpDFA() - Method in class org.antlr.v4.runtime.Parser
-
For debugging and other purposes.
E
- edgeFactory(ATN, int, int, int, int, int, int, List<IntervalSet>) - Method in class org.antlr.v4.runtime.atn.ATNDeserializer
- edges - Variable in class org.antlr.v4.runtime.dfa.DFAState
-
edges[symbol]
points to target of symbol. - elementName(String[], int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Deprecated.Use
IntervalSet.elementName(Vocabulary, int)
instead. - elementName(Vocabulary, int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
- elements - Variable in class org.antlr.v4.runtime.misc.OrderedHashSet
-
Track the elements as they are added to the set
- elements - Variable in class org.antlr.v4.runtime.tree.xpath.XPath
- elements() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
Return a List holding list of configs
- elements() - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
-
Return the List holding list of table elements.
- emit() - Method in class org.antlr.v4.runtime.Lexer
-
The standard method called to automatically emit a token at the outermost lexical rule.
- emit(Token) - Method in class org.antlr.v4.runtime.Lexer
-
By default does not support multiple emits per nextToken invocation for efficiency reasons.
- emitEOF() - Method in class org.antlr.v4.runtime.Lexer
- EMPTY - Static variable in class org.antlr.v4.runtime.atn.PredictionContext
-
Represents
$
in local context prediction, which means wildcard. - EMPTY - Static variable in class org.antlr.v4.runtime.RuleContext
- EMPTY_RETURN_STATE - Static variable in class org.antlr.v4.runtime.atn.PredictionContext
-
Represents
$
in an array in full context mode, when$
doesn't mean wildcard:$ + x = [$,x]
. - EMPTY_SET - Static variable in class org.antlr.v4.runtime.misc.IntervalSet
- EMPTY_SOURCE - Static variable in class org.antlr.v4.runtime.CommonToken
-
An empty
Pair
which is used as the default value ofCommonToken.source
for tokens that do not have a source. - EMPTY_VOCABULARY - Static variable in class org.antlr.v4.runtime.VocabularyImpl
-
Gets an empty
Vocabulary
instance. - EmptyPredictionContext - Class in org.antlr.v4.runtime.atn
- EmptyPredictionContext() - Constructor for class org.antlr.v4.runtime.atn.EmptyPredictionContext
- encodeIntsWith16BitWords(IntegerList) - Static method in class org.antlr.v4.runtime.atn.ATNDeserializer
-
Given a list of integers representing a serialized ATN, encode values too large to fit into 15 bits as two 16bit values.
- endErrorCondition(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method is called to leave error recovery mode after recovering from a recognition exception.
- endState - Variable in class org.antlr.v4.runtime.atn.BlockStartState
- ensureRemaining(int) - Method in class org.antlr.v4.runtime.CodePointBuffer.Builder
- enterEveryRule(ParserRuleContext) - Method in class org.antlr.v4.runtime.Parser.TraceListener
- enterEveryRule(ParserRuleContext) - Method in class org.antlr.v4.runtime.Parser.TrimToSizeListener
- enterEveryRule(ParserRuleContext) - Method in interface org.antlr.v4.runtime.tree.ParseTreeListener
- enterOuterAlt(ParserRuleContext, int) - Method in class org.antlr.v4.runtime.Parser
- enterRecursionRule(ParserRuleContext, int) - Method in class org.antlr.v4.runtime.Parser
-
Deprecated.
- enterRecursionRule(ParserRuleContext, int, int, int) - Method in class org.antlr.v4.runtime.Parser
- enterRecursionRule(ParserRuleContext, int, int, int) - Method in class org.antlr.v4.runtime.ParserInterpreter
- enterRule(ParserRuleContext, int, int) - Method in class org.antlr.v4.runtime.Parser
-
Always called by generated parsers upon entry to a rule.
- enterRule(ParseTreeListener) - Method in class org.antlr.v4.runtime.ParserRuleContext
- enterRule(ParseTreeListener, RuleNode) - Method in class org.antlr.v4.runtime.tree.ParseTreeWalker
-
Enters a grammar rule by first triggering the generic event
ParseTreeListener.enterEveryRule(org.antlr.v4.runtime.ParserRuleContext)
then by triggering the event specific to the given parse tree node - Entry(K, V) - Constructor for class org.antlr.v4.runtime.misc.FlexibleHashMap.Entry
- entrySet() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- EOF - Static variable in interface org.antlr.v4.runtime.IntStream
-
The value returned by
LA()
when the end of the stream is reached. - EOF - Static variable in class org.antlr.v4.runtime.Recognizer
- EOF - Static variable in interface org.antlr.v4.runtime.Token
- eofToken - Variable in class org.antlr.v4.runtime.ListTokenSource
-
This field caches the EOF token for the token source.
- EPSILON - Static variable in class org.antlr.v4.runtime.atn.Transition
- EPSILON - Static variable in interface org.antlr.v4.runtime.Token
-
During lookahead operations, this "token" signifies we hit rule end ATN state and did not follow it despite needing to.
- epsilonOnlyTransitions - Variable in class org.antlr.v4.runtime.atn.ATNState
- EpsilonTransition - Class in org.antlr.v4.runtime.atn
- EpsilonTransition(ATNState) - Constructor for class org.antlr.v4.runtime.atn.EpsilonTransition
- EpsilonTransition(ATNState, int) - Constructor for class org.antlr.v4.runtime.atn.EpsilonTransition
- EqualityComparator<T> - Interface in org.antlr.v4.runtime.misc
-
This interface provides an abstract concept of object equality independent of
Object.equals(java.lang.Object)
(object equality) and the==
operator (reference equality). - equals(Object) - Method in class org.antlr.v4.runtime.atn.ArrayPredictionContext
- equals(Object) - Method in class org.antlr.v4.runtime.atn.ATNConfig
-
An ATN configuration is equal to another if both have the same state, they predict the same alternative, and syntactic/semantic contexts are the same.
- equals(Object) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- equals(Object) - Method in class org.antlr.v4.runtime.atn.ATNState
- equals(Object) - Method in class org.antlr.v4.runtime.atn.EmptyPredictionContext
- equals(Object) - Method in class org.antlr.v4.runtime.atn.LexerActionExecutor
- equals(Object) - Method in class org.antlr.v4.runtime.atn.LexerChannelAction
- equals(Object) - Method in class org.antlr.v4.runtime.atn.LexerCustomAction
- equals(Object) - Method in class org.antlr.v4.runtime.atn.LexerIndexedCustomAction
- equals(Object) - Method in class org.antlr.v4.runtime.atn.LexerModeAction
- equals(Object) - Method in class org.antlr.v4.runtime.atn.LexerMoreAction
- equals(Object) - Method in class org.antlr.v4.runtime.atn.LexerPopModeAction
- equals(Object) - Method in class org.antlr.v4.runtime.atn.LexerPushModeAction
- equals(Object) - Method in class org.antlr.v4.runtime.atn.LexerSkipAction
- equals(Object) - Method in class org.antlr.v4.runtime.atn.LexerTypeAction
- equals(Object) - Method in class org.antlr.v4.runtime.atn.PredictionContext
- equals(Object) - Method in class org.antlr.v4.runtime.atn.SemanticContext.AND
- equals(Object) - Method in class org.antlr.v4.runtime.atn.SemanticContext.OR
- equals(Object) - Method in class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
- equals(Object) - Method in class org.antlr.v4.runtime.atn.SemanticContext.Predicate
- equals(Object) - Method in class org.antlr.v4.runtime.atn.SingletonPredictionContext
- equals(Object) - Method in class org.antlr.v4.runtime.dfa.DFAState
-
Two
DFAState
instances are equal if their ATN configuration sets are the same. - equals(Object) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- equals(Object) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- equals(Object) - Method in class org.antlr.v4.runtime.misc.IntegerList
-
Compares the specified object with this list for equality.
- equals(Object) - Method in class org.antlr.v4.runtime.misc.Interval
- equals(Object) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Are two IntervalSets equal? Because all intervals are sorted and disjoint, equals is a simple linear walk over both lists to make sure they are the same.
- equals(Object) - Method in interface org.antlr.v4.runtime.misc.IntSet
- equals(Object) - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
- equals(Object) - Method in class org.antlr.v4.runtime.misc.Pair
- equals(Object) - Method in class org.antlr.v4.runtime.misc.Triple
- equals(Object, Object) - Method in class org.antlr.v4.runtime.misc.ObjectEqualityComparator
-
This method tests if two objects are equal.
- equals(ATNConfig) - Method in class org.antlr.v4.runtime.atn.ATNConfig
- equals(ATNConfig) - Method in class org.antlr.v4.runtime.atn.LexerATNConfig
- equals(ATNConfig, ATNConfig) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet.ConfigEqualityComparator
- equals(T, T) - Method in interface org.antlr.v4.runtime.misc.EqualityComparator
-
This method tests if two objects are equal.
- ERROR - Static variable in class org.antlr.v4.runtime.atn.ATNSimulator
-
Must distinguish between missing edge and edge we know leads nowhere
- ErrorInfo - Class in org.antlr.v4.runtime.atn
-
This class represents profiling event information for a syntax error identified during prediction.
- ErrorInfo(int, ATNConfigSet, TokenStream, int, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.ErrorInfo
-
Constructs a new instance of the
ErrorInfo
class with the specified detailed syntax error information. - ErrorNode - Interface in org.antlr.v4.runtime.tree
- ErrorNodeImpl - Class in org.antlr.v4.runtime.tree
-
Represents a token that was consumed during resynchronization rather than during a valid match operation.
- ErrorNodeImpl(Token) - Constructor for class org.antlr.v4.runtime.tree.ErrorNodeImpl
- errorRecoveryMode - Variable in class org.antlr.v4.runtime.DefaultErrorStrategy
-
Indicates whether the error strategy is currently "recovering from an error".
- errors - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
A collection of
ErrorInfo
instances describing the parse errors identified during calls toParserATNSimulator.adaptivePredict(org.antlr.v4.runtime.TokenStream, int, org.antlr.v4.runtime.ParserRuleContext)
for this decision. - escape - Variable in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
- escapeWhitespace(String, boolean) - Static method in class org.antlr.v4.runtime.misc.Utils
- escapeWSAndQuote(String) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
- eval(Recognizer<?, ?>, RuleContext) - Method in class org.antlr.v4.runtime.atn.SemanticContext.AND
-
For context independent predicates, we evaluate them without a local context (i.e., null context).
- eval(Recognizer<?, ?>, RuleContext) - Method in class org.antlr.v4.runtime.atn.SemanticContext
-
For context independent predicates, we evaluate them without a local context (i.e., null context).
- eval(Recognizer<?, ?>, RuleContext) - Method in class org.antlr.v4.runtime.atn.SemanticContext.OR
-
For context independent predicates, we evaluate them without a local context (i.e., null context).
- eval(Recognizer<?, ?>, RuleContext) - Method in class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
- eval(Recognizer<?, ?>, RuleContext) - Method in class org.antlr.v4.runtime.atn.SemanticContext.Predicate
- evalPrecedence(Recognizer<?, ?>, RuleContext) - Method in class org.antlr.v4.runtime.atn.SemanticContext.AND
- evalPrecedence(Recognizer<?, ?>, RuleContext) - Method in class org.antlr.v4.runtime.atn.SemanticContext
-
Evaluate the precedence predicates for the context and reduce the result.
- evalPrecedence(Recognizer<?, ?>, RuleContext) - Method in class org.antlr.v4.runtime.atn.SemanticContext.OR
- evalPrecedence(Recognizer<?, ?>, RuleContext) - Method in class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
- evalResult - Variable in class org.antlr.v4.runtime.atn.PredicateEvalInfo
-
The result of evaluating the semantic context
PredicateEvalInfo.semctx
. - evalSemanticContext(SemanticContext, ParserRuleContext, int, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Evaluate a semantic context within a specific parser context.
- evalSemanticContext(SemanticContext, ParserRuleContext, int, boolean) - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- evalSemanticContext(DFAState.PredPrediction[], ParserRuleContext, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Look through a list of predicate/alt pairs, returning alts for the pairs that win.
- evaluate(ParseTree) - Method in class org.antlr.v4.runtime.tree.xpath.XPath
-
Return a list of all nodes starting at
t
as root that satisfy the path. - evaluate(ParseTree) - Method in class org.antlr.v4.runtime.tree.xpath.XPathElement
-
Given tree rooted at
t
return all nodes matched by this path element. - evaluate(ParseTree) - Method in class org.antlr.v4.runtime.tree.xpath.XPathRuleAnywhereElement
- evaluate(ParseTree) - Method in class org.antlr.v4.runtime.tree.xpath.XPathRuleElement
- evaluate(ParseTree) - Method in class org.antlr.v4.runtime.tree.xpath.XPathTokenAnywhereElement
- evaluate(ParseTree) - Method in class org.antlr.v4.runtime.tree.xpath.XPathTokenElement
- evaluate(ParseTree) - Method in class org.antlr.v4.runtime.tree.xpath.XPathWildcardAnywhereElement
- evaluate(ParseTree) - Method in class org.antlr.v4.runtime.tree.xpath.XPathWildcardElement
- evaluatePredicate(CharStream, int, int, boolean) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
Evaluate a predicate specified in the lexer.
- exactOnly - Variable in class org.antlr.v4.runtime.DiagnosticErrorListener
-
When
true
, only exactly known ambiguities are reported. - exception - Variable in class org.antlr.v4.runtime.ParserRuleContext
-
The exception that forced this rule to return.
- execATN(CharStream, DFAState) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- execATN(DFA, DFAState, TokenStream, int, ParserRuleContext) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Performs ATN simulation to compute a predicted alternative based upon the remaining input, but also updates the DFA cache to avoid having to traverse the ATN again for the same input sequence.
- execATNWithFullContext(DFA, DFAState, ATNConfigSet, TokenStream, int, ParserRuleContext) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- execute(StringBuilder) - Method in class org.antlr.v4.runtime.TokenStreamRewriter.RewriteOperation
-
Execute the rewrite operation by possibly adding to the buffer.
- execute(Lexer) - Method in interface org.antlr.v4.runtime.atn.LexerAction
-
Execute the lexer action in the context of the specified
Lexer
. - execute(Lexer) - Method in class org.antlr.v4.runtime.atn.LexerChannelAction
-
Execute the lexer action in the context of the specified
Lexer
. - execute(Lexer) - Method in class org.antlr.v4.runtime.atn.LexerCustomAction
-
Execute the lexer action in the context of the specified
Lexer
. - execute(Lexer) - Method in class org.antlr.v4.runtime.atn.LexerIndexedCustomAction
-
Execute the lexer action in the context of the specified
Lexer
. - execute(Lexer) - Method in class org.antlr.v4.runtime.atn.LexerModeAction
-
Execute the lexer action in the context of the specified
Lexer
. - execute(Lexer) - Method in class org.antlr.v4.runtime.atn.LexerMoreAction
-
Execute the lexer action in the context of the specified
Lexer
. - execute(Lexer) - Method in class org.antlr.v4.runtime.atn.LexerPopModeAction
-
Execute the lexer action in the context of the specified
Lexer
. - execute(Lexer) - Method in class org.antlr.v4.runtime.atn.LexerPushModeAction
-
Execute the lexer action in the context of the specified
Lexer
. - execute(Lexer) - Method in class org.antlr.v4.runtime.atn.LexerSkipAction
-
Execute the lexer action in the context of the specified
Lexer
. - execute(Lexer) - Method in class org.antlr.v4.runtime.atn.LexerTypeAction
-
Execute the lexer action in the context of the specified
Lexer
. - execute(Lexer, CharStream, int) - Method in class org.antlr.v4.runtime.atn.LexerActionExecutor
-
Execute the actions encapsulated by this executor within the context of a particular
Lexer
. - exitEveryRule(ParserRuleContext) - Method in class org.antlr.v4.runtime.Parser.TraceListener
- exitEveryRule(ParserRuleContext) - Method in class org.antlr.v4.runtime.Parser.TrimToSizeListener
- exitEveryRule(ParserRuleContext) - Method in interface org.antlr.v4.runtime.tree.ParseTreeListener
- exitRule() - Method in class org.antlr.v4.runtime.Parser
- exitRule(ParseTreeListener) - Method in class org.antlr.v4.runtime.ParserRuleContext
- exitRule(ParseTreeListener, RuleNode) - Method in class org.antlr.v4.runtime.tree.ParseTreeWalker
-
Exits a grammar rule by first triggering the event specific to the given parse tree node then by triggering the generic event
ParseTreeListener.exitEveryRule(org.antlr.v4.runtime.ParserRuleContext)
- expand() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- expand() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- expandTabs(String, int) - Static method in class org.antlr.v4.runtime.misc.Utils
F
- FailedPredicateException - Exception in org.antlr.v4.runtime
-
A semantic predicate failed during validation.
- FailedPredicateException(Parser) - Constructor for exception org.antlr.v4.runtime.FailedPredicateException
- FailedPredicateException(Parser, String) - Constructor for exception org.antlr.v4.runtime.FailedPredicateException
- FailedPredicateException(Parser, String, String) - Constructor for exception org.antlr.v4.runtime.FailedPredicateException
- failOrAccept(LexerATNSimulator.SimState, CharStream, ATNConfigSet, int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- fetch(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Add
n
elements to buffer. - fetchedEOF - Variable in class org.antlr.v4.runtime.BufferedTokenStream
-
Indicates whether the
Token.EOF
token has been fetched fromBufferedTokenStream.tokenSource
and added toBufferedTokenStream.tokens
. - fileName - Variable in class org.antlr.v4.runtime.ANTLRFileStream
-
Deprecated.
- fill() - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Get all tokens from lexer until EOF
- fill(int) - Method in class org.antlr.v4.runtime.UnbufferedCharStream
-
Add
n
characters to the buffer. - fill(int) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
-
Add
n
elements to the buffer. - filterForChannel(int, int, int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- findAll(ParseTree, String) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePattern
-
Find all nodes using XPath and then try to match those subtrees against this tree pattern.
- findAll(ParseTree, String, Parser) - Static method in class org.antlr.v4.runtime.tree.xpath.XPath
- findAllNodes(ParseTree, int, boolean) - Static method in class org.antlr.v4.runtime.tree.Trees
- findAllRuleNodes(ParseTree, int) - Static method in class org.antlr.v4.runtime.tree.Trees
- findAllTokenNodes(ParseTree, int) - Static method in class org.antlr.v4.runtime.tree.Trees
- findNodeSuchThat(Tree, Predicate<Tree>) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Return first node satisfying the pred
- finish(int, int) - Static method in class org.antlr.v4.runtime.misc.MurmurHash
-
Apply the final computation steps to the intermediate value
hash
to form the final result of the MurmurHash 3 hash function. - fixOffsetBeforeMatch(int) - Method in class org.antlr.v4.runtime.atn.LexerActionExecutor
-
Creates a
LexerActionExecutor
which encodes the current offset for position-dependent lexer actions. - FlexibleHashMap<K,V> - Class in org.antlr.v4.runtime.misc
-
A limited map (many unsupported operations) that lets me use varying hashCode/equals.
- FlexibleHashMap() - Constructor for class org.antlr.v4.runtime.misc.FlexibleHashMap
- FlexibleHashMap(AbstractEqualityComparator<? super K>) - Constructor for class org.antlr.v4.runtime.misc.FlexibleHashMap
- FlexibleHashMap(AbstractEqualityComparator<? super K>, int, int) - Constructor for class org.antlr.v4.runtime.misc.FlexibleHashMap
- FlexibleHashMap.Entry<K,V> - Class in org.antlr.v4.runtime.misc
- followState - Variable in class org.antlr.v4.runtime.atn.RuleTransition
-
What node to begin computations following ref to rule
- from - Variable in class org.antlr.v4.runtime.atn.RangeTransition
- fromBuffer(CodePointBuffer) - Static method in class org.antlr.v4.runtime.CodePointCharStream
-
Constructs a
CodePointCharStream
which provides access to the Unicode code points stored incodePointBuffer
. - fromBuffer(CodePointBuffer, String) - Static method in class org.antlr.v4.runtime.CodePointCharStream
-
Constructs a named
CodePointCharStream
which provides access to the Unicode code points stored incodePointBuffer
. - fromChannel(ReadableByteChannel) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given an openedReadableByteChannel
containing UTF-8 bytes. - fromChannel(ReadableByteChannel, int, CodingErrorAction, String) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given an openedReadableByteChannel
containing UTF-8 bytes. - fromChannel(ReadableByteChannel, Charset) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given an openedReadableByteChannel
and the charset of the bytes contained in the channel. - fromChannel(ReadableByteChannel, Charset, int, CodingErrorAction, String, long) - Static method in class org.antlr.v4.runtime.CharStreams
- fromFileName(String) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given a string containing a path to a UTF-8 file on disk. - fromFileName(String, Charset) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given a string containing a path to a file on disk and the charset of the bytes contained in the file. - fromPath(Path) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given a path to a UTF-8 encoded file on disk. - fromPath(Path, Charset) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given a path to a file on disk and the charset of the bytes contained in the file. - fromReader(Reader) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given aReader
. - fromReader(Reader, String) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given aReader
and its source name. - fromRuleContext(ATN, RuleContext) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
-
Convert a
RuleContext
tree to aPredictionContext
graph. - fromStream(InputStream) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given an openedInputStream
containing UTF-8 bytes. - fromStream(InputStream, Charset) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given an openedInputStream
and the charset of the bytes contained in the stream. - fromStream(InputStream, Charset, long) - Static method in class org.antlr.v4.runtime.CharStreams
- fromString(String) - Static method in class org.antlr.v4.runtime.CharStreams
-
Creates a
CharStream
given aString
. - fromString(String, String) - Static method in class org.antlr.v4.runtime.CharStreams
- fromTokenNames(String[]) - Static method in class org.antlr.v4.runtime.VocabularyImpl
-
Returns a
VocabularyImpl
instance from the specified set of token names. - fullCtx - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
-
Indicates that this configuration set is part of a full context LL prediction.
- fullCtx - Variable in class org.antlr.v4.runtime.atn.DecisionEventInfo
-
true
if the current event occurred during LL prediction; otherwise,false
if the input occurred during SLL prediction.
G
- get(int) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- get(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- get(int) - Method in class org.antlr.v4.runtime.CodePointBuffer
- get(int) - Method in class org.antlr.v4.runtime.misc.IntegerList
- get(int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Get the ith element of ordered set.
- get(int) - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
- get(int) - Method in interface org.antlr.v4.runtime.TokenStream
-
Gets the
Token
at the specifiedindex
in the stream. - get(int) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- get(int, int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Get all tokens from start..stop inclusively
- get(Object) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- get(String) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Get the last node associated with a specific
label
. - get(Key1) - Method in class org.antlr.v4.runtime.misc.DoubleKeyMap
- get(Key1, Key2) - Method in class org.antlr.v4.runtime.misc.DoubleKeyMap
- get(PredictionContext) - Method in class org.antlr.v4.runtime.atn.PredictionContextCache
- get(ParseTree) - Method in class org.antlr.v4.runtime.tree.ParseTreeProperty
- get(T) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- getAction() - Method in class org.antlr.v4.runtime.atn.LexerIndexedCustomAction
-
Gets the lexer action to execute.
- getActionIndex() - Method in class org.antlr.v4.runtime.atn.LexerCustomAction
-
Gets the action index to use for calls to
Recognizer.action(org.antlr.v4.runtime.RuleContext, int, int)
. - getActionType() - Method in interface org.antlr.v4.runtime.atn.LexerAction
-
Gets the serialization type of the lexer action.
- getActionType() - Method in class org.antlr.v4.runtime.atn.LexerChannelAction
-
Gets the serialization type of the lexer action.
- getActionType() - Method in class org.antlr.v4.runtime.atn.LexerCustomAction
-
Gets the serialization type of the lexer action.
- getActionType() - Method in class org.antlr.v4.runtime.atn.LexerIndexedCustomAction
-
Gets the serialization type of the lexer action.
- getActionType() - Method in class org.antlr.v4.runtime.atn.LexerModeAction
-
Gets the serialization type of the lexer action.
- getActionType() - Method in class org.antlr.v4.runtime.atn.LexerMoreAction
-
Gets the serialization type of the lexer action.
- getActionType() - Method in class org.antlr.v4.runtime.atn.LexerPopModeAction
-
Gets the serialization type of the lexer action.
- getActionType() - Method in class org.antlr.v4.runtime.atn.LexerPushModeAction
-
Gets the serialization type of the lexer action.
- getActionType() - Method in class org.antlr.v4.runtime.atn.LexerSkipAction
-
Gets the serialization type of the lexer action.
- getActionType() - Method in class org.antlr.v4.runtime.atn.LexerTypeAction
-
Gets the serialization type of the lexer action.
- getAll(String) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Return all nodes matching a rule or token tag with the specified label.
- getAllContextNodes(PredictionContext) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
- getAllContextNodes_(PredictionContext, List<PredictionContext>, Map<PredictionContext, PredictionContext>) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
- getAllTokens() - Method in class org.antlr.v4.runtime.Lexer
-
Return a list of all Token objects in input char stream.
- getAltNumber() - Method in class org.antlr.v4.runtime.RuleContext
-
For rule associated with this parse tree internal node, return the outer alternative number used to match the input.
- getAltNumber() - Method in class org.antlr.v4.runtime.RuleContextWithAltNum
- getAlts() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
Gets the complete set of represented alternatives for the configuration set.
- getAlts(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Gets the complete set of represented alternatives for a collection of alternative subsets.
- getAlts(ATNConfigSet) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Get union of all alts from configs.
- getAltSet() - Method in class org.antlr.v4.runtime.dfa.DFAState
-
Get the set of all alts mentioned by all ATN configurations in this DFA state.
- getAltThatFinishedDecisionEntryRule(ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getAncestors(Tree) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Return a list of all ancestors of this node.
- getATN() - Method in class org.antlr.v4.runtime.LexerInterpreter
- getATN() - Method in class org.antlr.v4.runtime.ParserInterpreter
- getATN() - Method in class org.antlr.v4.runtime.Recognizer
-
Get the
ATN
used by the recognizer for prediction. - getATN() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- getATNState() - Method in class org.antlr.v4.runtime.ParserInterpreter
- getATNWithBypassAlts() - Method in class org.antlr.v4.runtime.Parser
-
The ATN with bypass alternatives is expensive to create so we create it lazily.
- getBucket(K) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- getBucket(T) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- getBufferStartIndex() - Method in class org.antlr.v4.runtime.UnbufferedCharStream
- getBufferStartIndex() - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- getBuildParseTree() - Method in class org.antlr.v4.runtime.Parser
-
Gets whether or not a complete parse tree will be constructed while parsing.
- getCachedContext(PredictionContext) - Method in class org.antlr.v4.runtime.atn.ATNSimulator
- getCachedContext(PredictionContext, PredictionContextCache, IdentityHashMap<PredictionContext, PredictionContext>) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
- getChannel() - Method in class org.antlr.v4.runtime.atn.LexerChannelAction
-
Gets the channel to use for the
Token
created by the lexer. - getChannel() - Method in class org.antlr.v4.runtime.CommonToken
- getChannel() - Method in class org.antlr.v4.runtime.Lexer
- getChannel() - Method in interface org.antlr.v4.runtime.Token
-
Return the channel this token.
- getChannel() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
Return the channel this token.
- getChannelNames() - Method in class org.antlr.v4.runtime.Lexer
- getChannelNames() - Method in class org.antlr.v4.runtime.LexerInterpreter
- getCharErrorDisplay(int) - Method in class org.antlr.v4.runtime.Lexer
- getCharIndex() - Method in class org.antlr.v4.runtime.Lexer
-
What is the index of the current character of lookahead?
- getCharPositionInLine() - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- getCharPositionInLine() - Method in class org.antlr.v4.runtime.CommonToken
- getCharPositionInLine() - Method in class org.antlr.v4.runtime.Lexer
- getCharPositionInLine() - Method in class org.antlr.v4.runtime.ListTokenSource
-
Get the index into the current line for the current position in the input stream.
- getCharPositionInLine() - Method in interface org.antlr.v4.runtime.Token
-
The index of the first character of this token relative to the beginning of the line at which it occurs, 0..n-1
- getCharPositionInLine() - Method in interface org.antlr.v4.runtime.TokenSource
-
Get the index into the current line for the current position in the input stream.
- getCharPositionInLine() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
The index of the first character of this token relative to the beginning of the line at which it occurs, 0..n-1
- getCharPositionInLine() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- getChild(int) - Method in class org.antlr.v4.runtime.ParserRuleContext
- getChild(int) - Method in class org.antlr.v4.runtime.RuleContext
- getChild(int) - Method in interface org.antlr.v4.runtime.tree.ParseTree
- getChild(int) - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- getChild(int) - Method in interface org.antlr.v4.runtime.tree.Tree
-
If there are children, get the
i
th value indexed from 0. - getChild(Class<? extends T>, int) - Method in class org.antlr.v4.runtime.ParserRuleContext
- getChildCount() - Method in class org.antlr.v4.runtime.ParserRuleContext
- getChildCount() - Method in class org.antlr.v4.runtime.RuleContext
- getChildCount() - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- getChildCount() - Method in interface org.antlr.v4.runtime.tree.Tree
-
How many children are there? If there is none, then this node represents a leaf node.
- getChildren(Tree) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Return ordered list of all children of this node
- getConflictingAlts(BitSet, ATNConfigSet) - Method in class org.antlr.v4.runtime.DiagnosticErrorListener
-
Computes the set of conflicting or ambiguous alternatives from a configuration set, if that information was not already provided by the parser.
- getConflictingAlts(ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Gets a
BitSet
containing the alternatives inconfigs
which are part of one or more conflicting alternative subsets. - getConflictingAltsOrUniqueAlt(ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Sam pointed out a problem with the previous definition, v3, of ambiguous states.
- getConflictingAltSubsets(ATNConfigSet) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
This function gets the conflicting alt subsets from a configuration set.
- getContext() - Method in class org.antlr.v4.runtime.Parser
- getCtx() - Method in exception org.antlr.v4.runtime.RecognitionException
-
Gets the
RuleContext
at the time this exception was thrown. - getCurrentState() - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- getCurrentToken() - Method in class org.antlr.v4.runtime.Parser
-
Match needs to return the current input symbol, which gets put into the label for the associated token ref; e.g., x=ID.
- getDeadEndConfigs() - Method in exception org.antlr.v4.runtime.LexerNoViableAltException
- getDeadEndConfigs() - Method in exception org.antlr.v4.runtime.NoViableAltException
- getDecisionDescription(Parser, DFA) - Method in class org.antlr.v4.runtime.DiagnosticErrorListener
- getDecisionInfo() - Method in class org.antlr.v4.runtime.atn.ParseInfo
-
Gets an array of
DecisionInfo
instances containing the profiling information gathered for each decision in the ATN. - getDecisionInfo() - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- getDecisionLookahead(ATNState) - Method in class org.antlr.v4.runtime.atn.LL1Analyzer
-
Calculates the SLL(1) expected lookahead set for each outgoing transition of an
ATNState
. - getDecisionState(int) - Method in class org.antlr.v4.runtime.atn.ATN
- getDefaultOptions() - Static method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
- getDescendants(ParseTree) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Get all descendents; includes t itself.
- getDFA(int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- getDFASize() - Method in class org.antlr.v4.runtime.atn.ParseInfo
-
Gets the total number of DFA states stored in the DFA cache for all decisions in the ATN.
- getDFASize(int) - Method in class org.antlr.v4.runtime.atn.ParseInfo
-
Gets the total number of DFA states stored in the DFA cache for a particular decision.
- getDFAStrings() - Method in class org.antlr.v4.runtime.Parser
-
For debugging and other purposes.
- getDisplayName(int) - Method in interface org.antlr.v4.runtime.Vocabulary
-
Gets the display name of a token type.
- getDisplayName(int) - Method in class org.antlr.v4.runtime.VocabularyImpl
- getDisplayNames() - Method in class org.antlr.v4.runtime.VocabularyImpl
- getEdgeLabel(int) - Method in class org.antlr.v4.runtime.dfa.DFASerializer
- getEdgeLabel(int) - Method in class org.antlr.v4.runtime.dfa.LexerDFASerializer
- getEpsilonTarget(ATNConfig, Transition, boolean, boolean, boolean, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getEpsilonTarget(CharStream, LexerATNConfig, Transition, ATNConfigSet, boolean, boolean) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- getErrorDisplay(int) - Method in class org.antlr.v4.runtime.Lexer
- getErrorDisplay(String) - Method in class org.antlr.v4.runtime.Lexer
- getErrorHandler() - Method in class org.antlr.v4.runtime.Parser
- getErrorHeader(RecognitionException) - Method in class org.antlr.v4.runtime.Recognizer
-
What is the error header, normally line/character position information?
- getErrorListenerDispatch() - Method in class org.antlr.v4.runtime.Recognizer
- getErrorListeners() - Method in class org.antlr.v4.runtime.Recognizer
- getErrorRecoverySet(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
- getExistingTargetState(DFAState, int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
Get an existing target state for an edge in the DFA.
- getExistingTargetState(DFAState, int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Get an existing target state for an edge in the DFA.
- getExistingTargetState(DFAState, int) - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- getExpectedTokens() - Method in class org.antlr.v4.runtime.Parser
-
Computes the set of input symbols which could follow the current parser state and context, as given by
Recognizer.getState()
andParser.getContext()
, respectively. - getExpectedTokens() - Method in exception org.antlr.v4.runtime.RecognitionException
-
Gets the set of input symbols which could potentially follow the previously matched symbol at the time this exception was thrown.
- getExpectedTokens(int, RuleContext) - Method in class org.antlr.v4.runtime.atn.ATN
-
Computes the set of input symbols which could follow ATN state number
stateNumber
in the specified fullcontext
. - getExpectedTokens(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
- getExpectedTokensWithinCurrentRule() - Method in class org.antlr.v4.runtime.Parser
- getGrammarFileName() - Method in class org.antlr.v4.runtime.LexerInterpreter
- getGrammarFileName() - Method in class org.antlr.v4.runtime.ParserInterpreter
- getGrammarFileName() - Method in class org.antlr.v4.runtime.Recognizer
-
For debugging and other purposes, might want the grammar name.
- getGrammarFileName() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- getHiddenTokensToLeft(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Collect all hidden tokens (any off-default channel) to the left of the current token up until we see a token on DEFAULT_TOKEN_CHANNEL.
- getHiddenTokensToLeft(int, int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Collect all tokens on specified channel to the left of the current token up until we see a token on DEFAULT_TOKEN_CHANNEL.
- getHiddenTokensToRight(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Collect all hidden tokens (any off-default channel) to the right of the current token up until we see a token on DEFAULT_TOKEN_CHANNEL or EOF.
- getHiddenTokensToRight(int, int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Collect all tokens on specified channel to the right of the current token up until we see a token on DEFAULT_TOKEN_CHANNEL or EOF.
- getInputStream() - Method in class org.antlr.v4.runtime.CommonToken
- getInputStream() - Method in class org.antlr.v4.runtime.Lexer
- getInputStream() - Method in exception org.antlr.v4.runtime.LexerNoViableAltException
- getInputStream() - Method in class org.antlr.v4.runtime.ListTokenSource
-
Get the
CharStream
from which this token source is currently providing tokens. - getInputStream() - Method in class org.antlr.v4.runtime.Parser
- getInputStream() - Method in exception org.antlr.v4.runtime.RecognitionException
-
Gets the input stream which is the symbol source for the recognizer where this exception was thrown.
- getInputStream() - Method in class org.antlr.v4.runtime.Recognizer
- getInputStream() - Method in interface org.antlr.v4.runtime.Token
-
Gets the
CharStream
from which this token was derived. - getInputStream() - Method in interface org.antlr.v4.runtime.TokenSource
-
Get the
CharStream
from which this token source is currently providing tokens. - getInputStream() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
Gets the
CharStream
from which this token was derived. - getInterpreter() - Method in class org.antlr.v4.runtime.Recognizer
-
Get the ATN interpreter used by the recognizer for prediction.
- getIntervals() - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Return a list of Interval objects.
- getInvokingContext(int) - Method in class org.antlr.v4.runtime.Parser
- getKindOfOps(List<? extends TokenStreamRewriter.RewriteOperation>, Class<T>, int) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
Get all operations before an index of a particular kind
- getLabel() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
Gets the label associated with the rule tag.
- getLabel() - Method in class org.antlr.v4.runtime.tree.pattern.TokenTagToken
-
Gets the label associated with the rule tag.
- getLabels() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Return a mapping from label → [list of nodes].
- getLastRewriteTokenIndex() - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- getLastRewriteTokenIndex(String) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- getLexer() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
-
Used to convert the tree pattern string into a series of tokens.
- getLexerActionExecutor() - Method in class org.antlr.v4.runtime.atn.LexerATNConfig
-
Gets the
LexerActionExecutor
capable of executing the embedded action(s) for the current configuration. - getLexerActions() - Method in class org.antlr.v4.runtime.atn.LexerActionExecutor
-
Gets the lexer actions to be executed by this executor.
- getLine() - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- getLine() - Method in class org.antlr.v4.runtime.CommonToken
- getLine() - Method in class org.antlr.v4.runtime.Lexer
- getLine() - Method in class org.antlr.v4.runtime.ListTokenSource
-
Get the line number for the current position in the input stream.
- getLine() - Method in interface org.antlr.v4.runtime.Token
-
The line number on which the 1st character of this token was matched, line=1..n
- getLine() - Method in interface org.antlr.v4.runtime.TokenSource
-
Get the line number for the current position in the input stream.
- getLine() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
The line number on which the 1st character of this token was matched, line=1..n
- getLiteralName(int) - Method in interface org.antlr.v4.runtime.Vocabulary
-
Gets the string literal associated with a token type.
- getLiteralName(int) - Method in class org.antlr.v4.runtime.VocabularyImpl
- getLiteralNames() - Method in class org.antlr.v4.runtime.VocabularyImpl
- getLLDecisions() - Method in class org.antlr.v4.runtime.atn.ParseInfo
-
Gets the decision numbers for decisions that required one or more full-context predictions during parsing.
- getLookaheadName(TokenStream) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getLoopEntryState() - Method in class org.antlr.v4.runtime.atn.StarLoopbackState
- getMajorMinorVersion(String) - Static method in class org.antlr.v4.runtime.RuntimeMetaData
-
Gets the major and minor version numbers from a version string.
- getMatcher() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePattern
-
Get the
ParseTreePatternMatcher
which created this tree pattern. - getMaxElement() - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Returns the maximum value contained in the set if not isNil().
- getMaxTokenType() - Method in interface org.antlr.v4.runtime.Vocabulary
-
Returns the highest token type value.
- getMaxTokenType() - Method in class org.antlr.v4.runtime.VocabularyImpl
- getMinElement() - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Returns the minimum value contained in the set if not isNil().
- getMismatchedNode() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Get the node at which we first detected a mismatch.
- getMissingSymbol(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
Conjure up a missing token during error recovery.
- getMode() - Method in class org.antlr.v4.runtime.atn.LexerModeAction
-
Get the lexer mode this action should transition the lexer to.
- getMode() - Method in class org.antlr.v4.runtime.atn.LexerPushModeAction
-
Get the lexer mode this action should transition the lexer to.
- getModeNames() - Method in class org.antlr.v4.runtime.Lexer
- getModeNames() - Method in class org.antlr.v4.runtime.LexerInterpreter
- getModeNames() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- getNodeText(Tree, List<String>) - Static method in class org.antlr.v4.runtime.tree.Trees
- getNodeText(Tree, Parser) - Static method in class org.antlr.v4.runtime.tree.Trees
- getNumberOfDecisions() - Method in class org.antlr.v4.runtime.atn.ATN
- getNumberOfOnChannelTokens() - Method in class org.antlr.v4.runtime.CommonTokenStream
-
Count EOF just once.
- getNumberOfSyntaxErrors() - Method in class org.antlr.v4.runtime.Parser
-
Gets the number of syntax errors reported during parsing.
- getNumberOfTransitions() - Method in class org.antlr.v4.runtime.atn.ATNState
- getOffendingState() - Method in exception org.antlr.v4.runtime.RecognitionException
-
Get the ATN state number the parser was in at the time the error occurred.
- getOffendingToken() - Method in exception org.antlr.v4.runtime.RecognitionException
- getOffset() - Method in class org.antlr.v4.runtime.atn.LexerIndexedCustomAction
-
Gets the location in the input
CharStream
at which the lexer action should be executed. - getOperands() - Method in class org.antlr.v4.runtime.atn.SemanticContext.AND
- getOperands() - Method in class org.antlr.v4.runtime.atn.SemanticContext.Operator
-
Gets the operands for the semantic context operator.
- getOperands() - Method in class org.antlr.v4.runtime.atn.SemanticContext.OR
- getOrAdd(T) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
Add
o
to set if not there; return existing value if already there. - getOrAddImpl(T) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- getOuterContextDepth() - Method in class org.antlr.v4.runtime.atn.ATNConfig
-
This method gets the value of the
ATNConfig.reachesIntoOuterContext
field as it existed prior to the introduction of theATNConfig.isPrecedenceFilterSuppressed()
method. - getOverrideDecisionRoot() - Method in class org.antlr.v4.runtime.ParserInterpreter
- getPairs() - Method in class org.antlr.v4.runtime.misc.MultiMap
- getParent() - Method in class org.antlr.v4.runtime.ParserRuleContext
- getParent() - Method in class org.antlr.v4.runtime.RuleContext
- getParent() - Method in interface org.antlr.v4.runtime.tree.ParseTree
- getParent() - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- getParent() - Method in interface org.antlr.v4.runtime.tree.Tree
-
The parent of this node.
- getParent(int) - Method in class org.antlr.v4.runtime.atn.ArrayPredictionContext
- getParent(int) - Method in class org.antlr.v4.runtime.atn.EmptyPredictionContext
- getParent(int) - Method in class org.antlr.v4.runtime.atn.PredictionContext
- getParent(int) - Method in class org.antlr.v4.runtime.atn.SingletonPredictionContext
- getParseInfo() - Method in class org.antlr.v4.runtime.Parser
- getParseInfo() - Method in class org.antlr.v4.runtime.Recognizer
-
If profiling during the parse/lex, this will return DecisionInfo records for each decision in recognizer in a ParseInfo object.
- getParseListeners() - Method in class org.antlr.v4.runtime.Parser
- getParser() - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getParser() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
-
Used to collect to the grammar file name, token names, rule names for used to parse the pattern into a parse tree.
- getPattern() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Get the tree pattern we are matching against.
- getPattern() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePattern
-
Get the tree pattern in concrete syntax form.
- getPatternRuleIndex() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePattern
-
Get the parser rule which serves as the outermost rule for the tree pattern.
- getPatternTree() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePattern
-
Get the tree pattern as a
ParseTree
. - getPayload() - Method in class org.antlr.v4.runtime.RuleContext
- getPayload() - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- getPayload() - Method in interface org.antlr.v4.runtime.tree.Tree
-
This method returns whatever object represents the data at this node.
- getPrecedence() - Method in class org.antlr.v4.runtime.Parser
-
Get the precedence level for the top-most precedence rule.
- getPrecedenceStartState(int) - Method in class org.antlr.v4.runtime.dfa.DFA
-
Get the start state for a specific precedence value.
- getPredicate() - Method in class org.antlr.v4.runtime.atn.PrecedencePredicateTransition
- getPredicate() - Method in class org.antlr.v4.runtime.atn.PredicateTransition
- getPredicate() - Method in exception org.antlr.v4.runtime.FailedPredicateException
- getPredicatePredictions(BitSet, SemanticContext[]) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getPredicates() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- getPredictionMode() - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getPredIndex() - Method in exception org.antlr.v4.runtime.FailedPredicateException
- getPredsForAmbigAlts(BitSet, ATNConfigSet, int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getProgram(String) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- getReachableConfigSet(CharStream, ATNConfigSet, ATNConfigSet, int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
Given a starting configuration set, figure out all ATN configurations we can reach upon input
t
. - getReachableTarget(Transition, int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- getReachableTarget(Transition, int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getRecognizer() - Method in exception org.antlr.v4.runtime.RecognitionException
-
Gets the
Recognizer
where this exception occurred. - getReturnState(int) - Method in class org.antlr.v4.runtime.atn.ArrayPredictionContext
- getReturnState(int) - Method in class org.antlr.v4.runtime.atn.EmptyPredictionContext
- getReturnState(int) - Method in class org.antlr.v4.runtime.atn.PredictionContext
- getReturnState(int) - Method in class org.antlr.v4.runtime.atn.SingletonPredictionContext
- getRootContext() - Method in class org.antlr.v4.runtime.ParserInterpreter
-
Return the root of the parse, which can be useful if the parser bails out.
- getRootOfSubtreeEnclosingRegion(ParseTree, int, int) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Find smallest subtree of t enclosing range startTokenIndex..stopTokenIndex inclusively using postorder traversal.
- getRuleContext() - Method in class org.antlr.v4.runtime.Parser
- getRuleContext() - Method in class org.antlr.v4.runtime.RuleContext
- getRuleContext() - Method in interface org.antlr.v4.runtime.tree.RuleNode
- getRuleContext(Class<? extends T>, int) - Method in class org.antlr.v4.runtime.ParserRuleContext
- getRuleContexts(Class<? extends T>) - Method in class org.antlr.v4.runtime.ParserRuleContext
- getRuleIndex() - Method in class org.antlr.v4.runtime.atn.LexerCustomAction
-
Gets the rule index to use for calls to
Recognizer.action(org.antlr.v4.runtime.RuleContext, int, int)
. - getRuleIndex() - Method in exception org.antlr.v4.runtime.FailedPredicateException
- getRuleIndex() - Method in class org.antlr.v4.runtime.InterpreterRuleContext
- getRuleIndex() - Method in class org.antlr.v4.runtime.RuleContext
- getRuleIndex(String) - Method in class org.antlr.v4.runtime.Parser
-
Get a rule's index (i.e.,
RULE_ruleName
field) or -1 if not found. - getRuleIndexMap() - Method in class org.antlr.v4.runtime.Recognizer
-
Get a map from rule names to rule indexes.
- getRuleInvocationStack() - Method in class org.antlr.v4.runtime.Parser
-
Return List<String> of the rule names in your parser instance leading up to a call to the current rule.
- getRuleInvocationStack(RuleContext) - Method in class org.antlr.v4.runtime.Parser
- getRuleName() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
Gets the name of the rule associated with this rule tag.
- getRuleName(int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getRuleNames() - Method in class org.antlr.v4.runtime.LexerInterpreter
- getRuleNames() - Method in class org.antlr.v4.runtime.ParserInterpreter
- getRuleNames() - Method in class org.antlr.v4.runtime.Recognizer
- getRuleNames() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- getRuleTagToken(ParseTree) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
-
Is
t
(expr <expr>)
subtree? - getRuntimeVersion() - Static method in class org.antlr.v4.runtime.RuntimeMetaData
-
Gets the currently executing version of the ANTLR 4 runtime library.
- getSafeEnv(String) - Static method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.ActionTransition
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.AtomTransition
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.EpsilonTransition
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.NotSetTransition
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.PrecedencePredicateTransition
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.PredicateTransition
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.RangeTransition
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.RuleTransition
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.SetTransition
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.Transition
- getSerializationType() - Method in class org.antlr.v4.runtime.atn.WildcardTransition
- getSerialized(ATN) - Static method in class org.antlr.v4.runtime.atn.ATNSerializer
- getSerializedATN() - Method in class org.antlr.v4.runtime.Recognizer
-
If this recognizer was generated, it will have a serialized ATN representation of the grammar.
- getSharedContextCache() - Method in class org.antlr.v4.runtime.atn.ATNSimulator
- getSingleViableAlt(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
- getSourceInterval() - Method in class org.antlr.v4.runtime.ParserRuleContext
- getSourceInterval() - Method in class org.antlr.v4.runtime.RuleContext
- getSourceInterval() - Method in interface org.antlr.v4.runtime.tree.SyntaxTree
-
Return an
Interval
indicating the index in theTokenStream
of the first and last token associated with this subtree. - getSourceInterval() - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- getSourceName() - Method in class org.antlr.v4.runtime.ANTLRFileStream
-
Deprecated.
- getSourceName() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- getSourceName() - Method in class org.antlr.v4.runtime.BufferedTokenStream
- getSourceName() - Method in class org.antlr.v4.runtime.CodePointCharStream
- getSourceName() - Method in interface org.antlr.v4.runtime.IntStream
-
Gets the name of the underlying symbol source.
- getSourceName() - Method in class org.antlr.v4.runtime.Lexer
- getSourceName() - Method in class org.antlr.v4.runtime.ListTokenSource
-
Gets the name of the underlying input source.
- getSourceName() - Method in class org.antlr.v4.runtime.Parser
- getSourceName() - Method in interface org.antlr.v4.runtime.TokenSource
-
Gets the name of the underlying input source.
- getSourceName() - Method in class org.antlr.v4.runtime.UnbufferedCharStream
- getSourceName() - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- getStart() - Method in class org.antlr.v4.runtime.ParserRuleContext
-
Get the initial token in this context.
- getStartIndex() - Method in class org.antlr.v4.runtime.CommonToken
- getStartIndex() - Method in exception org.antlr.v4.runtime.LexerNoViableAltException
- getStartIndex() - Method in interface org.antlr.v4.runtime.Token
-
The starting character index of the token This method is optional; return -1 if not implemented.
- getStartIndex() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
The starting character index of the token This method is optional; return -1 if not implemented.
- getStartToken() - Method in exception org.antlr.v4.runtime.NoViableAltException
- getState() - Method in class org.antlr.v4.runtime.Recognizer
- getStates() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- getStates() - Method in class org.antlr.v4.runtime.dfa.DFA
-
Return a list of all states in this DFA, ordered by state number.
- getStateString(DFAState) - Method in class org.antlr.v4.runtime.dfa.DFASerializer
- getStateToAltMap(ATNConfigSet) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Get a map from state to alt subset from a configuration set.
- getStateType() - Method in class org.antlr.v4.runtime.atn.ATNState
- getStateType() - Method in class org.antlr.v4.runtime.atn.BasicBlockStartState
- getStateType() - Method in class org.antlr.v4.runtime.atn.BasicState
- getStateType() - Method in class org.antlr.v4.runtime.atn.BlockEndState
- getStateType() - Method in class org.antlr.v4.runtime.atn.LoopEndState
- getStateType() - Method in class org.antlr.v4.runtime.atn.PlusBlockStartState
- getStateType() - Method in class org.antlr.v4.runtime.atn.PlusLoopbackState
- getStateType() - Method in class org.antlr.v4.runtime.atn.RuleStartState
- getStateType() - Method in class org.antlr.v4.runtime.atn.RuleStopState
- getStateType() - Method in class org.antlr.v4.runtime.atn.StarBlockStartState
- getStateType() - Method in class org.antlr.v4.runtime.atn.StarLoopbackState
- getStateType() - Method in class org.antlr.v4.runtime.atn.StarLoopEntryState
- getStateType() - Method in class org.antlr.v4.runtime.atn.TokensStartState
- getStop() - Method in class org.antlr.v4.runtime.ParserRuleContext
-
Get the final token in this context.
- getStopIndex() - Method in class org.antlr.v4.runtime.CommonToken
- getStopIndex() - Method in interface org.antlr.v4.runtime.Token
-
The last character index of the token.
- getStopIndex() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
The last character index of the token.
- getSymbol() - Method in interface org.antlr.v4.runtime.tree.TerminalNode
- getSymbol() - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- getSymbolicName(int) - Method in interface org.antlr.v4.runtime.Vocabulary
-
Gets the symbolic name associated with a token type.
- getSymbolicName(int) - Method in class org.antlr.v4.runtime.VocabularyImpl
- getSymbolicNames() - Method in class org.antlr.v4.runtime.VocabularyImpl
- getSymbolText(Token) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
- getSymbolType(Token) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
- getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ATNConfigSet, ParserRuleContext) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
This method is used to improve the localization of error messages by choosing an alternative rather than throwing a
NoViableAltException
in particular prediction scenarios where theATNSimulator.ERROR
state was reached during ATN simulation. - getText() - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Get the text of all tokens in this buffer.
- getText() - Method in class org.antlr.v4.runtime.CommonToken
- getText() - Method in class org.antlr.v4.runtime.Lexer
-
Return the text matched so far for the current token or any text override.
- getText() - Method in class org.antlr.v4.runtime.RuleContext
-
Return the combined text of all child nodes.
- getText() - Method in interface org.antlr.v4.runtime.Token
-
Get the text of the token.
- getText() - Method in interface org.antlr.v4.runtime.TokenStream
-
Return the text of all tokens in the stream.
- getText() - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
Return the text from the original tokens altered per the instructions given to this rewriter.
- getText() - Method in interface org.antlr.v4.runtime.tree.ParseTree
-
Return the combined text of all leaf nodes.
- getText() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
Get the text of the token.
- getText() - Method in class org.antlr.v4.runtime.tree.pattern.TokenTagToken
-
Get the text of the token.
- getText() - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- getText() - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- getText(String) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
Return the text from the original tokens altered per the instructions given to this rewriter in programName.
- getText(String, Interval) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- getText(CharStream) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
Get the text matched so far for the current token.
- getText(Interval) - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- getText(Interval) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- getText(Interval) - Method in interface org.antlr.v4.runtime.CharStream
-
This method returns the text for a range of characters within this input stream.
- getText(Interval) - Method in interface org.antlr.v4.runtime.TokenStream
-
Return the text of all tokens within the specified
interval
. - getText(Interval) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
Return the text associated with the tokens in the interval from the original token stream but with the alterations given to this rewriter.
- getText(Interval) - Method in class org.antlr.v4.runtime.UnbufferedCharStream
- getText(Interval) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- getText(RuleContext) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- getText(RuleContext) - Method in interface org.antlr.v4.runtime.TokenStream
-
Return the text of all tokens in the source interval of the specified context.
- getText(RuleContext) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- getText(Token, Token) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- getText(Token, Token) - Method in interface org.antlr.v4.runtime.TokenStream
-
Return the text of all tokens in this stream between
start
andstop
(inclusive). - getText(Token, Token) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- getToken() - Method in class org.antlr.v4.runtime.Lexer
-
Override if emitting multiple tokens.
- getToken(int, int) - Method in class org.antlr.v4.runtime.ParserRuleContext
- getTokenErrorDisplay(Token) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
How should a token be displayed in an error message? The default is to display just the text, but during development you might want to have a lot of information spit out.
- getTokenErrorDisplay(Token) - Method in class org.antlr.v4.runtime.Recognizer
-
Deprecated.This method is not called by the ANTLR 4 Runtime. Specific implementations of
ANTLRErrorStrategy
may provide a similar feature when necessary. For example, seeDefaultErrorStrategy.getTokenErrorDisplay(org.antlr.v4.runtime.Token)
. - getTokenFactory() - Method in class org.antlr.v4.runtime.Lexer
- getTokenFactory() - Method in class org.antlr.v4.runtime.ListTokenSource
-
Gets the
TokenFactory
this token source is currently using for creatingToken
objects from the input. - getTokenFactory() - Method in class org.antlr.v4.runtime.Parser
- getTokenFactory() - Method in class org.antlr.v4.runtime.Recognizer
- getTokenFactory() - Method in interface org.antlr.v4.runtime.TokenSource
-
Gets the
TokenFactory
this token source is currently using for creatingToken
objects from the input. - getTokenIndex() - Method in class org.antlr.v4.runtime.CommonToken
- getTokenIndex() - Method in interface org.antlr.v4.runtime.Token
-
An index from 0..n-1 of the token object in the input stream.
- getTokenIndex() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
An index from 0..n-1 of the token object in the input stream.
- getTokenName() - Method in class org.antlr.v4.runtime.tree.pattern.TokenTagToken
-
Gets the token name.
- getTokenName(int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- getTokenName(int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getTokenNames() - Method in class org.antlr.v4.runtime.Lexer
-
Deprecated.
- getTokenNames() - Method in class org.antlr.v4.runtime.LexerInterpreter
-
Deprecated.
- getTokenNames() - Method in class org.antlr.v4.runtime.ParserInterpreter
-
Deprecated.
- getTokenNames() - Method in class org.antlr.v4.runtime.Recognizer
-
Deprecated.Use
Recognizer.getVocabulary()
instead. - getTokenNames() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
-
Deprecated.
- getTokens() - Method in class org.antlr.v4.runtime.BufferedTokenStream
- getTokens(int) - Method in class org.antlr.v4.runtime.ParserRuleContext
- getTokens(int, int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- getTokens(int, int, int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- getTokens(int, int, Set<Integer>) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Given a start and stop index, return a List of all tokens in the token type BitSet.
- getTokenSource() - Method in class org.antlr.v4.runtime.BufferedTokenStream
- getTokenSource() - Method in class org.antlr.v4.runtime.CommonToken
- getTokenSource() - Method in interface org.antlr.v4.runtime.Token
-
Gets the
TokenSource
which created this token. - getTokenSource() - Method in interface org.antlr.v4.runtime.TokenStream
-
Gets the underlying
TokenSource
which provides tokens for this stream. - getTokenSource() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
Gets the
TokenSource
which created this token. - getTokenSource() - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- getTokenStream() - Method in class org.antlr.v4.runtime.Parser
- getTokenStream() - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- getTokenType(String) - Method in class org.antlr.v4.runtime.Recognizer
- getTokenTypeMap() - Method in class org.antlr.v4.runtime.Recognizer
-
Get a map from token names to token types.
- getTotalATNLookaheadOps() - Method in class org.antlr.v4.runtime.atn.ParseInfo
-
Gets the total number of ATN lookahead operations for SLL and LL prediction across all decisions made during parsing.
- getTotalLLATNLookaheadOps() - Method in class org.antlr.v4.runtime.atn.ParseInfo
-
Gets the total number of ATN lookahead operations for LL prediction across all decisions made during parsing.
- getTotalLLLookaheadOps() - Method in class org.antlr.v4.runtime.atn.ParseInfo
-
Gets the total number of LL lookahead operations across all decisions made during parsing.
- getTotalSLLATNLookaheadOps() - Method in class org.antlr.v4.runtime.atn.ParseInfo
-
Gets the total number of ATN lookahead operations for SLL prediction across all decisions made during parsing.
- getTotalSLLLookaheadOps() - Method in class org.antlr.v4.runtime.atn.ParseInfo
-
Gets the total number of SLL lookahead operations across all decisions made during parsing.
- getTotalTimeInPrediction() - Method in class org.antlr.v4.runtime.atn.ParseInfo
-
Gets the total time spent during prediction across all decisions made during parsing.
- getTransitions() - Method in class org.antlr.v4.runtime.atn.ATNState
- getTree() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Get the parse tree we are trying to match to a pattern.
- getTrimParseTree() - Method in class org.antlr.v4.runtime.Parser
- getType() - Method in class org.antlr.v4.runtime.atn.LexerTypeAction
-
Gets the type to assign to a token created by the lexer.
- getType() - Method in class org.antlr.v4.runtime.CommonToken
- getType() - Method in class org.antlr.v4.runtime.Lexer
- getType() - Method in interface org.antlr.v4.runtime.Token
-
Get the token type of the token
- getType() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
Get the token type of the token
- getUniqueAlt(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Returns the unique alternative predicted by all alternative subsets in
altsets
. - getUniqueAlt(ATNConfigSet) - Static method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- getVocabulary() - Method in class org.antlr.v4.runtime.LexerInterpreter
- getVocabulary() - Method in class org.antlr.v4.runtime.ParserInterpreter
- getVocabulary() - Method in class org.antlr.v4.runtime.Recognizer
-
Get the vocabulary used by the recognizer.
- getVocabulary() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- getXPathElement(Token, boolean) - Method in class org.antlr.v4.runtime.tree.xpath.XPath
-
Convert word like
*
orID
orexpr
to a path element. - globalNodeCount - Static variable in class org.antlr.v4.runtime.atn.PredictionContext
- grammarFileName - Variable in class org.antlr.v4.runtime.LexerInterpreter
- grammarFileName - Variable in class org.antlr.v4.runtime.ParserInterpreter
- grammarType - Variable in class org.antlr.v4.runtime.atn.ATN
-
The type of the ATN.
H
- hasConfigInRuleStopState(ATNConfigSet) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Checks if any configuration in
configs
is in aRuleStopState
. - hasConflictingAltSet(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Determines if any single alternative subset in
altsets
contains more than one alternative. - hasEmptyPath() - Method in class org.antlr.v4.runtime.atn.PredictionContext
- hashCode() - Method in class org.antlr.v4.runtime.atn.ATNConfig
- hashCode() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- hashCode() - Method in class org.antlr.v4.runtime.atn.ATNState
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerActionExecutor
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerATNConfig
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerChannelAction
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerCustomAction
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerIndexedCustomAction
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerModeAction
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerMoreAction
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerPopModeAction
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerPushModeAction
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerSkipAction
- hashCode() - Method in class org.antlr.v4.runtime.atn.LexerTypeAction
- hashCode() - Method in class org.antlr.v4.runtime.atn.PredictionContext
- hashCode() - Method in class org.antlr.v4.runtime.atn.SemanticContext.AND
- hashCode() - Method in class org.antlr.v4.runtime.atn.SemanticContext.OR
- hashCode() - Method in class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
- hashCode() - Method in class org.antlr.v4.runtime.atn.SemanticContext.Predicate
- hashCode() - Method in class org.antlr.v4.runtime.dfa.DFAState
- hashCode() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- hashCode() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- hashCode() - Method in class org.antlr.v4.runtime.misc.IntegerList
-
Returns the hash code value for this list.
- hashCode() - Method in class org.antlr.v4.runtime.misc.Interval
- hashCode() - Method in class org.antlr.v4.runtime.misc.IntervalSet
- hashCode() - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
- hashCode() - Method in class org.antlr.v4.runtime.misc.Pair
- hashCode() - Method in class org.antlr.v4.runtime.misc.Triple
- hashCode(Object) - Method in class org.antlr.v4.runtime.misc.ObjectEqualityComparator
-
This method returns a hash code for the specified object.
- hashCode(ATNConfig) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet.ConfigEqualityComparator
- hashCode(T) - Method in interface org.antlr.v4.runtime.misc.EqualityComparator
-
This method returns a hash code for the specified object.
- hashCode(T[], int) - Static method in class org.antlr.v4.runtime.misc.MurmurHash
-
Utility function to compute the hash code of an array using the MurmurHash algorithm.
- hasNext() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet.SetIterator
- hasNonConflictingAltSet(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Determines if any single alternative subset in
altsets
contains exactly one alternative. - hasPassedThroughNonGreedyDecision() - Method in class org.antlr.v4.runtime.atn.LexerATNConfig
- hasSemanticContext - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
- hasSLLConflictTerminatingPrediction(PredictionMode, ATNConfigSet) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Computes the SLL prediction termination condition.
- hasStateAssociatedWithOneAlt(ATNConfigSet) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
- HIDDEN - Static variable in class org.antlr.v4.runtime.Lexer
- HIDDEN_CHANNEL - Static variable in interface org.antlr.v4.runtime.Token
-
Anything on different channel than DEFAULT_CHANNEL is not parsed by parser.
- HIT_PRED - Static variable in class org.antlr.v4.runtime.atn.LL1Analyzer
-
Special value added to the lookahead sets to indicate that we hit a predicate during analysis if
seeThruPreds==false
. - hits - Static variable in class org.antlr.v4.runtime.misc.Interval
I
- i - Variable in class org.antlr.v4.runtime.ListTokenSource
-
The index into
ListTokenSource.tokens
of token to return by the next call toListTokenSource.nextToken()
. - id - Variable in class org.antlr.v4.runtime.atn.PredictionContext
- ID - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- inContext(String) - Method in class org.antlr.v4.runtime.Parser
- index - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator.SimState
- index - Variable in class org.antlr.v4.runtime.CommonToken
-
This is the backing field for
CommonToken.getTokenIndex()
andCommonToken.setTokenIndex(int)
. - index - Variable in class org.antlr.v4.runtime.TokenStreamRewriter.RewriteOperation
-
Token buffer index.
- index() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.Return the current input symbol index 0..n where n indicates the last symbol has been read.
- index() - Method in class org.antlr.v4.runtime.BufferedTokenStream
- index() - Method in class org.antlr.v4.runtime.CodePointCharStream
- index() - Method in interface org.antlr.v4.runtime.IntStream
-
Return the index into the stream of the input symbol referred to by
LA(1)
. - index() - Method in class org.antlr.v4.runtime.UnbufferedCharStream
- index() - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- inErrorRecoveryMode(Parser) - Method in interface org.antlr.v4.runtime.ANTLRErrorStrategy
-
Tests whether or not
recognizer
is in the process of recovering from an error. - inErrorRecoveryMode(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
Tests whether or not
recognizer
is in the process of recovering from an error. - INITAL_BUCKET_CAPACITY - Static variable in class org.antlr.v4.runtime.misc.Array2DHashSet
- INITAL_BUCKET_CAPACITY - Static variable in class org.antlr.v4.runtime.misc.FlexibleHashMap
- INITAL_CAPACITY - Static variable in class org.antlr.v4.runtime.misc.Array2DHashSet
- INITAL_CAPACITY - Static variable in class org.antlr.v4.runtime.misc.FlexibleHashMap
- INITIAL_BUFFER_SIZE - Static variable in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- INITIAL_NUM_TRANSITIONS - Static variable in class org.antlr.v4.runtime.atn.ATNState
- initialBucketCapacity - Variable in class org.antlr.v4.runtime.misc.Array2DHashSet
- initialBucketCapacity - Variable in class org.antlr.v4.runtime.misc.FlexibleHashMap
- initialize() - Static method in class org.antlr.v4.runtime.misc.MurmurHash
-
Initialize the hash using the default seed value.
- initialize(int) - Static method in class org.antlr.v4.runtime.misc.MurmurHash
-
Initialize the hash using the specified
seed
. - input - Variable in class org.antlr.v4.runtime.atn.DecisionEventInfo
-
The input token stream which is being parsed.
- input - Variable in class org.antlr.v4.runtime.UnbufferedCharStream
- InputMismatchException - Exception in org.antlr.v4.runtime
-
This signifies any kind of mismatched input exceptions such as when the current input does not match the expected token.
- InputMismatchException(Parser) - Constructor for exception org.antlr.v4.runtime.InputMismatchException
- InputMismatchException(Parser, int, ParserRuleContext) - Constructor for exception org.antlr.v4.runtime.InputMismatchException
- insertAfter(int, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- insertAfter(String, int, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- insertAfter(String, Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- insertAfter(Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- insertBefore(int, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- insertBefore(String, int, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- insertBefore(String, Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- insertBefore(Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- INSTANCE - Static variable in class org.antlr.v4.runtime.atn.ATNConfigSet.ConfigEqualityComparator
- INSTANCE - Static variable in class org.antlr.v4.runtime.atn.LexerMoreAction
-
Provides a singleton instance of this parameterless lexer action.
- INSTANCE - Static variable in class org.antlr.v4.runtime.atn.LexerPopModeAction
-
Provides a singleton instance of this parameterless lexer action.
- INSTANCE - Static variable in class org.antlr.v4.runtime.atn.LexerSkipAction
-
Provides a singleton instance of this parameterless lexer action.
- INSTANCE - Static variable in class org.antlr.v4.runtime.ConsoleErrorListener
-
Provides a default instance of
ConsoleErrorListener
. - INSTANCE - Static variable in class org.antlr.v4.runtime.misc.ObjectEqualityComparator
- INSTANCE - Static variable in class org.antlr.v4.runtime.Parser.TrimToSizeListener
- instructionIndex - Variable in class org.antlr.v4.runtime.TokenStreamRewriter.RewriteOperation
-
What index into rewrites List are we?
- INT - org.antlr.v4.runtime.CodePointBuffer.Type
- IntegerList - Class in org.antlr.v4.runtime.misc
- IntegerList() - Constructor for class org.antlr.v4.runtime.misc.IntegerList
- IntegerList(int) - Constructor for class org.antlr.v4.runtime.misc.IntegerList
- IntegerList(Collection<Integer>) - Constructor for class org.antlr.v4.runtime.misc.IntegerList
- IntegerList(IntegerList) - Constructor for class org.antlr.v4.runtime.misc.IntegerList
- IntegerStack - Class in org.antlr.v4.runtime.misc
- IntegerStack() - Constructor for class org.antlr.v4.runtime.misc.IntegerStack
- IntegerStack(int) - Constructor for class org.antlr.v4.runtime.misc.IntegerStack
- IntegerStack(IntegerStack) - Constructor for class org.antlr.v4.runtime.misc.IntegerStack
- InterpreterData() - Constructor for class org.antlr.v4.runtime.misc.InterpreterDataReader.InterpreterData
- InterpreterDataReader - Class in org.antlr.v4.runtime.misc
- InterpreterDataReader() - Constructor for class org.antlr.v4.runtime.misc.InterpreterDataReader
- InterpreterDataReader.InterpreterData - Class in org.antlr.v4.runtime.misc
- InterpreterRuleContext - Class in org.antlr.v4.runtime
-
This class extends
ParserRuleContext
by allowing the value ofInterpreterRuleContext.getRuleIndex()
to be explicitly set for the context. - InterpreterRuleContext() - Constructor for class org.antlr.v4.runtime.InterpreterRuleContext
- InterpreterRuleContext(ParserRuleContext, int, int) - Constructor for class org.antlr.v4.runtime.InterpreterRuleContext
-
Constructs a new
InterpreterRuleContext
with the specified parent, invoking state, and rule index. - intersection(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Return the interval in common between this and o
- Interval - Class in org.antlr.v4.runtime.misc
-
An immutable inclusive interval a..b
- Interval(int, int) - Constructor for class org.antlr.v4.runtime.misc.Interval
- INTERVAL_POOL_MAX_VALUE - Static variable in class org.antlr.v4.runtime.misc.Interval
- intervals - Variable in class org.antlr.v4.runtime.misc.IntervalSet
-
The list of sorted, disjoint intervals.
- IntervalSet - Class in org.antlr.v4.runtime.misc
-
This class implements the
IntSet
backed by a sorted array of non-overlapping intervals. - IntervalSet(int...) - Constructor for class org.antlr.v4.runtime.misc.IntervalSet
- IntervalSet(List<Interval>) - Constructor for class org.antlr.v4.runtime.misc.IntervalSet
- IntervalSet(IntervalSet) - Constructor for class org.antlr.v4.runtime.misc.IntervalSet
- IntSet - Interface in org.antlr.v4.runtime.misc
-
A generic set of integers.
- IntStream - Interface in org.antlr.v4.runtime
-
A simple stream of symbols whose values are represented as integers.
- INVALID - Static variable in class org.antlr.v4.runtime.misc.Interval
- INVALID_ALT_NUMBER - Static variable in class org.antlr.v4.runtime.atn.ATN
- INVALID_STATE_NUMBER - Static variable in class org.antlr.v4.runtime.atn.ATNState
- INVALID_TYPE - Static variable in class org.antlr.v4.runtime.atn.ATNState
- INVALID_TYPE - Static variable in interface org.antlr.v4.runtime.Token
- invert - Variable in class org.antlr.v4.runtime.tree.xpath.XPathElement
- invocations - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
The total number of times
ParserATNSimulator.adaptivePredict(org.antlr.v4.runtime.TokenStream, int, org.antlr.v4.runtime.ParserRuleContext)
was invoked for this decision. - invokingState - Variable in class org.antlr.v4.runtime.RuleContext
-
What state invoked the rule associated with this context? The "return address" is the followState of invokingState If parent is null, this should be -1 this context object represents the start rule.
- isAcceptState - Variable in class org.antlr.v4.runtime.dfa.DFAState
- isAncestorOf(Tree, Tree) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Return true if t is u's parent or a node on path to root from u.
- isCtxDependent - Variable in class org.antlr.v4.runtime.atn.ActionTransition
- isCtxDependent - Variable in class org.antlr.v4.runtime.atn.PredicateTransition
- isCtxDependent - Variable in class org.antlr.v4.runtime.atn.SemanticContext.Predicate
- isEmpty() - Method in class org.antlr.v4.runtime.atn.ArrayPredictionContext
- isEmpty() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- isEmpty() - Method in class org.antlr.v4.runtime.atn.EmptyPredictionContext
- isEmpty() - Method in class org.antlr.v4.runtime.atn.PredictionContext
-
This means only the
PredictionContext.EMPTY
(wildcard? not sure) context is in set. - isEmpty() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- isEmpty() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- isEmpty() - Method in class org.antlr.v4.runtime.misc.IntegerList
- isEmpty() - Method in class org.antlr.v4.runtime.RuleContext
-
A context is empty if there is no invoking state; meaning nobody called current context.
- isEpsilon() - Method in class org.antlr.v4.runtime.atn.ActionTransition
- isEpsilon() - Method in class org.antlr.v4.runtime.atn.EpsilonTransition
- isEpsilon() - Method in class org.antlr.v4.runtime.atn.PrecedencePredicateTransition
- isEpsilon() - Method in class org.antlr.v4.runtime.atn.PredicateTransition
- isEpsilon() - Method in class org.antlr.v4.runtime.atn.RuleTransition
- isEpsilon() - Method in class org.antlr.v4.runtime.atn.Transition
-
Determines if the transition is an "epsilon" transition.
- isExpectedToken(int) - Method in class org.antlr.v4.runtime.Parser
-
Checks whether or not
symbol
can follow the current state in the ATN. - isGenerateRuleBypassTransitions() - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
- isLeftRecursiveRule - Variable in class org.antlr.v4.runtime.atn.RuleStartState
- isMatchedEOF() - Method in class org.antlr.v4.runtime.Parser
- isNameChar(int) - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- isNameStartChar(int) - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- isNil() - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Returns
true
if this set contains no elements. - isNil() - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Returns
true
if this set contains no elements. - isNonGreedyExitState() - Method in class org.antlr.v4.runtime.atn.ATNState
- isPositionDependent() - Method in interface org.antlr.v4.runtime.atn.LexerAction
-
Gets whether the lexer action is position-dependent.
- isPositionDependent() - Method in class org.antlr.v4.runtime.atn.LexerChannelAction
-
Gets whether the lexer action is position-dependent.
- isPositionDependent() - Method in class org.antlr.v4.runtime.atn.LexerCustomAction
-
Gets whether the lexer action is position-dependent.
- isPositionDependent() - Method in class org.antlr.v4.runtime.atn.LexerIndexedCustomAction
-
Gets whether the lexer action is position-dependent.
- isPositionDependent() - Method in class org.antlr.v4.runtime.atn.LexerModeAction
-
Gets whether the lexer action is position-dependent.
- isPositionDependent() - Method in class org.antlr.v4.runtime.atn.LexerMoreAction
-
Gets whether the lexer action is position-dependent.
- isPositionDependent() - Method in class org.antlr.v4.runtime.atn.LexerPopModeAction
-
Gets whether the lexer action is position-dependent.
- isPositionDependent() - Method in class org.antlr.v4.runtime.atn.LexerPushModeAction
-
Gets whether the lexer action is position-dependent.
- isPositionDependent() - Method in class org.antlr.v4.runtime.atn.LexerSkipAction
-
Gets whether the lexer action is position-dependent.
- isPositionDependent() - Method in class org.antlr.v4.runtime.atn.LexerTypeAction
-
Gets whether the lexer action is position-dependent.
- isPrecedenceDecision - Variable in class org.antlr.v4.runtime.atn.StarLoopEntryState
-
Indicates whether this state can benefit from a precedence DFA during SLL decision making.
- isPrecedenceDfa() - Method in class org.antlr.v4.runtime.dfa.DFA
-
Gets whether this DFA is a precedence DFA.
- isPrecedenceFilterSuppressed() - Method in class org.antlr.v4.runtime.atn.ATNConfig
- isReadonly() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- isReadonly() - Method in class org.antlr.v4.runtime.misc.IntervalSet
- isReadOnly() - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
- isTrace() - Method in class org.antlr.v4.runtime.Parser
-
Gets whether a
Parser.TraceListener
is registered as a parse listener for the parser. - isVerifyATN() - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
- IterativeParseTreeWalker - Class in org.antlr.v4.runtime.tree
-
An iterative (read: non-recursive) pre-order and post-order tree walker that doesn't use the thread stack but heap-based stacks.
- IterativeParseTreeWalker() - Constructor for class org.antlr.v4.runtime.tree.IterativeParseTreeWalker
- iterator() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- iterator() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- iterator() - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
J
- join(Iterator<T>, String) - Static method in class org.antlr.v4.runtime.misc.Utils
- join(T[], String) - Static method in class org.antlr.v4.runtime.misc.Utils
K
- key - Variable in class org.antlr.v4.runtime.misc.FlexibleHashMap.Entry
- keySet() - Method in class org.antlr.v4.runtime.misc.DoubleKeyMap
-
get all primary keys
- keySet() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- keySet(Key1) - Method in class org.antlr.v4.runtime.misc.DoubleKeyMap
-
get all secondary keys associated with a primary key
L
- LA(int) - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- LA(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- LA(int) - Method in interface org.antlr.v4.runtime.IntStream
-
Gets the value of the symbol at offset
i
from the current position. - LA(int) - Method in class org.antlr.v4.runtime.UnbufferedCharStream
- LA(int) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- label - Variable in class org.antlr.v4.runtime.atn.AtomTransition
-
The token type or character value; or, signifies special label.
- label() - Method in class org.antlr.v4.runtime.atn.AtomTransition
- label() - Method in class org.antlr.v4.runtime.atn.RangeTransition
- label() - Method in class org.antlr.v4.runtime.atn.SetTransition
- label() - Method in class org.antlr.v4.runtime.atn.Transition
- lastChar - Variable in class org.antlr.v4.runtime.UnbufferedCharStream
-
This is the
LA(-1)
character for the current position. - lastCharBufferStart - Variable in class org.antlr.v4.runtime.UnbufferedCharStream
- lastErrorIndex - Variable in class org.antlr.v4.runtime.DefaultErrorStrategy
-
The index into the input stream where the last error occurred.
- lastErrorStates - Variable in class org.antlr.v4.runtime.DefaultErrorStrategy
- lastRewriteTokenIndexes - Variable in class org.antlr.v4.runtime.TokenStreamRewriter
-
Map String (program name) → Integer index
- lastToken - Variable in class org.antlr.v4.runtime.UnbufferedTokenStream
-
This is the
LT(-1)
token for the current position. - lastTokenBufferStart - Variable in class org.antlr.v4.runtime.UnbufferedTokenStream
- lazyInit() - Method in class org.antlr.v4.runtime.BufferedTokenStream
- LB(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- LB(int) - Method in class org.antlr.v4.runtime.CommonTokenStream
- length() - Method in class org.antlr.v4.runtime.misc.Interval
-
return number of elements between a and b inclusively.
- Lexer - Class in org.antlr.v4.runtime
-
A lexer is recognizer that draws input symbols from a character stream.
- Lexer() - Constructor for class org.antlr.v4.runtime.Lexer
- Lexer(CharStream) - Constructor for class org.antlr.v4.runtime.Lexer
- LEXER - org.antlr.v4.runtime.atn.ATNType
-
A lexer grammar.
- LexerAction - Interface in org.antlr.v4.runtime.atn
-
Represents a single action which can be executed following the successful match of a lexer rule.
- lexerActionExecutor - Variable in class org.antlr.v4.runtime.dfa.DFAState
- LexerActionExecutor - Class in org.antlr.v4.runtime.atn
-
Represents an executor for a sequence of lexer actions which traversed during the matching operation of a lexer rule (token).
- LexerActionExecutor(LexerAction[]) - Constructor for class org.antlr.v4.runtime.atn.LexerActionExecutor
-
Constructs an executor for a sequence of
LexerAction
actions. - lexerActionFactory(LexerActionType, int, int) - Method in class org.antlr.v4.runtime.atn.ATNDeserializer
- lexerActions - Variable in class org.antlr.v4.runtime.atn.ATN
-
For lexer ATNs, this is an array of
LexerAction
objects which may be referenced by action transitions in the ATN. - LexerActionType - Enum in org.antlr.v4.runtime.atn
-
Represents the serialization type of a
LexerAction
. - LexerATNConfig - Class in org.antlr.v4.runtime.atn
- LexerATNConfig(ATNState, int, PredictionContext) - Constructor for class org.antlr.v4.runtime.atn.LexerATNConfig
- LexerATNConfig(ATNState, int, PredictionContext, LexerActionExecutor) - Constructor for class org.antlr.v4.runtime.atn.LexerATNConfig
- LexerATNConfig(LexerATNConfig, ATNState) - Constructor for class org.antlr.v4.runtime.atn.LexerATNConfig
- LexerATNConfig(LexerATNConfig, ATNState, LexerActionExecutor) - Constructor for class org.antlr.v4.runtime.atn.LexerATNConfig
- LexerATNConfig(LexerATNConfig, ATNState, PredictionContext) - Constructor for class org.antlr.v4.runtime.atn.LexerATNConfig
- LexerATNSimulator - Class in org.antlr.v4.runtime.atn
-
"dup" of ParserInterpreter
- LexerATNSimulator(ATN, DFA[], PredictionContextCache) - Constructor for class org.antlr.v4.runtime.atn.LexerATNSimulator
- LexerATNSimulator(Lexer, ATN, DFA[], PredictionContextCache) - Constructor for class org.antlr.v4.runtime.atn.LexerATNSimulator
- LexerATNSimulator.SimState - Class in org.antlr.v4.runtime.atn
-
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 - Class in org.antlr.v4.runtime.atn
-
Implements the
channel
lexer action by callingLexer.setChannel(int)
with the assigned channel. - LexerChannelAction(int) - Constructor for class org.antlr.v4.runtime.atn.LexerChannelAction
-
Constructs a new
channel
action with the specified channel value. - LexerConfigHashSet() - Constructor for class org.antlr.v4.runtime.atn.OrderedATNConfigSet.LexerConfigHashSet
- LexerCustomAction - Class in org.antlr.v4.runtime.atn
-
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. - LexerCustomAction(int, int) - Constructor for class org.antlr.v4.runtime.atn.LexerCustomAction
-
Constructs a custom lexer action with the specified rule and action indexes.
- LexerDFASerializer - Class in org.antlr.v4.runtime.dfa
- LexerDFASerializer(DFA) - Constructor for class org.antlr.v4.runtime.dfa.LexerDFASerializer
- LexerIndexedCustomAction - Class in org.antlr.v4.runtime.atn
-
This implementation of
LexerAction
is used for tracking input offsets for position-dependent actions within aLexerActionExecutor
. - LexerIndexedCustomAction(int, LexerAction) - Constructor for class org.antlr.v4.runtime.atn.LexerIndexedCustomAction
-
Constructs a new indexed custom action by associating a character offset with a
LexerAction
. - LexerInterpreter - Class in org.antlr.v4.runtime
- LexerInterpreter(String, Collection<String>, Collection<String>, Collection<String>, ATN, CharStream) - Constructor for class org.antlr.v4.runtime.LexerInterpreter
-
Deprecated.
- LexerInterpreter(String, Vocabulary, Collection<String>, Collection<String>, Collection<String>, ATN, CharStream) - Constructor for class org.antlr.v4.runtime.LexerInterpreter
- LexerInterpreter(String, Vocabulary, Collection<String>, Collection<String>, ATN, CharStream) - Constructor for class org.antlr.v4.runtime.LexerInterpreter
-
Deprecated.
- LexerModeAction - Class in org.antlr.v4.runtime.atn
-
Implements the
mode
lexer action by callingLexer.mode(int)
with the assigned mode. - LexerModeAction(int) - Constructor for class org.antlr.v4.runtime.atn.LexerModeAction
-
Constructs a new
mode
action with the specified mode value. - LexerMoreAction - Class in org.antlr.v4.runtime.atn
-
Implements the
more
lexer action by callingLexer.more()
. - LexerNoViableAltException - Exception in org.antlr.v4.runtime
- LexerNoViableAltException(Lexer, CharStream, int, ATNConfigSet) - Constructor for exception org.antlr.v4.runtime.LexerNoViableAltException
- LexerPopModeAction - Class in org.antlr.v4.runtime.atn
-
Implements the
popMode
lexer action by callingLexer.popMode()
. - LexerPushModeAction - Class in org.antlr.v4.runtime.atn
-
Implements the
pushMode
lexer action by callingLexer.pushMode(int)
with the assigned mode. - LexerPushModeAction(int) - Constructor for class org.antlr.v4.runtime.atn.LexerPushModeAction
-
Constructs a new
pushMode
action with the specified mode value. - LexerSkipAction - Class in org.antlr.v4.runtime.atn
-
Implements the
skip
lexer action by callingLexer.skip()
. - LexerTypeAction - Class in org.antlr.v4.runtime.atn
-
Implements the
type
lexer action by callingLexer.setType(int)
with the assigned type. - LexerTypeAction(int) - Constructor for class org.antlr.v4.runtime.atn.LexerTypeAction
-
Constructs a new
type
action with the specified token type value. - line - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
line number 1..n within the input
- line - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator.SimState
- line - Variable in class org.antlr.v4.runtime.CommonToken
-
This is the backing field for
CommonToken.getLine()
andCommonToken.setLine(int)
. - line - Variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- ListTokenSource - Class in org.antlr.v4.runtime
-
Provides an implementation of
TokenSource
as a wrapper around a list ofToken
objects. - ListTokenSource(List<? extends Token>) - Constructor for class org.antlr.v4.runtime.ListTokenSource
-
Constructs a new
ListTokenSource
instance from the specified collection ofToken
objects. - ListTokenSource(List<? extends Token>, String) - Constructor for class org.antlr.v4.runtime.ListTokenSource
-
Constructs a new
ListTokenSource
instance from the specified collection ofToken
objects and source name. - LL - org.antlr.v4.runtime.atn.PredictionMode
-
The LL(*) prediction mode.
- LL_ATNTransitions - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
The total number of ATN transitions required during LL prediction for this decision.
- LL_DFATransitions - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
The total number of DFA transitions required during LL prediction for this decision.
- LL_EXACT_AMBIG_DETECTION - org.antlr.v4.runtime.atn.PredictionMode
-
The LL(*) prediction mode with exact ambiguity detection.
- LL_Fallback - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
Gets the total number of times SLL prediction completed in a conflict state, resulting in fallback to LL prediction.
- LL_MaxLook - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
Gets the maximum lookahead required for any single LL prediction to complete for this decision.
- LL_MaxLookEvent - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
Gets the
LookaheadEventInfo
associated with the event where theDecisionInfo.LL_MaxLook
value was set. - LL_MinLook - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
Gets the minimum lookahead required for any single LL prediction to complete for this decision.
- LL_TotalLook - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
The sum of the lookahead required for LL prediction for this decision.
- LL1Analyzer - Class in org.antlr.v4.runtime.atn
- LL1Analyzer(ATN) - Constructor for class org.antlr.v4.runtime.atn.LL1Analyzer
- load(Reader, int, int) - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- load(String, String) - Method in class org.antlr.v4.runtime.ANTLRFileStream
-
Deprecated.
- LOAD_FACTOR - Static variable in class org.antlr.v4.runtime.misc.Array2DHashSet
- LOAD_FACTOR - Static variable in class org.antlr.v4.runtime.misc.FlexibleHashMap
- log(String) - Method in class org.antlr.v4.runtime.misc.LogManager
- log(String, String) - Method in class org.antlr.v4.runtime.misc.LogManager
- LogManager - Class in org.antlr.v4.runtime.misc
- LogManager() - Constructor for class org.antlr.v4.runtime.misc.LogManager
- LogManager.Record - Class in org.antlr.v4.runtime.misc
- LOOK(ATNState, ATNState, RuleContext) - Method in class org.antlr.v4.runtime.atn.LL1Analyzer
-
Compute set of tokens that can follow
s
in the ATN in the specifiedctx
. - LOOK(ATNState, RuleContext) - Method in class org.antlr.v4.runtime.atn.LL1Analyzer
-
Compute set of tokens that can follow
s
in the ATN in the specifiedctx
. - LookaheadEventInfo - Class in org.antlr.v4.runtime.atn
-
This class represents profiling event information for tracking the lookahead depth required in order to make a prediction.
- LookaheadEventInfo(int, ATNConfigSet, int, TokenStream, int, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.LookaheadEventInfo
-
Constructs a new instance of the
LookaheadEventInfo
class with the specified detailed lookahead information. - LOOP_END - Static variable in class org.antlr.v4.runtime.atn.ATNState
- loopBackState - Variable in class org.antlr.v4.runtime.atn.LoopEndState
- loopBackState - Variable in class org.antlr.v4.runtime.atn.PlusBlockStartState
- loopBackState - Variable in class org.antlr.v4.runtime.atn.StarLoopEntryState
- LoopEndState - Class in org.antlr.v4.runtime.atn
-
Mark the end of a * or + loop.
- LoopEndState() - Constructor for class org.antlr.v4.runtime.atn.LoopEndState
- LT(int) - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- LT(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- LT(int) - Method in class org.antlr.v4.runtime.CommonTokenStream
- LT(int) - Method in interface org.antlr.v4.runtime.TokenStream
- LT(int) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
M
- main(String[]) - Static method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- main(String[]) - Static method in class org.antlr.v4.runtime.misc.LogManager
- main(String[]) - Static method in class org.antlr.v4.runtime.misc.TestRig
-
Deprecated.
- makeReadOnly() - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
- map(K, V) - Method in class org.antlr.v4.runtime.misc.MultiMap
- mark() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.mark/release do nothing; we have entire buffer
- mark() - Method in class org.antlr.v4.runtime.BufferedTokenStream
- mark() - Method in class org.antlr.v4.runtime.CodePointCharStream
-
mark/release do nothing; we have entire buffer
- mark() - Method in interface org.antlr.v4.runtime.IntStream
- mark() - Method in class org.antlr.v4.runtime.UnbufferedCharStream
-
Return a marker that we can release later.
- mark() - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
-
Return a marker that we can release later.
- markPrecedenceDecisions(ATN) - Method in class org.antlr.v4.runtime.atn.ATNDeserializer
-
Analyze the
StarLoopEntryState
states in the specified ATN to set theStarLoopEntryState.isPrecedenceDecision
field to the correct value. - match(int) - Method in class org.antlr.v4.runtime.Parser
-
Match current input symbol against
ttype
. - match(CharStream, int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- match(ParseTree) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePattern
-
Match a specific parse tree against this tree pattern.
- match(ParseTree, String, int) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
-
Compare
pattern
matched as rulepatternRuleIndex
againsttree
and return aParseTreeMatch
object that contains the matched elements, or the node at which the match failed. - match(ParseTree, ParseTreePattern) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
-
Compare
pattern
matched againsttree
and return aParseTreeMatch
object that contains the matched elements, or the node at which the match failed. - matchATN(CharStream) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- matchedEOF - Variable in class org.antlr.v4.runtime.Parser
-
Indicates parser has match()ed EOF token.
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.ActionTransition
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.AtomTransition
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.EpsilonTransition
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.NotSetTransition
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.PrecedencePredicateTransition
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.PredicateTransition
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.RangeTransition
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.RuleTransition
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.SetTransition
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.Transition
- matches(int, int, int) - Method in class org.antlr.v4.runtime.atn.WildcardTransition
- matches(ParseTree) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePattern
-
Determine whether or not a parse tree matches this tree pattern.
- matches(ParseTree, String, int) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
-
Does
pattern
matched as rulepatternRuleIndex
matchtree
? - matches(ParseTree, ParseTreePattern) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
-
Does
pattern
matched as rule patternRuleIndex match tree? Pass in a compiled pattern instead of a string representation of a tree pattern. - matchID() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- matchImpl(ParseTree, ParseTree, MultiMap<String, ParseTree>) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
- matchString() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- matchWildcard() - Method in class org.antlr.v4.runtime.Parser
-
Match current input symbol as a wildcard.
- MAX_CHAR_VALUE - Static variable in class org.antlr.v4.runtime.Lexer
- MAX_DFA_EDGE - Static variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
- maxTokenType - Variable in class org.antlr.v4.runtime.atn.ATN
-
The maximum value for any symbol recognized by a transition in the ATN.
- merge(PredictionContext, PredictionContext, boolean, DoubleKeyMap<PredictionContext, PredictionContext, PredictionContext>) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
- mergeArrays(ArrayPredictionContext, ArrayPredictionContext, boolean, DoubleKeyMap<PredictionContext, PredictionContext, PredictionContext>) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
-
Merge two
ArrayPredictionContext
instances. - mergeCache - Variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Each prediction operation uses a cache for merge of prediction contexts.
- mergeRoot(SingletonPredictionContext, SingletonPredictionContext, boolean) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
- mergeSingletons(SingletonPredictionContext, SingletonPredictionContext, boolean, DoubleKeyMap<PredictionContext, PredictionContext, PredictionContext>) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
-
Merge two
SingletonPredictionContext
instances. - MIN_CHAR_VALUE - Static variable in class org.antlr.v4.runtime.Lexer
- MIN_DFA_EDGE - Static variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
- MIN_TOKEN_INDEX - Static variable in class org.antlr.v4.runtime.TokenStreamRewriter
- MIN_USER_CHANNEL_VALUE - Static variable in interface org.antlr.v4.runtime.Token
-
This is the minimum constant value which can be assigned to a user-defined token channel.
- MIN_USER_TOKEN_TYPE - Static variable in interface org.antlr.v4.runtime.Token
- misses - Static variable in class org.antlr.v4.runtime.misc.Interval
- mode - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
- mode(int) - Method in class org.antlr.v4.runtime.Lexer
- MODE - org.antlr.v4.runtime.atn.LexerActionType
-
The type of a
LexerModeAction
action. - modeNames - Variable in class org.antlr.v4.runtime.LexerInterpreter
- modeNames - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- modeNameToStartState - Variable in class org.antlr.v4.runtime.atn.ATN
- modeToStartState - Variable in class org.antlr.v4.runtime.atn.ATN
- more() - Method in class org.antlr.v4.runtime.Lexer
- MORE - org.antlr.v4.runtime.atn.LexerActionType
-
The type of a
LexerMoreAction
action. - MORE - Static variable in class org.antlr.v4.runtime.Lexer
- MultiMap<K,V> - Class in org.antlr.v4.runtime.misc
- MultiMap() - Constructor for class org.antlr.v4.runtime.misc.MultiMap
- MurmurHash - Class in org.antlr.v4.runtime.misc
N
- n - Variable in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.How many characters are actually in the buffer
- n - Variable in class org.antlr.v4.runtime.misc.Array2DHashSet
-
How many elements in set
- n - Variable in class org.antlr.v4.runtime.misc.FlexibleHashMap
-
How many elements in set
- n - Variable in class org.antlr.v4.runtime.UnbufferedCharStream
-
The number of characters currently in
data
. - n - Variable in class org.antlr.v4.runtime.UnbufferedTokenStream
-
The number of tokens currently in
tokens
. - name - Variable in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.What is name or source of this char stream?
- name - Variable in class org.antlr.v4.runtime.CodePointCharStream
- name - Variable in class org.antlr.v4.runtime.UnbufferedCharStream
-
The name or source of this char stream.
- newlines(int) - Static method in class org.antlr.v4.runtime.misc.Utils
- next() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet.SetIterator
- nextChar() - Method in class org.antlr.v4.runtime.UnbufferedCharStream
-
Override to provide different source of characters than
input
. - nextToken() - Method in class org.antlr.v4.runtime.Lexer
-
Return a token from this source; i.e., match a token on the char stream.
- nextToken() - Method in class org.antlr.v4.runtime.ListTokenSource
-
Return a
Token
object from your input stream (usually aCharStream
). - nextToken() - Method in interface org.antlr.v4.runtime.TokenSource
-
Return a
Token
object from your input stream (usually aCharStream
). - nextToken() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- nextTokenOnChannel(int, int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Given a starting index, return the index of the next token on channel.
- nextTokens(ATNState) - Method in class org.antlr.v4.runtime.atn.ATN
-
Compute the set of valid tokens that can occur starting in
s
and staying in same rule. - nextTokens(ATNState, RuleContext) - Method in class org.antlr.v4.runtime.atn.ATN
-
Compute the set of valid tokens that can occur starting in state
s
. - nextTokensContext - Variable in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This field is used to propagate information about the lookahead following the previous match.
- nextTokensState - Variable in class org.antlr.v4.runtime.DefaultErrorStrategy
- nextTokenWithinRule - Variable in class org.antlr.v4.runtime.atn.ATNState
-
Used to cache lookahead during parsing, not used during construction
- nodeName - Variable in class org.antlr.v4.runtime.tree.xpath.XPathElement
- NONE - Static variable in class org.antlr.v4.runtime.atn.SemanticContext
-
The default
SemanticContext
, which is semantically equivalent to a predicate of the form{true}?
. - nonGreedy - Variable in class org.antlr.v4.runtime.atn.DecisionState
- NOT - Static variable in class org.antlr.v4.runtime.tree.xpath.XPath
- NOT_SET - Static variable in class org.antlr.v4.runtime.atn.Transition
- notifyErrorListeners(String) - Method in class org.antlr.v4.runtime.Parser
- notifyErrorListeners(Token, String, RecognitionException) - Method in class org.antlr.v4.runtime.Parser
- notifyListeners(LexerNoViableAltException) - Method in class org.antlr.v4.runtime.Lexer
- NotNull - Annotation Type in org.antlr.v4.runtime.misc
-
Deprecated.THIS IS HERE FOR BACKWARD COMPATIBILITY WITH 4.5 ONLY. It will disappear in 4.6+
- NotSetTransition - Class in org.antlr.v4.runtime.atn
- NotSetTransition(ATNState, IntervalSet) - Constructor for class org.antlr.v4.runtime.atn.NotSetTransition
- noViableAlt(TokenStream, ParserRuleContext, ATNConfigSet, int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- NoViableAltException - Exception in org.antlr.v4.runtime
-
Indicates that the parser could not decide which of two or more paths to take based upon the remaining input.
- NoViableAltException(Parser) - Constructor for exception org.antlr.v4.runtime.NoViableAltException
- NoViableAltException(Parser, TokenStream, Token, Token, ATNConfigSet, ParserRuleContext) - Constructor for exception org.antlr.v4.runtime.NoViableAltException
- numDecisions - Variable in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- numMarkers - Variable in class org.antlr.v4.runtime.UnbufferedCharStream
- numMarkers - Variable in class org.antlr.v4.runtime.UnbufferedTokenStream
- numNonnull(Object[]) - Static method in class org.antlr.v4.runtime.misc.Utils
O
- ObjectEqualityComparator - Class in org.antlr.v4.runtime.misc
-
This default implementation of
EqualityComparator
uses object equality for comparisons by callingObject.hashCode()
andObject.equals(java.lang.Object)
. - ObjectEqualityComparator() - Constructor for class org.antlr.v4.runtime.misc.ObjectEqualityComparator
- of(int) - Static method in class org.antlr.v4.runtime.misc.IntervalSet
-
Create a set with a single element, el.
- of(int, int) - Static method in class org.antlr.v4.runtime.misc.Interval
-
Interval objects are used readonly so share all with the same single value a==b up to some max size.
- of(int, int) - Static method in class org.antlr.v4.runtime.misc.IntervalSet
-
Create a set with all ints within range [a..b] (inclusive)
- onlyHasEpsilonTransitions() - Method in class org.antlr.v4.runtime.atn.ATNState
- Operator() - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.Operator
- opnds - Variable in class org.antlr.v4.runtime.atn.SemanticContext.AND
- opnds - Variable in class org.antlr.v4.runtime.atn.SemanticContext.OR
- optimizeConfigs(ATNSimulator) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- or(SemanticContext, SemanticContext) - Static method in class org.antlr.v4.runtime.atn.SemanticContext
- or(IntervalSet[]) - Static method in class org.antlr.v4.runtime.misc.IntervalSet
-
combine all sets in the array returned the or'd value
- or(IntSet) - Method in class org.antlr.v4.runtime.misc.IntervalSet
- or(IntSet) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Return a new
IntSet
object containing all elements that are present in the current set, the specified seta
, or both. - OR(SemanticContext, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.OR
- OrderedATNConfigSet - Class in org.antlr.v4.runtime.atn
- OrderedATNConfigSet() - Constructor for class org.antlr.v4.runtime.atn.OrderedATNConfigSet
- OrderedATNConfigSet.LexerConfigHashSet - Class in org.antlr.v4.runtime.atn
- OrderedHashSet<T> - Class in org.antlr.v4.runtime.misc
-
A HashMap that remembers the order that the elements were added.
- OrderedHashSet() - Constructor for class org.antlr.v4.runtime.misc.OrderedHashSet
- org.antlr.v4.runtime - package org.antlr.v4.runtime
- org.antlr.v4.runtime.atn - package org.antlr.v4.runtime.atn
- org.antlr.v4.runtime.dfa - package org.antlr.v4.runtime.dfa
- org.antlr.v4.runtime.misc - package org.antlr.v4.runtime.misc
- org.antlr.v4.runtime.tree - package org.antlr.v4.runtime.tree
- org.antlr.v4.runtime.tree.pattern - package org.antlr.v4.runtime.tree.pattern
- org.antlr.v4.runtime.tree.xpath - package org.antlr.v4.runtime.tree.xpath
- outermostPrecedenceReturn() - Method in class org.antlr.v4.runtime.atn.EpsilonTransition
- outOfRange - Static variable in class org.antlr.v4.runtime.misc.Interval
- overrideDecision - Variable in class org.antlr.v4.runtime.ParserInterpreter
-
We need a map from (decision,inputIndex)->forced alt for computing ambiguous parse trees.
- overrideDecisionAlt - Variable in class org.antlr.v4.runtime.ParserInterpreter
- overrideDecisionInputIndex - Variable in class org.antlr.v4.runtime.ParserInterpreter
- overrideDecisionReached - Variable in class org.antlr.v4.runtime.ParserInterpreter
- overrideDecisionRoot - Variable in class org.antlr.v4.runtime.ParserInterpreter
-
What is the current context when we override a decisions? This tells us what the root of the parse tree is when using override for an ambiguity/lookahead check.
P
- p - Variable in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.0..n-1 index into string of next char
- p - Variable in class org.antlr.v4.runtime.BufferedTokenStream
-
The index into
BufferedTokenStream.tokens
of the current token (next token toBufferedTokenStream.consume()
). - p - Variable in class org.antlr.v4.runtime.UnbufferedCharStream
-
0..n-1 index into
data
of next character. - p - Variable in class org.antlr.v4.runtime.UnbufferedTokenStream
-
0..n-1 index into
tokens
of next token. - Pair<A,B> - Class in org.antlr.v4.runtime.misc
- Pair(A, B) - Constructor for class org.antlr.v4.runtime.misc.Pair
- parent - Variable in class org.antlr.v4.runtime.atn.SingletonPredictionContext
- parent - Variable in class org.antlr.v4.runtime.RuleContext
-
What context invoked this rule?
- parent - Variable in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- parents - Variable in class org.antlr.v4.runtime.atn.ArrayPredictionContext
-
Parent can be null only if full ctx mode and we make an array from
PredictionContext.EMPTY
and non-empty. - parse(int) - Method in class org.antlr.v4.runtime.ParserInterpreter
-
Begin parsing at startRuleIndex
- ParseCancellationException - Exception in org.antlr.v4.runtime.misc
-
This exception is thrown to cancel a parsing operation.
- ParseCancellationException() - Constructor for exception org.antlr.v4.runtime.misc.ParseCancellationException
- ParseCancellationException(String) - Constructor for exception org.antlr.v4.runtime.misc.ParseCancellationException
- ParseCancellationException(String, Throwable) - Constructor for exception org.antlr.v4.runtime.misc.ParseCancellationException
- ParseCancellationException(Throwable) - Constructor for exception org.antlr.v4.runtime.misc.ParseCancellationException
- parseFile(String) - Static method in class org.antlr.v4.runtime.misc.InterpreterDataReader
-
The structure of the data file is very simple.
- ParseInfo - Class in org.antlr.v4.runtime.atn
-
This class provides access to specific and aggregate statistics gathered during profiling of a parser.
- ParseInfo(ProfilingATNSimulator) - Constructor for class org.antlr.v4.runtime.atn.ParseInfo
- parser - Variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
- parser - Variable in class org.antlr.v4.runtime.tree.xpath.XPath
- Parser - Class in org.antlr.v4.runtime
-
This is all the parsing support code essentially; most of it is error recovery stuff.
- Parser(TokenStream) - Constructor for class org.antlr.v4.runtime.Parser
- PARSER - org.antlr.v4.runtime.atn.ATNType
-
A parser grammar.
- Parser.TraceListener - Class in org.antlr.v4.runtime
- Parser.TrimToSizeListener - Class in org.antlr.v4.runtime
- ParserATNSimulator - Class in org.antlr.v4.runtime.atn
-
The embodiment of the adaptive LL(*), ALL(*), parsing strategy.
- ParserATNSimulator(ATN, DFA[], PredictionContextCache) - Constructor for class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Testing only!
- ParserATNSimulator(Parser, ATN, DFA[], PredictionContextCache) - Constructor for class org.antlr.v4.runtime.atn.ParserATNSimulator
- ParserInterpreter - Class in org.antlr.v4.runtime
-
A parser simulator that mimics what ANTLR's generated parser code does.
- ParserInterpreter(String, Collection<String>, Collection<String>, ATN, TokenStream) - Constructor for class org.antlr.v4.runtime.ParserInterpreter
-
Deprecated.
- ParserInterpreter(String, Vocabulary, Collection<String>, ATN, TokenStream) - Constructor for class org.antlr.v4.runtime.ParserInterpreter
- ParserRuleContext - Class in org.antlr.v4.runtime
-
A rule invocation record for parsing.
- ParserRuleContext() - Constructor for class org.antlr.v4.runtime.ParserRuleContext
- ParserRuleContext(ParserRuleContext, int) - Constructor for class org.antlr.v4.runtime.ParserRuleContext
- ParseTree - Interface in org.antlr.v4.runtime.tree
-
An interface to access the tree of
RuleContext
objects created during a parse that makes the data structure look like a simple parse tree. - ParseTreeListener - Interface in org.antlr.v4.runtime.tree
-
This interface describes the minimal core of methods triggered by
ParseTreeWalker
. - ParseTreeMatch - Class in org.antlr.v4.runtime.tree.pattern
-
Represents the result of matching a
ParseTree
against a tree pattern. - ParseTreeMatch(ParseTree, ParseTreePattern, MultiMap<String, ParseTree>, ParseTree) - Constructor for class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Constructs a new instance of
ParseTreeMatch
from the specified parse tree and pattern. - ParseTreePattern - Class in org.antlr.v4.runtime.tree.pattern
-
A pattern like
<ID> = <expr>;
converted to aParseTree
byParseTreePatternMatcher.compile(String, int)
. - ParseTreePattern(ParseTreePatternMatcher, String, int, ParseTree) - Constructor for class org.antlr.v4.runtime.tree.pattern.ParseTreePattern
-
Construct a new instance of the
ParseTreePattern
class. - ParseTreePatternMatcher - Class in org.antlr.v4.runtime.tree.pattern
-
A tree pattern matching mechanism for ANTLR
ParseTree
s. - ParseTreePatternMatcher(Lexer, Parser) - Constructor for class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
- ParseTreePatternMatcher.CannotInvokeStartRule - Exception in org.antlr.v4.runtime.tree.pattern
- ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern - Exception in org.antlr.v4.runtime.tree.pattern
- ParseTreeProperty<V> - Class in org.antlr.v4.runtime.tree
-
Associate a property with a parse tree node.
- ParseTreeProperty() - Constructor for class org.antlr.v4.runtime.tree.ParseTreeProperty
- ParseTreeVisitor<T> - Interface in org.antlr.v4.runtime.tree
-
This interface defines the basic notion of a parse tree visitor.
- ParseTreeWalker - Class in org.antlr.v4.runtime.tree
- ParseTreeWalker() - Constructor for class org.antlr.v4.runtime.tree.ParseTreeWalker
- path - Variable in class org.antlr.v4.runtime.tree.xpath.XPath
- peek() - Method in class org.antlr.v4.runtime.misc.IntegerStack
- PLUS_BLOCK_START - Static variable in class org.antlr.v4.runtime.atn.ATNState
- PLUS_LOOP_BACK - Static variable in class org.antlr.v4.runtime.atn.ATNState
- PlusBlockStartState - Class in org.antlr.v4.runtime.atn
-
Start of
(A|B|...)+
loop. - PlusBlockStartState() - Constructor for class org.antlr.v4.runtime.atn.PlusBlockStartState
- PlusLoopbackState - Class in org.antlr.v4.runtime.atn
-
Decision state for
A+
and(A|B)+
. - PlusLoopbackState() - Constructor for class org.antlr.v4.runtime.atn.PlusLoopbackState
- pop() - Method in class org.antlr.v4.runtime.misc.IntegerStack
- POP_MODE - org.antlr.v4.runtime.atn.LexerActionType
-
The type of a
LexerPopModeAction
action. - popMode() - Method in class org.antlr.v4.runtime.Lexer
- position - Variable in class org.antlr.v4.runtime.CodePointCharStream
- position() - Method in class org.antlr.v4.runtime.CodePointBuffer
- position(int) - Method in class org.antlr.v4.runtime.CodePointBuffer
- precedence - Variable in class org.antlr.v4.runtime.atn.PrecedencePredicateTransition
- precedence - Variable in class org.antlr.v4.runtime.atn.RuleTransition
- precedence - Variable in class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
- PRECEDENCE - Static variable in class org.antlr.v4.runtime.atn.Transition
- PrecedencePredicate() - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
- PrecedencePredicate(int) - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
- PrecedencePredicateTransition - Class in org.antlr.v4.runtime.atn
- PrecedencePredicateTransition(ATNState, int) - Constructor for class org.antlr.v4.runtime.atn.PrecedencePredicateTransition
- precedenceTransition(ATNConfig, PrecedencePredicateTransition, boolean, boolean, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- precpred(RuleContext, int) - Method in class org.antlr.v4.runtime.Parser
- precpred(RuleContext, int) - Method in class org.antlr.v4.runtime.Recognizer
- pred - Variable in class org.antlr.v4.runtime.dfa.DFAState.PredPrediction
- Predicate<T> - Interface in org.antlr.v4.runtime.misc
- Predicate() - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.Predicate
- Predicate(int, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.Predicate
- PREDICATE - Static variable in class org.antlr.v4.runtime.atn.Transition
- predicateDFAState(DFAState, DecisionState) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- PredicateEvalInfo - Class in org.antlr.v4.runtime.atn
-
This class represents profiling event information for semantic predicate evaluations which occur during prediction.
- PredicateEvalInfo(int, TokenStream, int, int, SemanticContext, boolean, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.PredicateEvalInfo
-
Constructs a new instance of the
PredicateEvalInfo
class with the specified detailed predicate evaluation information. - predicateEvals - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
A collection of
PredicateEvalInfo
instances describing the results of evaluating individual predicates during prediction for this decision. - predicates - Variable in class org.antlr.v4.runtime.dfa.DFAState
-
During SLL parsing, this is a list of predicates associated with the ATN configurations of the DFA state.
- PredicateTransition - Class in org.antlr.v4.runtime.atn
-
TODO: this is old comment: A tree of semantic predicates from the grammar AST if label==SEMPRED.
- PredicateTransition(ATNState, int, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.PredicateTransition
- predictedAlt - Variable in class org.antlr.v4.runtime.atn.LookaheadEventInfo
-
The alternative chosen by adaptivePredict(), not necessarily the outermost alt shown for a rule; left-recursive rules have user-level alts that differ from the rewritten rule with a (...) block and a (..)* loop.
- predictedAlt - Variable in class org.antlr.v4.runtime.atn.PredicateEvalInfo
-
The alternative number for the decision which is guarded by the semantic context
PredicateEvalInfo.semctx
. - prediction - Variable in class org.antlr.v4.runtime.dfa.DFAState
-
if accept state, what ttype do we match or alt do we predict? This is set to
ATN.INVALID_ALT_NUMBER
whenDFAState.predicates
!=null
orDFAState.requiresFullContext
. - PredictionContext - Class in org.antlr.v4.runtime.atn
- PredictionContext(int) - Constructor for class org.antlr.v4.runtime.atn.PredictionContext
- PredictionContextCache - Class in org.antlr.v4.runtime.atn
-
Used to cache
PredictionContext
objects. - PredictionContextCache() - Constructor for class org.antlr.v4.runtime.atn.PredictionContextCache
- PredictionMode - Enum in org.antlr.v4.runtime.atn
-
This enumeration defines the prediction modes available in ANTLR 4 along with utility methods for analyzing configuration sets for conflicts and/or ambiguities.
- predIndex - Variable in class org.antlr.v4.runtime.atn.PredicateTransition
- predIndex - Variable in class org.antlr.v4.runtime.atn.SemanticContext.Predicate
- PredPrediction(SemanticContext, int) - Constructor for class org.antlr.v4.runtime.dfa.DFAState.PredPrediction
- predTransition(ATNConfig, PredicateTransition, boolean, boolean, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- prevAccept - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
Used during DFA/ATN exec to record the most recent accept configuration info
- previousTokenOnChannel(int, int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Given a starting index, return the index of the previous token on channel.
- ProfilingATNSimulator - Class in org.antlr.v4.runtime.atn
- ProfilingATNSimulator(Parser) - Constructor for class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- PROGRAM_INIT_SIZE - Static variable in class org.antlr.v4.runtime.TokenStreamRewriter
- programs - Variable in class org.antlr.v4.runtime.TokenStreamRewriter
-
You may have multiple, named streams of rewrite operations.
- properlyContains(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
- ProxyErrorListener - Class in org.antlr.v4.runtime
-
This implementation of
ANTLRErrorListener
dispatches all calls to a collection of delegate listeners. - ProxyErrorListener(Collection<? extends ANTLRErrorListener>) - Constructor for class org.antlr.v4.runtime.ProxyErrorListener
- push(int) - Method in class org.antlr.v4.runtime.misc.IntegerStack
- PUSH_MODE - org.antlr.v4.runtime.atn.LexerActionType
-
The type of a
LexerPushModeAction
action. - pushMode(int) - Method in class org.antlr.v4.runtime.Lexer
- pushNewRecursionContext(ParserRuleContext, int, int) - Method in class org.antlr.v4.runtime.Parser
-
Like
Parser.enterRule(org.antlr.v4.runtime.ParserRuleContext, int, int)
but for recursive rules. - put(Key1, Key2, Value) - Method in class org.antlr.v4.runtime.misc.DoubleKeyMap
- put(K, V) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- put(ParseTree, V) - Method in class org.antlr.v4.runtime.tree.ParseTreeProperty
- putAll(Map<? extends K, ? extends V>) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
R
- RANGE - Static variable in class org.antlr.v4.runtime.atn.Transition
- RangeTransition - Class in org.antlr.v4.runtime.atn
- RangeTransition(ATNState, int, int) - Constructor for class org.antlr.v4.runtime.atn.RangeTransition
- reachesIntoOuterContext - Variable in class org.antlr.v4.runtime.atn.ATNConfig
-
We cannot execute predicates dependent upon local context unless we know for sure we are in the correct context.
- READ_BUFFER_SIZE - Static variable in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- readFile(String) - Static method in class org.antlr.v4.runtime.misc.Utils
- readFile(String, String) - Static method in class org.antlr.v4.runtime.misc.Utils
- readonly - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
-
Indicates that the set of configurations is read-only.
- readonly - Variable in class org.antlr.v4.runtime.misc.IntervalSet
- recog - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
- RecognitionException - Exception in org.antlr.v4.runtime
-
The root of the ANTLR exception hierarchy.
- RecognitionException(String, Recognizer<?, ?>, IntStream, ParserRuleContext) - Constructor for exception org.antlr.v4.runtime.RecognitionException
- RecognitionException(Recognizer<?, ?>, IntStream, ParserRuleContext) - Constructor for exception org.antlr.v4.runtime.RecognitionException
- Recognizer<Symbol,ATNInterpreter extends ATNSimulator> - Class in org.antlr.v4.runtime
- Recognizer() - Constructor for class org.antlr.v4.runtime.Recognizer
- Record() - Constructor for class org.antlr.v4.runtime.misc.LogManager.Record
- records - Variable in class org.antlr.v4.runtime.misc.LogManager
- recover(LexerNoViableAltException) - Method in class org.antlr.v4.runtime.Lexer
- recover(Parser, RecognitionException) - Method in interface org.antlr.v4.runtime.ANTLRErrorStrategy
-
This method is called to recover from exception
e
. - recover(Parser, RecognitionException) - Method in class org.antlr.v4.runtime.BailErrorStrategy
-
Instead of recovering from exception
e
, re-throw it wrapped in aParseCancellationException
so it is not caught by the rule function catches. - recover(Parser, RecognitionException) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method is called to recover from exception
e
. - recover(RecognitionException) - Method in class org.antlr.v4.runtime.Lexer
-
Lexers can normally match any char in it's vocabulary after matching a token, so do the easy thing and just kill a character and hope it all works out.
- recover(RecognitionException) - Method in class org.antlr.v4.runtime.ParserInterpreter
-
Rely on the error handler for this parser but, if no tokens are consumed to recover, add an error node.
- recoverInline() - Method in class org.antlr.v4.runtime.ParserInterpreter
- recoverInline(Parser) - Method in interface org.antlr.v4.runtime.ANTLRErrorStrategy
-
This method is called when an unexpected symbol is encountered during an inline match operation, such as
Parser.match(int)
. - recoverInline(Parser) - Method in class org.antlr.v4.runtime.BailErrorStrategy
-
Make sure we don't attempt to recover inline; if the parser successfully recovers, it won't throw an exception.
- recoverInline(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method is called when an unexpected symbol is encountered during an inline match operation, such as
Parser.match(int)
. - reduceToSingleOperationPerIndex(List<TokenStreamRewriter.RewriteOperation>) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
We need to combine operations and report invalid operations (like overlapping replaces that are not completed nested).
- release(int) - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- release(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- release(int) - Method in class org.antlr.v4.runtime.CodePointCharStream
- release(int) - Method in interface org.antlr.v4.runtime.IntStream
-
This method releases a marked range created by a call to
mark()
. - release(int) - Method in class org.antlr.v4.runtime.UnbufferedCharStream
-
Decrement number of markers, resetting buffer if we hit 0.
- release(int) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- remaining() - Method in class org.antlr.v4.runtime.CodePointBuffer
- remove() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet.SetIterator
- remove(int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
- remove(int) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Removes the specified value from the current set.
- remove(int) - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
- remove(Object) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- remove(Object) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- remove(Object) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- remove(Object) - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
- removeAll(Collection<?>) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- removeAll(Collection<?>) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- removeAllConfigsNotInRuleStopState(ATNConfigSet, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Return a configuration set containing only the configurations from
configs
which are in aRuleStopState
. - removeAllElements(Collection<T>, T) - Static method in class org.antlr.v4.runtime.misc.Utils
- removeAt(int) - Method in class org.antlr.v4.runtime.misc.IntegerList
- removeErrorListener(ANTLRErrorListener) - Method in class org.antlr.v4.runtime.Recognizer
- removeErrorListeners() - Method in class org.antlr.v4.runtime.Recognizer
- removeFast(T) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- removeFrom(ParseTree) - Method in class org.antlr.v4.runtime.tree.ParseTreeProperty
- removeLastChild() - Method in class org.antlr.v4.runtime.ParserRuleContext
-
Used by enterOuterAlt to toss out a RuleContext previously added as we entered a rule.
- removeParseListener(ParseTreeListener) - Method in class org.antlr.v4.runtime.Parser
-
Remove
listener
from the list of parse listeners. - removeParseListeners() - Method in class org.antlr.v4.runtime.Parser
-
Remove all parse listeners.
- removeRange(int, int) - Method in class org.antlr.v4.runtime.misc.IntegerList
- removeState(ATNState) - Method in class org.antlr.v4.runtime.atn.ATN
- removeTransition(int) - Method in class org.antlr.v4.runtime.atn.ATNState
- replace(int, int, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- replace(int, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- replace(String, int, int, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- replace(String, Token, Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- replace(Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- replace(Token, Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- reportAmbiguity(DFA, DFAState, int, int, boolean, BitSet, ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
If context sensitive parsing, we know it's ambiguity not conflict
- reportAmbiguity(DFA, DFAState, int, int, boolean, BitSet, ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- reportAmbiguity(Parser, DFA, int, int, boolean, BitSet, ATNConfigSet) - Method in interface org.antlr.v4.runtime.ANTLRErrorListener
-
This method is called by the parser when a full-context prediction results in an ambiguity.
- reportAmbiguity(Parser, DFA, int, int, boolean, BitSet, ATNConfigSet) - Method in class org.antlr.v4.runtime.BaseErrorListener
- reportAmbiguity(Parser, DFA, int, int, boolean, BitSet, ATNConfigSet) - Method in class org.antlr.v4.runtime.DiagnosticErrorListener
- reportAmbiguity(Parser, DFA, int, int, boolean, BitSet, ATNConfigSet) - Method in class org.antlr.v4.runtime.ProxyErrorListener
- reportAttemptingFullContext(DFA, BitSet, ATNConfigSet, int, int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- reportAttemptingFullContext(DFA, BitSet, ATNConfigSet, int, int) - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- reportAttemptingFullContext(Parser, DFA, int, int, BitSet, ATNConfigSet) - Method in interface org.antlr.v4.runtime.ANTLRErrorListener
-
This method is called when an SLL conflict occurs and the parser is about to use the full context information to make an LL decision.
- reportAttemptingFullContext(Parser, DFA, int, int, BitSet, ATNConfigSet) - Method in class org.antlr.v4.runtime.BaseErrorListener
- reportAttemptingFullContext(Parser, DFA, int, int, BitSet, ATNConfigSet) - Method in class org.antlr.v4.runtime.DiagnosticErrorListener
- reportAttemptingFullContext(Parser, DFA, int, int, BitSet, ATNConfigSet) - Method in class org.antlr.v4.runtime.ProxyErrorListener
- reportContextSensitivity(DFA, int, ATNConfigSet, int, int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- reportContextSensitivity(DFA, int, ATNConfigSet, int, int) - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- reportContextSensitivity(Parser, DFA, int, int, int, ATNConfigSet) - Method in interface org.antlr.v4.runtime.ANTLRErrorListener
-
This method is called by the parser when a full-context prediction has a unique result.
- reportContextSensitivity(Parser, DFA, int, int, int, ATNConfigSet) - Method in class org.antlr.v4.runtime.BaseErrorListener
- reportContextSensitivity(Parser, DFA, int, int, int, ATNConfigSet) - Method in class org.antlr.v4.runtime.DiagnosticErrorListener
- reportContextSensitivity(Parser, DFA, int, int, int, ATNConfigSet) - Method in class org.antlr.v4.runtime.ProxyErrorListener
- reportError(Parser, RecognitionException) - Method in interface org.antlr.v4.runtime.ANTLRErrorStrategy
-
Report any kind of
RecognitionException
. - reportError(Parser, RecognitionException) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
Report any kind of
RecognitionException
. - reportFailedPredicate(Parser, FailedPredicateException) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This is called by
DefaultErrorStrategy.reportError(org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.RecognitionException)
when the exception is aFailedPredicateException
. - reportInputMismatch(Parser, InputMismatchException) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This is called by
DefaultErrorStrategy.reportError(org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.RecognitionException)
when the exception is anInputMismatchException
. - reportMatch(Parser) - Method in interface org.antlr.v4.runtime.ANTLRErrorStrategy
-
This method is called by when the parser successfully matches an input symbol.
- reportMatch(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method is called by when the parser successfully matches an input symbol.
- reportMissingToken(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method is called to report a syntax error which requires the insertion of a missing token into the input stream.
- reportNoViableAlternative(Parser, NoViableAltException) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This is called by
DefaultErrorStrategy.reportError(org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.RecognitionException)
when the exception is aNoViableAltException
. - reportUnwantedToken(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method is called to report a syntax error which requires the removal of a token from the input stream.
- requiresFullContext - Variable in class org.antlr.v4.runtime.dfa.DFAState
-
Indicates that this state was created during SLL prediction that discovered a conflict between the configurations in the state.
- reset() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.Reset the stream so that it's in the same state it was when the object was created *except* the data array is not touched.
- reset() - Method in class org.antlr.v4.runtime.atn.ATNSimulator
- reset() - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- reset() - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator.SimState
- reset() - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- reset() - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Deprecated.Use
seek(0)
instead. - reset() - Method in class org.antlr.v4.runtime.Lexer
- reset() - Method in class org.antlr.v4.runtime.Parser
-
reset the parser's state
- reset() - Method in class org.antlr.v4.runtime.ParserInterpreter
- reset(Parser) - Method in interface org.antlr.v4.runtime.ANTLRErrorStrategy
-
Reset the error handler state for the specified
recognizer
. - reset(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
Reset the error handler state for the specified
recognizer
. - resolvesToJustOneViableAlt(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Full LL prediction termination.
- retainAll(Collection<?>) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- retainAll(Collection<?>) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- retry_debug - Static variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
- returnState - Variable in class org.antlr.v4.runtime.atn.SingletonPredictionContext
- returnStates - Variable in class org.antlr.v4.runtime.atn.ArrayPredictionContext
-
Sorted for merge, no duplicates; if present,
PredictionContext.EMPTY_RETURN_STATE
is always last. - RewriteOperation(int) - Constructor for class org.antlr.v4.runtime.TokenStreamRewriter.RewriteOperation
- RewriteOperation(int, Object) - Constructor for class org.antlr.v4.runtime.TokenStreamRewriter.RewriteOperation
- rollback(int) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- rollback(String, int) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
Rollback the instruction stream for a program so that the indicated instruction (via instructionIndex) is no longer in the stream.
- ROOT - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- rootContext - Variable in class org.antlr.v4.runtime.ParserInterpreter
- RULE - Static variable in class org.antlr.v4.runtime.atn.Transition
- RULE_REF - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- RULE_START - Static variable in class org.antlr.v4.runtime.atn.ATNState
- RULE_STOP - Static variable in class org.antlr.v4.runtime.atn.ATNState
- RuleContext - Class in org.antlr.v4.runtime
-
A rule context is a record of a single rule invocation.
- RuleContext() - Constructor for class org.antlr.v4.runtime.RuleContext
- RuleContext(RuleContext, int) - Constructor for class org.antlr.v4.runtime.RuleContext
- RuleContextWithAltNum - Class in org.antlr.v4.runtime
-
A handy class for use with options {contextSuperClass=org.antlr.v4.runtime.RuleContextWithAltNum;} that provides a backing field / impl for the outer alternative number matched for an internal parse tree node.
- RuleContextWithAltNum() - Constructor for class org.antlr.v4.runtime.RuleContextWithAltNum
- RuleContextWithAltNum(ParserRuleContext, int) - Constructor for class org.antlr.v4.runtime.RuleContextWithAltNum
- ruleIndex - Variable in class org.antlr.v4.runtime.atn.ActionTransition
- ruleIndex - Variable in class org.antlr.v4.runtime.atn.ATNState
- ruleIndex - Variable in class org.antlr.v4.runtime.atn.PredicateTransition
- ruleIndex - Variable in class org.antlr.v4.runtime.atn.RuleTransition
-
Ptr to the rule definition object for this rule ref
- ruleIndex - Variable in class org.antlr.v4.runtime.atn.SemanticContext.Predicate
- ruleIndex - Variable in class org.antlr.v4.runtime.InterpreterRuleContext
-
This is the backing field for
InterpreterRuleContext.getRuleIndex()
. - ruleIndex - Variable in class org.antlr.v4.runtime.tree.xpath.XPathRuleAnywhereElement
- ruleIndex - Variable in class org.antlr.v4.runtime.tree.xpath.XPathRuleElement
- ruleNames - Variable in class org.antlr.v4.runtime.LexerInterpreter
- ruleNames - Variable in class org.antlr.v4.runtime.ParserInterpreter
- ruleNames - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- RuleNode - Interface in org.antlr.v4.runtime.tree
- RuleStartState - Class in org.antlr.v4.runtime.atn
- RuleStartState() - Constructor for class org.antlr.v4.runtime.atn.RuleStartState
- RuleStopState - Class in org.antlr.v4.runtime.atn
-
The last node in the ATN for a rule, unless that rule is the start symbol.
- RuleStopState() - Constructor for class org.antlr.v4.runtime.atn.RuleStopState
- RuleTagToken - Class in org.antlr.v4.runtime.tree.pattern
-
A
Token
object representing an entire subtree matched by a parser rule; e.g.,<expr>
. - RuleTagToken(String, int) - Constructor for class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
Constructs a new instance of
RuleTagToken
with the specified rule name and bypass token type and no label. - RuleTagToken(String, int, String) - Constructor for class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
Constructs a new instance of
RuleTagToken
with the specified rule name, bypass token type, and label. - ruleToStartState - Variable in class org.antlr.v4.runtime.atn.ATN
-
Maps from rule index to starting state number.
- ruleToStopState - Variable in class org.antlr.v4.runtime.atn.ATN
-
Maps from rule index to stop state number.
- ruleToTokenType - Variable in class org.antlr.v4.runtime.atn.ATN
-
For lexer ATNs, this maps the rule index to the resulting token type.
- ruleTransition(ATNConfig, RuleTransition) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- RuleTransition - Class in org.antlr.v4.runtime.atn
- RuleTransition(RuleStartState, int, int, ATNState) - Constructor for class org.antlr.v4.runtime.atn.RuleTransition
- RuleTransition(RuleStartState, int, ATNState) - Constructor for class org.antlr.v4.runtime.atn.RuleTransition
-
Deprecated.Use
RuleTransition(RuleStartState, int, int, ATNState)
instead. - RuntimeMetaData - Class in org.antlr.v4.runtime
-
This class provides access to the current version of the ANTLR 4 runtime library as compile-time and runtime constants, along with methods for checking for matching version numbers and notifying listeners in the case where a version mismatch is detected.
- RuntimeMetaData() - Constructor for class org.antlr.v4.runtime.RuntimeMetaData
S
- s0 - Variable in class org.antlr.v4.runtime.dfa.DFA
- save() - Method in class org.antlr.v4.runtime.misc.LogManager
- save(String) - Method in class org.antlr.v4.runtime.misc.LogManager
- seek(int) - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.consume() ahead until p==index; can't just set p=index as we must update line and charPositionInLine.
- seek(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
- seek(int) - Method in class org.antlr.v4.runtime.CodePointCharStream
- seek(int) - Method in interface org.antlr.v4.runtime.IntStream
-
Set the input cursor to the position indicated by
index
. - seek(int) - Method in class org.antlr.v4.runtime.UnbufferedCharStream
-
Seek to absolute character index, which might not be in the current sliding window.
- seek(int) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- semanticContext - Variable in class org.antlr.v4.runtime.atn.ATNConfig
- SemanticContext - Class in org.antlr.v4.runtime.atn
-
A tree structure used to record the semantic context in which an ATN configuration is valid.
- SemanticContext() - Constructor for class org.antlr.v4.runtime.atn.SemanticContext
- SemanticContext.AND - Class in org.antlr.v4.runtime.atn
-
A semantic context which is true whenever none of the contained contexts is false.
- SemanticContext.Operator - Class in org.antlr.v4.runtime.atn
-
This is the base class for semantic context "operators", which operate on a collection of semantic context "operands".
- SemanticContext.OR - Class in org.antlr.v4.runtime.atn
-
A semantic context which is true whenever at least one of the contained contexts is true.
- SemanticContext.PrecedencePredicate - Class in org.antlr.v4.runtime.atn
- SemanticContext.Predicate - Class in org.antlr.v4.runtime.atn
- semctx - Variable in class org.antlr.v4.runtime.atn.PredicateEvalInfo
-
The semantic context which was evaluated.
- sempred(RuleContext, int, int) - Method in class org.antlr.v4.runtime.Recognizer
- sequence(int, String) - Static method in class org.antlr.v4.runtime.misc.Utils
- serializationNames - Static variable in class org.antlr.v4.runtime.atn.ATNState
- serializationNames - Static variable in class org.antlr.v4.runtime.atn.Transition
- serializationTypes - Static variable in class org.antlr.v4.runtime.atn.Transition
- serialize() - Method in class org.antlr.v4.runtime.atn.ATNSerializer
-
Serialize state descriptors, edge descriptors, and decision→state map into list of ints.
- SERIALIZED_VERSION - Static variable in class org.antlr.v4.runtime.atn.ATNDeserializer
- set - Variable in class org.antlr.v4.runtime.atn.SetTransition
- set(int, int) - Method in class org.antlr.v4.runtime.misc.IntegerList
- set(int, T) - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
-
Replace an existing value with a new value; updates the element list and the hash table, but not the key as that has not changed.
- SET - Static variable in class org.antlr.v4.runtime.atn.Transition
- setAltNumber(int) - Method in class org.antlr.v4.runtime.RuleContext
-
Set the outer alternative number for this context node.
- setAltNumber(int) - Method in class org.antlr.v4.runtime.RuleContextWithAltNum
- setBuildParseTree(boolean) - Method in class org.antlr.v4.runtime.Parser
-
Track the
ParserRuleContext
objects during the parse and hook them up using theParserRuleContext.children
list so that it forms a parse tree. - setChannel(int) - Method in class org.antlr.v4.runtime.CommonToken
- setChannel(int) - Method in class org.antlr.v4.runtime.Lexer
- setChannel(int) - Method in interface org.antlr.v4.runtime.WritableToken
- setCharPositionInLine(int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- setCharPositionInLine(int) - Method in class org.antlr.v4.runtime.CommonToken
- setCharPositionInLine(int) - Method in class org.antlr.v4.runtime.Lexer
- setCharPositionInLine(int) - Method in interface org.antlr.v4.runtime.WritableToken
- setContext(ParserRuleContext) - Method in class org.antlr.v4.runtime.Parser
- setDelimiters(String, String, String) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
-
Set the delimiters used for marking rule and token tags within concrete syntax used by the tree pattern parser.
- setErrorHandler(ANTLRErrorStrategy) - Method in class org.antlr.v4.runtime.Parser
- setGenerateRuleBypassTransitions(boolean) - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
- setInputStream(IntStream) - Method in class org.antlr.v4.runtime.Lexer
-
Set the char stream and reset the lexer
- setInputStream(IntStream) - Method in class org.antlr.v4.runtime.Parser
- setInputStream(IntStream) - Method in class org.antlr.v4.runtime.Recognizer
- setInterpreter(ATNInterpreter) - Method in class org.antlr.v4.runtime.Recognizer
-
Set the ATN interpreter used by the recognizer for prediction.
- SetIterator(T[]) - Constructor for class org.antlr.v4.runtime.misc.Array2DHashSet.SetIterator
- setLastRewriteTokenIndex(String, int) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
- setLine(int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
- setLine(int) - Method in class org.antlr.v4.runtime.CommonToken
- setLine(int) - Method in class org.antlr.v4.runtime.Lexer
- setLine(int) - Method in interface org.antlr.v4.runtime.WritableToken
- setOffendingState(int) - Method in exception org.antlr.v4.runtime.RecognitionException
- setOffendingToken(Token) - Method in exception org.antlr.v4.runtime.RecognitionException
- setParent(RuleContext) - Method in class org.antlr.v4.runtime.RuleContext
- setParent(RuleContext) - Method in interface org.antlr.v4.runtime.tree.ParseTree
-
Set the parent for this node.
- setParent(RuleContext) - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- setPrecedenceDfa(boolean) - Method in class org.antlr.v4.runtime.dfa.DFA
-
Deprecated.This method no longer performs any action.
- setPrecedenceFilterSuppressed(boolean) - Method in class org.antlr.v4.runtime.atn.ATNConfig
- setPrecedenceStartState(int, DFAState) - Method in class org.antlr.v4.runtime.dfa.DFA
-
Set the start state for a specific precedence value.
- setPredictionMode(PredictionMode) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
- setProfile(boolean) - Method in class org.antlr.v4.runtime.Parser
- setReadonly(boolean) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- setReadonly(boolean) - Method in class org.antlr.v4.runtime.misc.IntervalSet
- setRuleIndex(int) - Method in class org.antlr.v4.runtime.atn.ATNState
- setStartIndex(int) - Method in class org.antlr.v4.runtime.CommonToken
- setState(int) - Method in class org.antlr.v4.runtime.Recognizer
-
Indicate that the recognizer has changed internal state that is consistent with the ATN state passed in.
- setStopIndex(int) - Method in class org.antlr.v4.runtime.CommonToken
- setText(String) - Method in class org.antlr.v4.runtime.CommonToken
-
Explicitly set the text for this token.
- setText(String) - Method in class org.antlr.v4.runtime.Lexer
-
Set the complete text of this token; it wipes any previous changes to the text.
- setText(String) - Method in interface org.antlr.v4.runtime.WritableToken
- setToken(Token) - Method in class org.antlr.v4.runtime.Lexer
- setTokenFactory(TokenFactory<?>) - Method in class org.antlr.v4.runtime.Lexer
- setTokenFactory(TokenFactory<?>) - Method in class org.antlr.v4.runtime.ListTokenSource
-
Set the
TokenFactory
this token source should use for creatingToken
objects from the input. - setTokenFactory(TokenFactory<?>) - Method in class org.antlr.v4.runtime.Parser
-
Tell our token source and error strategy about a new way to create tokens.
- setTokenFactory(TokenFactory<?>) - Method in class org.antlr.v4.runtime.Recognizer
- setTokenFactory(TokenFactory<?>) - Method in interface org.antlr.v4.runtime.TokenSource
-
Set the
TokenFactory
this token source should use for creatingToken
objects from the input. - setTokenIndex(int) - Method in class org.antlr.v4.runtime.CommonToken
- setTokenIndex(int) - Method in interface org.antlr.v4.runtime.WritableToken
- setTokenSource(TokenSource) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Reset this token stream by setting its token source.
- setTokenStream(TokenStream) - Method in class org.antlr.v4.runtime.Parser
-
Set the token stream and reset the parser.
- setTrace(boolean) - Method in class org.antlr.v4.runtime.Parser
-
During a parse is sometimes useful to listen in on the rule entry and exit events as well as token matches.
- setTransition(int, Transition) - Method in class org.antlr.v4.runtime.atn.ATNState
- SetTransition - Class in org.antlr.v4.runtime.atn
-
A transition containing a set of values.
- SetTransition(ATNState, IntervalSet) - Constructor for class org.antlr.v4.runtime.atn.SetTransition
- setTrimParseTree(boolean) - Method in class org.antlr.v4.runtime.Parser
-
Trim the internal lists of the parse tree during parsing to conserve memory.
- setType(int) - Method in class org.antlr.v4.runtime.CommonToken
- setType(int) - Method in class org.antlr.v4.runtime.Lexer
- setType(int) - Method in interface org.antlr.v4.runtime.WritableToken
- setup() - Method in class org.antlr.v4.runtime.BufferedTokenStream
- setVerifyATN(boolean) - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
- sharedContextCache - Variable in class org.antlr.v4.runtime.atn.ATNSimulator
-
The context cache maps all PredictionContext objects that are equals() to a single cached copy.
- sharedContextCache - Variable in class org.antlr.v4.runtime.ParserInterpreter
- shouldVisitNextChild(RuleNode, T) - Method in class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
-
This method is called after visiting each child in
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
. - SimState() - Constructor for class org.antlr.v4.runtime.atn.LexerATNSimulator.SimState
- singleTokenDeletion(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method implements the single-token deletion inline error recovery strategy.
- singleTokenInsertion(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method implements the single-token insertion inline error recovery strategy.
- SingletonPredictionContext - Class in org.antlr.v4.runtime.atn
- size - Variable in class org.antlr.v4.runtime.CodePointCharStream
- size() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- size() - Method in class org.antlr.v4.runtime.atn.ArrayPredictionContext
- size() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- size() - Method in class org.antlr.v4.runtime.atn.EmptyPredictionContext
- size() - Method in class org.antlr.v4.runtime.atn.PredictionContext
- size() - Method in class org.antlr.v4.runtime.atn.PredictionContextCache
- size() - Method in class org.antlr.v4.runtime.atn.SingletonPredictionContext
- size() - Method in class org.antlr.v4.runtime.BufferedTokenStream
- size() - Method in class org.antlr.v4.runtime.CodePointCharStream
- size() - Method in interface org.antlr.v4.runtime.IntStream
-
Returns the total number of symbols in the stream, including a single EOF symbol.
- size() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- size() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- size() - Method in class org.antlr.v4.runtime.misc.IntegerList
- size() - Method in class org.antlr.v4.runtime.misc.IntervalSet
- size() - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Return the total number of elements represented by the current set.
- size() - Method in class org.antlr.v4.runtime.UnbufferedCharStream
- size() - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
- skip() - Method in class org.antlr.v4.runtime.Lexer
-
Instruct the lexer to skip creating a token for current lexer rule and look for another token.
- SKIP - org.antlr.v4.runtime.atn.LexerActionType
-
The type of a
LexerSkipAction
action. - SKIP - Static variable in class org.antlr.v4.runtime.Lexer
- SLL - org.antlr.v4.runtime.atn.PredictionMode
-
The SLL(*) prediction mode.
- SLL_ATNTransitions - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
The total number of ATN transitions required during SLL prediction for this decision.
- SLL_DFATransitions - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
The total number of DFA transitions required during SLL prediction for this decision.
- SLL_MaxLook - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
Gets the maximum lookahead required for any single SLL prediction to complete for this decision, by reaching a unique prediction, reaching an SLL conflict state, or encountering a syntax error.
- SLL_MaxLookEvent - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
Gets the
LookaheadEventInfo
associated with the event where theDecisionInfo.SLL_MaxLook
value was set. - SLL_MinLook - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
Gets the minimum lookahead required for any single SLL prediction to complete for this decision, by reaching a unique prediction, reaching an SLL conflict state, or encountering a syntax error.
- SLL_TotalLook - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
The sum of the lookahead required for SLL prediction for this decision.
- sort() - Method in class org.antlr.v4.runtime.misc.IntegerList
- source - Variable in class org.antlr.v4.runtime.CommonToken
-
This is the backing field for
CommonToken.getTokenSource()
andCommonToken.getInputStream()
. - spaces(int) - Static method in class org.antlr.v4.runtime.misc.Utils
- split(String) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
-
Split
<ID> = <e:expr> ;
into 4 chunks for tokenizing byParseTreePatternMatcher.tokenize(java.lang.String)
. - split(String) - Method in class org.antlr.v4.runtime.tree.xpath.XPath
- splitAccordingToSemanticValidity(ATNConfigSet, ParserRuleContext) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Walk the list of configurations and split them according to those that have preds evaluating to true/false.
- STAR_BLOCK_START - Static variable in class org.antlr.v4.runtime.atn.ATNState
- STAR_LOOP_BACK - Static variable in class org.antlr.v4.runtime.atn.ATNState
- STAR_LOOP_ENTRY - Static variable in class org.antlr.v4.runtime.atn.ATNState
- StarBlockStartState - Class in org.antlr.v4.runtime.atn
-
The block that begins a closure loop.
- StarBlockStartState() - Constructor for class org.antlr.v4.runtime.atn.StarBlockStartState
- StarLoopbackState - Class in org.antlr.v4.runtime.atn
- StarLoopbackState() - Constructor for class org.antlr.v4.runtime.atn.StarLoopbackState
- StarLoopEntryState - Class in org.antlr.v4.runtime.atn
- StarLoopEntryState() - Constructor for class org.antlr.v4.runtime.atn.StarLoopEntryState
- start - Variable in class org.antlr.v4.runtime.CommonToken
-
This is the backing field for
CommonToken.getStartIndex()
andCommonToken.setStartIndex(int)
. - start - Variable in class org.antlr.v4.runtime.ParserRuleContext
-
For debugging/tracing purposes, we want to track all of the nodes in the ATN traversed by the parser for a particular rule.
- start - Variable in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
- startIndex - Variable in class org.antlr.v4.runtime.atn.DecisionEventInfo
-
The token index in the input stream at which the current prediction was originally invoked.
- startIndex - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
The current token's starting index into the character stream.
- StartRuleDoesNotConsumeFullPattern() - Constructor for exception org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern
- startsAfter(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Does this.a start after other.b? May or may not be disjoint
- startsAfterDisjoint(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Does this start completely after other? Disjoint
- startsAfterNonDisjoint(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Does this start after other? NonDisjoint
- startsBeforeDisjoint(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Does this start completely before other? Disjoint
- startsBeforeNonDisjoint(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Does this start at or before other? Nondisjoint
- startState - Variable in class org.antlr.v4.runtime.atn.BlockEndState
- state - Variable in class org.antlr.v4.runtime.atn.ATNConfig
-
The ATN state associated with this configuration
- stateFactory(int, int) - Method in class org.antlr.v4.runtime.atn.ATNDeserializer
- stateNumber - Variable in class org.antlr.v4.runtime.atn.ATNState
- stateNumber - Variable in class org.antlr.v4.runtime.dfa.DFAState
- states - Variable in class org.antlr.v4.runtime.atn.ATN
- states - Variable in class org.antlr.v4.runtime.dfa.DFA
-
A set of all DFA states.
- stop - Variable in class org.antlr.v4.runtime.CommonToken
-
This is the backing field for
CommonToken.getStopIndex()
andCommonToken.setStopIndex(int)
. - stop - Variable in class org.antlr.v4.runtime.ParserRuleContext
-
For debugging/tracing purposes, we want to track all of the nodes in the ATN traversed by the parser for a particular rule.
- stop - Variable in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
- stopIndex - Variable in class org.antlr.v4.runtime.atn.DecisionEventInfo
-
The token index in the input stream at which the current event occurred.
- stopState - Variable in class org.antlr.v4.runtime.atn.RuleStartState
- STRING - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- stripChildrenOutOfRange(ParserRuleContext, ParserRuleContext, int, int) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Replace any subtree siblings of root that are completely to left or right of lookahead range with a CommonToken(Token.INVALID_TYPE,"...") node.
- subtract(IntervalSet, IntervalSet) - Static method in class org.antlr.v4.runtime.misc.IntervalSet
-
Compute the set difference between two interval sets.
- subtract(IntSet) - Method in class org.antlr.v4.runtime.misc.IntervalSet
- subtract(IntSet) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Return a new
IntSet
object containing all elements that are present in the current set but not present in the input seta
. - succeeded() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Gets a value indicating whether the match operation succeeded.
- symbol - Variable in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- sync(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Make sure index
i
in tokens has a token. - sync(int) - Method in class org.antlr.v4.runtime.UnbufferedCharStream
-
Make sure we have 'need' elements from current position
p
. - sync(int) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
-
Make sure we have 'need' elements from current position
p
. - sync(Parser) - Method in interface org.antlr.v4.runtime.ANTLRErrorStrategy
-
This method provides the error handler with an opportunity to handle syntactic or semantic errors in the input stream before they result in a
RecognitionException
. - sync(Parser) - Method in class org.antlr.v4.runtime.BailErrorStrategy
-
Make sure we don't attempt to recover from problems in subrules.
- sync(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
The default implementation of
ANTLRErrorStrategy.sync(org.antlr.v4.runtime.Parser)
makes sure that the current lookahead symbol is consistent with what were expecting at this point in the ATN. - syntaxError(Recognizer<?, ?>, Object, int, int, String, RecognitionException) - Method in interface org.antlr.v4.runtime.ANTLRErrorListener
-
Upon syntax error, notify any interested parties.
- syntaxError(Recognizer<?, ?>, Object, int, int, String, RecognitionException) - Method in class org.antlr.v4.runtime.BaseErrorListener
- syntaxError(Recognizer<?, ?>, Object, int, int, String, RecognitionException) - Method in class org.antlr.v4.runtime.ConsoleErrorListener
-
Upon syntax error, notify any interested parties.
- syntaxError(Recognizer<?, ?>, Object, int, int, String, RecognitionException) - Method in class org.antlr.v4.runtime.ProxyErrorListener
- syntaxError(Recognizer<?, ?>, Object, int, int, String, RecognitionException) - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexerErrorListener
- SyntaxTree - Interface in org.antlr.v4.runtime.tree
-
A tree that knows about an interval in a token stream is some kind of syntax tree.
T
- target - Variable in class org.antlr.v4.runtime.atn.Transition
-
The target of this transition.
- TerminalNode - Interface in org.antlr.v4.runtime.tree
- TerminalNodeImpl - Class in org.antlr.v4.runtime.tree
- TerminalNodeImpl(Token) - Constructor for class org.antlr.v4.runtime.tree.TerminalNodeImpl
- test(T) - Method in interface org.antlr.v4.runtime.misc.Predicate
- TestRig - Class in org.antlr.v4.runtime.misc
-
Deprecated.
- TestRig() - Constructor for class org.antlr.v4.runtime.misc.TestRig
-
Deprecated.
- text - Variable in class org.antlr.v4.runtime.CommonToken
-
This is the backing field for
CommonToken.getText()
when the token text is explicitly set in the constructor or viaCommonToken.setText(java.lang.String)
. - text - Variable in class org.antlr.v4.runtime.TokenStreamRewriter.RewriteOperation
- threshold - Variable in class org.antlr.v4.runtime.misc.Array2DHashSet
- threshold - Variable in class org.antlr.v4.runtime.misc.FlexibleHashMap
- throwIfReadOnly() - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
- timeInPrediction - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
The total time spent in
ParserATNSimulator.adaptivePredict(org.antlr.v4.runtime.TokenStream, int, org.antlr.v4.runtime.ParserRuleContext)
for this decision, in nanoseconds. - to - Variable in class org.antlr.v4.runtime.atn.RangeTransition
- toArray() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- toArray() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- toArray() - Method in class org.antlr.v4.runtime.misc.IntegerList
- toArray() - Method in class org.antlr.v4.runtime.misc.IntervalSet
- toArray() - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
- toArray(T[]) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- toArray(U[]) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- toCharArray() - Method in class org.antlr.v4.runtime.misc.IntegerList
-
Convert the int list to a char array where values > 0x7FFFF take 2 bytes.
- toCharArray(IntegerList) - Static method in class org.antlr.v4.runtime.misc.Utils
- toDOTString(PredictionContext) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
- toInfoString(Parser) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
Used for rule context info debugging during parse-time, not so much for ATN debugging
- toInt(char) - Static method in class org.antlr.v4.runtime.atn.ATNDeserializer
- toInt32(char[], int) - Static method in class org.antlr.v4.runtime.atn.ATNDeserializer
- toInt32(int[], int) - Static method in class org.antlr.v4.runtime.atn.ATNDeserializer
- toIntegerList() - Method in class org.antlr.v4.runtime.misc.IntervalSet
- Token - Interface in org.antlr.v4.runtime
-
A token has properties: text, type, line, character position in the line (so we can ignore tabs), token channel, index, and source from which we obtained this token.
- TOKEN_REF - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- TOKEN_START - Static variable in class org.antlr.v4.runtime.atn.ATNState
- TokenFactory<Symbol extends Token> - Interface in org.antlr.v4.runtime
-
The default mechanism for creating tokens.
- tokenize(String) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher
- tokenNames - Variable in class org.antlr.v4.runtime.LexerInterpreter
-
Deprecated.
- tokenNames - Variable in class org.antlr.v4.runtime.ParserInterpreter
-
Deprecated.
- tokenNames - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
-
Deprecated.Use
XPathLexer.VOCABULARY
instead. - tokens - Variable in class org.antlr.v4.runtime.BufferedTokenStream
-
A collection of all tokens fetched from the token source.
- tokens - Variable in class org.antlr.v4.runtime.ListTokenSource
-
The wrapped collection of
Token
objects to return. - tokens - Variable in class org.antlr.v4.runtime.TokenStreamRewriter
-
Our source stream
- tokens - Variable in class org.antlr.v4.runtime.UnbufferedTokenStream
-
A moving window buffer of the data being scanned.
- tokenSource - Variable in class org.antlr.v4.runtime.BufferedTokenStream
-
The
TokenSource
from which tokens for this stream are fetched. - tokenSource - Variable in class org.antlr.v4.runtime.UnbufferedTokenStream
- TokenSource - Interface in org.antlr.v4.runtime
-
A source of tokens must provide a sequence of tokens via
TokenSource.nextToken()
and also must reveal it's source of characters;CommonToken
's text is computed from aCharStream
; it only store indices into the char stream. - TokensStartState - Class in org.antlr.v4.runtime.atn
-
The Tokens rule start state linking to each lexer rule start state
- TokensStartState() - Constructor for class org.antlr.v4.runtime.atn.TokensStartState
- TokenStream - Interface in org.antlr.v4.runtime
- TokenStreamRewriter - Class in org.antlr.v4.runtime
-
Useful for rewriting out a buffered input token stream after doing some augmentation or other manipulations on it.
- TokenStreamRewriter(TokenStream) - Constructor for class org.antlr.v4.runtime.TokenStreamRewriter
- TokenStreamRewriter.RewriteOperation - Class in org.antlr.v4.runtime
- TokenTagToken - Class in org.antlr.v4.runtime.tree.pattern
-
A
Token
object representing a token of a particular type; e.g.,<ID>
. - TokenTagToken(String, int) - Constructor for class org.antlr.v4.runtime.tree.pattern.TokenTagToken
-
Constructs a new instance of
TokenTagToken
for an unlabeled tag with the specified token name and type. - TokenTagToken(String, int, String) - Constructor for class org.antlr.v4.runtime.tree.pattern.TokenTagToken
-
Constructs a new instance of
TokenTagToken
with the specified token name, type, and label. - tokenType - Variable in class org.antlr.v4.runtime.tree.xpath.XPathTokenAnywhereElement
- tokenType - Variable in class org.antlr.v4.runtime.tree.xpath.XPathTokenElement
- toLexerString() - Method in class org.antlr.v4.runtime.dfa.DFA
- toList() - Method in class org.antlr.v4.runtime.misc.IntervalSet
- toList() - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Return a list containing the elements represented by the current set.
- toMap(String[]) - Static method in class org.antlr.v4.runtime.misc.Utils
-
Convert array of strings to string→index map.
- toSet() - Method in class org.antlr.v4.runtime.misc.IntervalSet
- toSet(BitSet) - Static method in class org.antlr.v4.runtime.misc.Utils
- toString() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- toString() - Method in class org.antlr.v4.runtime.atn.ActionTransition
- toString() - Method in class org.antlr.v4.runtime.atn.ArrayPredictionContext
- toString() - Method in class org.antlr.v4.runtime.atn.ATNConfig
- toString() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
- toString() - Method in class org.antlr.v4.runtime.atn.ATNState
- toString() - Method in class org.antlr.v4.runtime.atn.AtomTransition
- toString() - Method in class org.antlr.v4.runtime.atn.DecisionInfo
- toString() - Method in class org.antlr.v4.runtime.atn.EmptyPredictionContext
- toString() - Method in class org.antlr.v4.runtime.atn.EpsilonTransition
- toString() - Method in class org.antlr.v4.runtime.atn.LexerChannelAction
- toString() - Method in class org.antlr.v4.runtime.atn.LexerModeAction
- toString() - Method in class org.antlr.v4.runtime.atn.LexerMoreAction
- toString() - Method in class org.antlr.v4.runtime.atn.LexerPopModeAction
- toString() - Method in class org.antlr.v4.runtime.atn.LexerPushModeAction
- toString() - Method in class org.antlr.v4.runtime.atn.LexerSkipAction
- toString() - Method in class org.antlr.v4.runtime.atn.LexerTypeAction
- toString() - Method in class org.antlr.v4.runtime.atn.NotSetTransition
- toString() - Method in class org.antlr.v4.runtime.atn.PrecedencePredicateTransition
- toString() - Method in class org.antlr.v4.runtime.atn.PredicateTransition
- toString() - Method in class org.antlr.v4.runtime.atn.RangeTransition
- toString() - Method in class org.antlr.v4.runtime.atn.SemanticContext.AND
- toString() - Method in class org.antlr.v4.runtime.atn.SemanticContext.OR
- toString() - Method in class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
- toString() - Method in class org.antlr.v4.runtime.atn.SemanticContext.Predicate
- toString() - Method in class org.antlr.v4.runtime.atn.SetTransition
- toString() - Method in class org.antlr.v4.runtime.atn.SingletonPredictionContext
- toString() - Method in class org.antlr.v4.runtime.atn.WildcardTransition
- toString() - Method in class org.antlr.v4.runtime.CodePointCharStream
- toString() - Method in class org.antlr.v4.runtime.CommonToken
- toString() - Method in class org.antlr.v4.runtime.dfa.DFA
- toString() - Method in class org.antlr.v4.runtime.dfa.DFASerializer
- toString() - Method in class org.antlr.v4.runtime.dfa.DFAState.PredPrediction
- toString() - Method in class org.antlr.v4.runtime.dfa.DFAState
- toString() - Method in exception org.antlr.v4.runtime.LexerNoViableAltException
- toString() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- toString() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap.Entry
- toString() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- toString() - Method in class org.antlr.v4.runtime.misc.IntegerList
-
Returns a string representation of this list.
- toString() - Method in class org.antlr.v4.runtime.misc.Interval
- toString() - Method in class org.antlr.v4.runtime.misc.IntervalSet
- toString() - Method in interface org.antlr.v4.runtime.misc.IntSet
- toString() - Method in class org.antlr.v4.runtime.misc.LogManager.Record
- toString() - Method in class org.antlr.v4.runtime.misc.LogManager
- toString() - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
- toString() - Method in class org.antlr.v4.runtime.misc.Pair
- toString() - Method in class org.antlr.v4.runtime.misc.Triple
- toString() - Method in class org.antlr.v4.runtime.RuleContext
- toString() - Method in class org.antlr.v4.runtime.TokenStreamRewriter.RewriteOperation
- toString() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
- toString() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
- toString() - Method in class org.antlr.v4.runtime.tree.pattern.TokenTagToken
- toString() - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- toString() - Method in class org.antlr.v4.runtime.tree.xpath.XPathElement
- toString(boolean) - Method in class org.antlr.v4.runtime.misc.IntervalSet
- toString(String[]) - Method in class org.antlr.v4.runtime.dfa.DFA
-
Deprecated.Use
DFA.toString(Vocabulary)
instead. - toString(String[]) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Deprecated.Use
IntervalSet.toString(Vocabulary)
instead. - toString(List<String>) - Method in class org.antlr.v4.runtime.RuleContext
- toString(List<String>, RuleContext) - Method in class org.antlr.v4.runtime.RuleContext
- toString(Recognizer<?, ?>) - Method in class org.antlr.v4.runtime.atn.PredictionContext
- toString(Recognizer<?, ?>) - Method in class org.antlr.v4.runtime.CommonToken
- toString(Recognizer<?, ?>) - Method in class org.antlr.v4.runtime.RuleContext
- toString(Recognizer<?, ?>, boolean) - Method in class org.antlr.v4.runtime.atn.ATNConfig
- toString(Recognizer<?, ?>, RuleContext) - Method in class org.antlr.v4.runtime.RuleContext
- toString(Vocabulary) - Method in class org.antlr.v4.runtime.dfa.DFA
- toString(Vocabulary) - Method in class org.antlr.v4.runtime.misc.IntervalSet
- toStrings(Recognizer<?, ?>, int) - Method in class org.antlr.v4.runtime.atn.PredictionContext
- toStrings(Recognizer<?, ?>, PredictionContext, int) - Method in class org.antlr.v4.runtime.atn.PredictionContext
- toStringTree() - Method in class org.antlr.v4.runtime.RuleContext
- toStringTree() - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- toStringTree() - Method in interface org.antlr.v4.runtime.tree.Tree
-
Print out a whole tree, not just a node, in LISP format
(root child1 .. childN)
. - toStringTree(List<String>) - Method in class org.antlr.v4.runtime.RuleContext
-
Print out a whole tree, not just a node, in LISP format (root child1 ..
- toStringTree(Parser) - Method in class org.antlr.v4.runtime.RuleContext
-
Print out a whole tree, not just a node, in LISP format (root child1 ..
- toStringTree(Parser) - Method in interface org.antlr.v4.runtime.tree.ParseTree
-
Specialize toStringTree so that it can print out more information based upon the parser.
- toStringTree(Parser) - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
- toStringTree(Tree) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Print out a whole tree in LISP form.
- toStringTree(Tree, List<String>) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Print out a whole tree in LISP form.
- toStringTree(Tree, Parser) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Print out a whole tree in LISP form.
- toTableString() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
- toTableString() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- TraceListener() - Constructor for class org.antlr.v4.runtime.Parser.TraceListener
- transition(int) - Method in class org.antlr.v4.runtime.atn.ATNState
- Transition - Class in org.antlr.v4.runtime.atn
-
An ATN transition between any two ATN states.
- Transition(ATNState) - Constructor for class org.antlr.v4.runtime.atn.Transition
- transitions - Variable in class org.antlr.v4.runtime.atn.ATNState
-
Track the transitions emanating from this ATN state.
- Tree - Interface in org.antlr.v4.runtime.tree
-
The basic notion of a tree has a parent, a payload, and a list of children.
- Trees - Class in org.antlr.v4.runtime.tree
-
A set of utility routines useful for all kinds of ANTLR trees.
- triggerEnterRuleEvent() - Method in class org.antlr.v4.runtime.Parser
-
Notify any parse listeners of an enter rule event.
- triggerExitRuleEvent() - Method in class org.antlr.v4.runtime.Parser
-
Notify any parse listeners of an exit rule event.
- trimToSize() - Method in class org.antlr.v4.runtime.misc.IntegerList
- TrimToSizeListener() - Constructor for class org.antlr.v4.runtime.Parser.TrimToSizeListener
- Triple<A,B,C> - Class in org.antlr.v4.runtime.misc
- Triple(A, B, C) - Constructor for class org.antlr.v4.runtime.misc.Triple
- TURN_OFF_LR_LOOP_ENTRY_BRANCH_OPT - Static variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Just in case this optimization is bad, add an ENV variable to turn it off
- type - Variable in class org.antlr.v4.runtime.CommonToken
-
This is the backing field for
CommonToken.getType()
andCommonToken.setType(int)
. - TYPE - org.antlr.v4.runtime.atn.LexerActionType
-
The type of a
LexerTypeAction
action.
U
- UnbufferedCharStream - Class in org.antlr.v4.runtime
-
Do not buffer up the entire char stream.
- UnbufferedCharStream() - Constructor for class org.antlr.v4.runtime.UnbufferedCharStream
-
Useful for subclasses that pull char from other than this.input.
- UnbufferedCharStream(int) - Constructor for class org.antlr.v4.runtime.UnbufferedCharStream
-
Useful for subclasses that pull char from other than this.input.
- UnbufferedCharStream(InputStream) - Constructor for class org.antlr.v4.runtime.UnbufferedCharStream
- UnbufferedCharStream(InputStream, int) - Constructor for class org.antlr.v4.runtime.UnbufferedCharStream
- UnbufferedCharStream(InputStream, int, Charset) - Constructor for class org.antlr.v4.runtime.UnbufferedCharStream
- UnbufferedCharStream(Reader) - Constructor for class org.antlr.v4.runtime.UnbufferedCharStream
- UnbufferedCharStream(Reader, int) - Constructor for class org.antlr.v4.runtime.UnbufferedCharStream
- UnbufferedTokenStream<T extends Token> - Class in org.antlr.v4.runtime
- UnbufferedTokenStream(TokenSource) - Constructor for class org.antlr.v4.runtime.UnbufferedTokenStream
- UnbufferedTokenStream(TokenSource, int) - Constructor for class org.antlr.v4.runtime.UnbufferedTokenStream
- union(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Return the interval computed from combining this and other
- uniqueAlt - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
- UNKNOWN_SOURCE_NAME - Static variable in interface org.antlr.v4.runtime.IntStream
-
The value returned by
IntStream.getSourceName()
when the actual name of the underlying source is not known. - unrollRecursionContexts(ParserRuleContext) - Method in class org.antlr.v4.runtime.Parser
- update(int, int) - Static method in class org.antlr.v4.runtime.misc.MurmurHash
-
Update the intermediate hash value for the next input
value
. - update(int, Object) - Static method in class org.antlr.v4.runtime.misc.MurmurHash
-
Update the intermediate hash value for the next input
value
. - Utils - Class in org.antlr.v4.runtime.misc
- Utils() - Constructor for class org.antlr.v4.runtime.misc.Utils
V
- value - Variable in class org.antlr.v4.runtime.misc.FlexibleHashMap.Entry
- valueOf(String) - Static method in enum org.antlr.v4.runtime.atn.ATNType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.antlr.v4.runtime.atn.LexerActionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.antlr.v4.runtime.CodePointBuffer.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.antlr.v4.runtime.atn.ATNType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.antlr.v4.runtime.atn.LexerActionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.antlr.v4.runtime.CodePointBuffer.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
- values(Key1) - Method in class org.antlr.v4.runtime.misc.DoubleKeyMap
-
Get all values associated with primary key
- verifyATN(ATN) - Method in class org.antlr.v4.runtime.atn.ATNDeserializer
- VERSION - Static variable in class org.antlr.v4.runtime.RuntimeMetaData
-
A compile-time constant containing the current version of the ANTLR 4 runtime library.
- visit(ParseTree) - Method in class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
-
Visit a parse tree, and return a user-defined result of the operation.
- visit(ParseTree) - Method in interface org.antlr.v4.runtime.tree.ParseTreeVisitor
-
Visit a parse tree, and return a user-defined result of the operation.
- visitChildren(RuleNode) - Method in class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
-
Visit the children of a node, and return a user-defined result of the operation.
- visitChildren(RuleNode) - Method in interface org.antlr.v4.runtime.tree.ParseTreeVisitor
-
Visit the children of a node, and return a user-defined result of the operation.
- visitDecisionState(DecisionState) - Method in class org.antlr.v4.runtime.ParserInterpreter
-
Method visitDecisionState() is called when the interpreter reaches a decision state (instance of DecisionState).
- visitErrorNode(ErrorNode) - Method in class org.antlr.v4.runtime.Parser.TraceListener
- visitErrorNode(ErrorNode) - Method in class org.antlr.v4.runtime.Parser.TrimToSizeListener
- visitErrorNode(ErrorNode) - Method in class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
-
Visit an error node, and return a user-defined result of the operation.
- visitErrorNode(ErrorNode) - Method in interface org.antlr.v4.runtime.tree.ParseTreeListener
- visitErrorNode(ErrorNode) - Method in interface org.antlr.v4.runtime.tree.ParseTreeVisitor
-
Visit an error node, and return a user-defined result of the operation.
- visitRuleStopState(ATNState) - Method in class org.antlr.v4.runtime.ParserInterpreter
- visitState(ATNState) - Method in class org.antlr.v4.runtime.ParserInterpreter
- visitTerminal(TerminalNode) - Method in class org.antlr.v4.runtime.Parser.TraceListener
- visitTerminal(TerminalNode) - Method in class org.antlr.v4.runtime.Parser.TrimToSizeListener
- visitTerminal(TerminalNode) - Method in class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
-
Visit a terminal node, and return a user-defined result of the operation.
- visitTerminal(TerminalNode) - Method in interface org.antlr.v4.runtime.tree.ParseTreeListener
- visitTerminal(TerminalNode) - Method in interface org.antlr.v4.runtime.tree.ParseTreeVisitor
-
Visit a terminal node, and return a user-defined result of the operation.
- Vocabulary - Interface in org.antlr.v4.runtime
-
This interface provides information about the vocabulary used by a recognizer.
- VOCABULARY - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- VocabularyImpl - Class in org.antlr.v4.runtime
-
This class provides a default implementation of the
Vocabulary
interface. - VocabularyImpl(String[], String[]) - Constructor for class org.antlr.v4.runtime.VocabularyImpl
-
Constructs a new instance of
VocabularyImpl
from the specified literal and symbolic token names. - VocabularyImpl(String[], String[], String[]) - Constructor for class org.antlr.v4.runtime.VocabularyImpl
-
Constructs a new instance of
VocabularyImpl
from the specified literal, symbolic, and display token names.
W
- walk(ParseTreeListener, ParseTree) - Method in class org.antlr.v4.runtime.tree.IterativeParseTreeWalker
- walk(ParseTreeListener, ParseTree) - Method in class org.antlr.v4.runtime.tree.ParseTreeWalker
-
Performs a walk on the given parse tree starting at the root and going down recursively with depth-first search.
- WILDCARD - Static variable in class org.antlr.v4.runtime.atn.Transition
- WILDCARD - Static variable in class org.antlr.v4.runtime.tree.xpath.XPath
- WILDCARD - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
- WildcardTransition - Class in org.antlr.v4.runtime.atn
- WildcardTransition(ATNState) - Constructor for class org.antlr.v4.runtime.atn.WildcardTransition
- withBytes(ByteBuffer) - Static method in class org.antlr.v4.runtime.CodePointBuffer
- withChars(CharBuffer) - Static method in class org.antlr.v4.runtime.CodePointBuffer
- withInts(IntBuffer) - Static method in class org.antlr.v4.runtime.CodePointBuffer
- WritableToken - Interface in org.antlr.v4.runtime
- writeFile(String, String) - Static method in class org.antlr.v4.runtime.misc.Utils
- writeFile(String, String, String) - Static method in class org.antlr.v4.runtime.misc.Utils
X
- XPath - Class in org.antlr.v4.runtime.tree.xpath
-
Represent a subset of XPath XML path syntax for use in identifying nodes in parse trees.
- XPath(Parser, String) - Constructor for class org.antlr.v4.runtime.tree.xpath.XPath
- XPathElement - Class in org.antlr.v4.runtime.tree.xpath
- XPathElement(String) - Constructor for class org.antlr.v4.runtime.tree.xpath.XPathElement
-
Construct element like
/ID
orID
or/*
etc... - XPathLexer - Class in org.antlr.v4.runtime.tree.xpath
-
Mimic the old XPathLexer from .g4 file
- XPathLexer(CharStream) - Constructor for class org.antlr.v4.runtime.tree.xpath.XPathLexer
- XPathLexerErrorListener - Class in org.antlr.v4.runtime.tree.xpath
- XPathLexerErrorListener() - Constructor for class org.antlr.v4.runtime.tree.xpath.XPathLexerErrorListener
- XPathRuleAnywhereElement - Class in org.antlr.v4.runtime.tree.xpath
-
Either
ID
at start of path or...//ID
in middle of path. - XPathRuleAnywhereElement(String, int) - Constructor for class org.antlr.v4.runtime.tree.xpath.XPathRuleAnywhereElement
- XPathRuleElement - Class in org.antlr.v4.runtime.tree.xpath
- XPathRuleElement(String, int) - Constructor for class org.antlr.v4.runtime.tree.xpath.XPathRuleElement
- XPathTokenAnywhereElement - Class in org.antlr.v4.runtime.tree.xpath
- XPathTokenAnywhereElement(String, int) - Constructor for class org.antlr.v4.runtime.tree.xpath.XPathTokenAnywhereElement
- XPathTokenElement - Class in org.antlr.v4.runtime.tree.xpath
- XPathTokenElement(String, int) - Constructor for class org.antlr.v4.runtime.tree.xpath.XPathTokenElement
- XPathWildcardAnywhereElement - Class in org.antlr.v4.runtime.tree.xpath
- XPathWildcardAnywhereElement() - Constructor for class org.antlr.v4.runtime.tree.xpath.XPathWildcardAnywhereElement
- XPathWildcardElement - Class in org.antlr.v4.runtime.tree.xpath
- XPathWildcardElement() - Constructor for class org.antlr.v4.runtime.tree.xpath.XPathWildcardElement
_
- _buildParseTrees - Variable in class org.antlr.v4.runtime.Parser
-
Specifies whether or not the parser should construct a parse tree during the parsing process.
- _channel - Variable in class org.antlr.v4.runtime.Lexer
-
The channel number for the current token
- _ctx - Variable in class org.antlr.v4.runtime.Parser
-
The
ParserRuleContext
object for the currently executing rule. - _decisionToDFA - Variable in class org.antlr.v4.runtime.LexerInterpreter
- _dfa - Variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
- _errHandler - Variable in class org.antlr.v4.runtime.Parser
-
The error handling strategy for the parser.
- _factory - Variable in class org.antlr.v4.runtime.Lexer
-
How to create token objects
- _findAllNodes(ParseTree, int, boolean, List<? super ParseTree>) - Static method in class org.antlr.v4.runtime.tree.Trees
- _hitEOF - Variable in class org.antlr.v4.runtime.Lexer
-
Once we see EOF on char stream, next token will be EOF.
- _input - Variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
- _input - Variable in class org.antlr.v4.runtime.Lexer
- _input - Variable in class org.antlr.v4.runtime.Parser
-
The input stream.
- _interp - Variable in class org.antlr.v4.runtime.Recognizer
- _llStopIndex - Variable in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- _LOOK(ATNState, ATNState, PredictionContext, IntervalSet, Set<ATNConfig>, BitSet, boolean, boolean) - Method in class org.antlr.v4.runtime.atn.LL1Analyzer
-
Compute set of tokens that can follow
s
in the ATN in the specifiedctx
. - _mode - Variable in class org.antlr.v4.runtime.Lexer
- _modeStack - Variable in class org.antlr.v4.runtime.Lexer
- _outerContext - Variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
- _parentContextStack - Variable in class org.antlr.v4.runtime.ParserInterpreter
-
This stack corresponds to the _parentctx, _parentState pair of locals that would exist on call stack frames with a recursive descent parser; in the generated function for a left-recursive rule you'd see: private EContext e(int _p) throws RecognitionException { ParserRuleContext _parentctx = _ctx; // Pair.a int _parentState = getState(); // Pair.b ...
- _parseListeners - Variable in class org.antlr.v4.runtime.Parser
-
The list of
ParseTreeListener
listeners registered to receive events during the parse. - _precedenceStack - Variable in class org.antlr.v4.runtime.Parser
- _sharedContextCache - Variable in class org.antlr.v4.runtime.LexerInterpreter
- _sllStopIndex - Variable in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
- _startIndex - Variable in class org.antlr.v4.runtime.atn.ParserATNSimulator
- _syntaxErrors - Variable in class org.antlr.v4.runtime.Parser
-
The number of syntax errors reported during parsing.
- _text - Variable in class org.antlr.v4.runtime.Lexer
-
You can set the text for the current token to override what is in the input char buffer.
- _token - Variable in class org.antlr.v4.runtime.Lexer
-
The goal of all lexer rules/methods is to create a token object.
- _tokenFactorySourcePair - Variable in class org.antlr.v4.runtime.Lexer
- _tokenStartCharIndex - Variable in class org.antlr.v4.runtime.Lexer
-
What character index in the stream did the current token start at? Needed, for example, to get the text for current token.
- _tokenStartCharPositionInLine - Variable in class org.antlr.v4.runtime.Lexer
-
The character position of first character within the line
- _tokenStartLine - Variable in class org.antlr.v4.runtime.Lexer
-
The line on which the first character of the token resides
- _type - Variable in class org.antlr.v4.runtime.Lexer
-
The token type for the current token
All Classes All Packages