- 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
-
- 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.
- 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
-
- channel - Variable in class org.antlr.v4.runtime.CommonTokenStream
-
Specifies the channel to use for filtering tokens.
- channelNames - Variable in class org.antlr.v4.runtime.LexerInterpreter
-
- 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
-
- 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
-
- checkCondition(boolean) - Static method in class org.antlr.v4.runtime.atn.ATNSimulator
-
- checkCondition(boolean, String) - Static method in class org.antlr.v4.runtime.atn.ATNSimulator
-
- 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(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, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
- 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
-
- 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 any equals()
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(Pair<TokenSource, CharStream>, int, int, int, int) - Constructor for class org.antlr.v4.runtime.CommonToken
-
- CommonToken(int, String) - Constructor for class org.antlr.v4.runtime.CommonToken
-
Constructs a new
CommonToken
with the specified token type and
text.
- CommonToken(Token) - Constructor for class org.antlr.v4.runtime.CommonToken
-
- CommonTokenFactory - Class in org.antlr.v4.runtime
-
- CommonTokenFactory(boolean) - Constructor for class org.antlr.v4.runtime.CommonTokenFactory
-
- CommonTokenFactory() - Constructor for class org.antlr.v4.runtime.CommonTokenFactory
-
- CommonTokenStream - Class in org.antlr.v4.runtime
-
- CommonTokenStream(TokenSource) - Constructor for class org.antlr.v4.runtime.CommonTokenStream
-
- 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
-
- 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 in
elements
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 in
elements
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(CharStream, ATNState) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
- computeStartState(ATNState, RuleContext, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
- 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
-
- 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(CharStream) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
- 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() - 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
-
- consumeUntil(Parser, IntervalSet) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
Consume tokens until one matches the given token set.
- contains(Object) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
- contains(Object) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
- 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.
- 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
-
- count(String, char) - Static method in class org.antlr.v4.runtime.misc.Utils
-
- 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(int, String) - 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.
- create(int, String) - Method in interface org.antlr.v4.runtime.TokenFactory
-
Generically useful
- 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 length capacity
.
- 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 length capacity
.
- 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
-
- createWithCodePointRange(ATNState, int, int) - Static method in class org.antlr.v4.runtime.atn.CodePointTransitions
-
If
codePointFrom
and
codePointTo
are both
<= U+FFFF, returns a new
RangeTransition
.
- 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.
- edgeFactory(ATN, int, int, int, int, int, int, List<IntervalSet>) - Method in class org.antlr.v4.runtime.atn.ATNDeserializer
-
- edgeFactory(ATN, int, int, int, int, int, int, List<IntervalSet>) - Static method in class org.antlr.v4.runtime.atn.ATNSimulator
-
- 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
-
- elementName(Vocabulary, int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
- elements() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
Return a List holding list of configs
- elements - Variable in class org.antlr.v4.runtime.misc.OrderedHashSet
-
Track the elements as they are added to the set
- elements() - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
-
Return the List holding list of table elements.
- elements - Variable in class org.antlr.v4.runtime.tree.xpath.XPath
-
- emit(Token) - Method in class org.antlr.v4.runtime.Lexer
-
By default does not support multiple emits per nextToken invocation
for efficiency reasons.
- emit() - Method in class org.antlr.v4.runtime.Lexer
-
The standard method called to automatically emit a token at the
outermost lexical rule.
- 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
-
- EMPTY_VOCABULARY - Static variable in class org.antlr.v4.runtime.VocabularyImpl
-
- EmptyPredictionContext - Class in org.antlr.v4.runtime.atn
-
- EmptyPredictionContext() - Constructor for class org.antlr.v4.runtime.atn.EmptyPredictionContext
-
- 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
-
- 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
-
- 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(ATNConfig) - Method in class org.antlr.v4.runtime.atn.ATNConfig
-
- equals(ATNConfig, ATNConfig) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet.ConfigEqualityComparator
-
- 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(ATNConfig) - Method in class org.antlr.v4.runtime.atn.LexerATNConfig
-
- 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(T, T) - Method in interface org.antlr.v4.runtime.misc.EqualityComparator
-
This method tests if two objects are equal.
- 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, Object) - Method in class org.antlr.v4.runtime.misc.ObjectEqualityComparator
-
This method tests if two objects are equal.
- 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
-
- 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
-
- 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
-
- 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.
- 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
-
- 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(Lexer) - Method in interface org.antlr.v4.runtime.atn.LexerAction
-
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
.
- 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(StringBuilder) - Method in class org.antlr.v4.runtime.TokenStreamRewriter.RewriteOperation
-
Execute the rewrite operation by possibly adding to the buffer.
- 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
-
- 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
-
- get(int) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
- get(PredictionContext) - Method in class org.antlr.v4.runtime.atn.PredictionContextCache
-
- get(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
- get(int, int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Get all tokens from start..stop inclusively
- get(int) - Method in class org.antlr.v4.runtime.CodePointBuffer
-
- get(T) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
- get(Key1, Key2) - Method in class org.antlr.v4.runtime.misc.DoubleKeyMap
-
- get(Key1) - Method in class org.antlr.v4.runtime.misc.DoubleKeyMap
-
- get(Object) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
-
- 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 specified
index
in the stream.
- get(ParseTree) - Method in class org.antlr.v4.runtime.tree.ParseTreeProperty
-
- get(String) - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Get the last node associated with a specific label
.
- get(int) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
-
- 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
-
- 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(T) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
- getBucket(K) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
-
- 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(Class<? extends T>, 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.
- 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(ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Gets a
BitSet
containing the alternatives in
configs
which are part of one or more conflicting alternative subsets.
- 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.
- 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
-
- getDecoded(ATN, List<String>) - Static method in class org.antlr.v4.runtime.atn.ATNSerializer
-
- 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
-
- getEdgeLabel(int) - Method in class org.antlr.v4.runtime.dfa.DFASerializer
-
- getEdgeLabel(int) - Method in class org.antlr.v4.runtime.dfa.LexerDFASerializer
-
- getEpsilonTarget(CharStream, LexerATNConfig, Transition, ATNConfigSet, boolean, boolean) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
- getEpsilonTarget(ATNConfig, Transition, boolean, boolean, boolean, boolean) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
- getErrorDisplay(String) - Method in class org.antlr.v4.runtime.Lexer
-
- getErrorDisplay(int) - 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(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 full context
.
- getExpectedTokens(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
- getExpectedTokens() - Method in class org.antlr.v4.runtime.Parser
-
- 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.
- 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, 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.
- 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.
- 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.
- 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.
- 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
-
- 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
-
- 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, Parser) - Static method in class org.antlr.v4.runtime.tree.Trees
-
- getNodeText(Tree, List<String>) - 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
-
- getOverrideDecisionRoot() - Method in class org.antlr.v4.runtime.ParserInterpreter
-
- getPairs() - Method in class org.antlr.v4.runtime.misc.MultiMap
-
- 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
-
- 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.
- 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
-
- 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 note.
- 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(Class<? extends T>, int) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
- getRuleContext() - Method in class org.antlr.v4.runtime.RuleContext
-
- getRuleContext() - Method in interface org.antlr.v4.runtime.tree.RuleNode
-
- getRuleContexts(Class<? extends T>) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
- getRuleIndex() - Method in class org.antlr.v4.runtime.atn.LexerCustomAction
-
- getRuleIndex() - Method in exception org.antlr.v4.runtime.FailedPredicateException
-
- getRuleIndex() - Method in class org.antlr.v4.runtime.InterpreterRuleContext
-
- 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.
- getRuleIndex() - Method in class org.antlr.v4.runtime.RuleContext
-
- 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(int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
- getRuleName() - Method in class org.antlr.v4.runtime.tree.pattern.RuleTagToken
-
Gets the name of the rule associated with this rule tag.
- 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
-
- getSerializedAsChars(ATN) - Static method in class org.antlr.v4.runtime.atn.ATNSerializer
-
- getSerializedAsString(ATN) - Static method in class org.antlr.v4.runtime.atn.ATNSerializer
-
Used by Java target to encode short/int array as chars in string.
- 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 the
TokenStream
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
-
- 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 the
ATNSimulator.ERROR
state was reached during ATN simulation.
- getText(Interval) - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
Deprecated.
- getText(CharStream) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
Get the text matched so far for the current token.
- getText() - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Get the text of all tokens in this buffer.
- getText(Interval) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
- getText(RuleContext) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
- getText(Token, Token) - 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() - 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(Interval) - Method in interface org.antlr.v4.runtime.TokenStream
-
Return the text of all tokens within the specified interval
.
- getText() - Method in interface org.antlr.v4.runtime.TokenStream
-
Return the text of all tokens in the stream.
- 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(Token, Token) - Method in interface org.antlr.v4.runtime.TokenStream
-
Return the text of all tokens in this stream between start
and
stop
(inclusive).
- 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(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(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(String, Interval) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- 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(Interval) - Method in class org.antlr.v4.runtime.UnbufferedCharStream
-
- getText() - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
-
- getText(RuleContext) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
-
- getText(Token, Token) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
-
- getText(Interval) - 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
-
- 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
creating
Token
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
creating
Token
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(int) - Method in class org.antlr.v4.runtime.atn.ATNSerializer
-
- getTokenName(int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
- getTokenName(int) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
- getTokenName() - Method in class org.antlr.v4.runtime.tree.pattern.TokenTagToken
-
Gets the token name.
- 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
-
- getTokenNames() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
-
Deprecated.
- getTokens() - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
- getTokens(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.
- getTokens(int, int, int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
- getTokens(int) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
- 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
-
- 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
-
- 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(ATNConfigSet) - Static method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
- getUniqueAlt(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Returns the unique alternative predicted by all alternative subsets in
altsets
.
- 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 *
or ID
or expr
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.
- i - Variable in class org.antlr.v4.runtime.ListTokenSource
-
- 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() - 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 - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator.SimState
-
- index() - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
- index() - Method in class org.antlr.v4.runtime.CodePointCharStream
-
- index - Variable in class org.antlr.v4.runtime.CommonToken
-
- 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 - Variable in class org.antlr.v4.runtime.TokenStreamRewriter.RewriteOperation
-
Token buffer index.
- 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(Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- insertAfter(int, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- insertAfter(String, Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- insertAfter(String, int, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- insertBefore(Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- insertBefore(int, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- insertBefore(String, Token, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- insertBefore(String, int, 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
-
- 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?
- 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(IntegerList) - Constructor for class org.antlr.v4.runtime.misc.IntegerList
-
- IntegerList(Collection<Integer>) - 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
-
- 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
-
- InterpreterDataReader.InterpreterData() - Constructor for class org.antlr.v4.runtime.misc.InterpreterDataReader.InterpreterData
-
- InterpreterRuleContext - Class in org.antlr.v4.runtime
-
- InterpreterRuleContext() - Constructor for class org.antlr.v4.runtime.InterpreterRuleContext
-
- InterpreterRuleContext(ParserRuleContext, int, int) - Constructor for class org.antlr.v4.runtime.InterpreterRuleContext
-
- 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(List<Interval>) - Constructor for class org.antlr.v4.runtime.misc.IntervalSet
-
- IntervalSet(IntervalSet) - Constructor for class org.antlr.v4.runtime.misc.IntervalSet
-
- IntervalSet(int...) - 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
-
- 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
-
- 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.
- isFeatureSupported(UUID, UUID) - Static method in class org.antlr.v4.runtime.atn.ATNDeserializer
-
Determines if a particular serialized representation of an ATN supports
a particular feature, identified by the
UUID
used for serializing
the ATN at the time the feature was first introduced.
- 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.atn.ATNDeserializationOptions
-
- isReadonly() - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
- isTrace() - Method in class org.antlr.v4.runtime.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
-
- 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(Recognizer<?, ?>, IntStream, ParserRuleContext) - Constructor for exception org.antlr.v4.runtime.RecognitionException
-
- RecognitionException(String, 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
-
- records - Variable in class org.antlr.v4.runtime.misc.LogManager
-
- 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 a
ParseCancellationException
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(LexerNoViableAltException) - Method in class org.antlr.v4.runtime.Lexer
-
- 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(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)
.
- recoverInline() - Method in class org.antlr.v4.runtime.ParserInterpreter
-
- 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(Object) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
- remove(Object) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
- remove() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet.SetIterator
-
- remove(Object) - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
-
- 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.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 a
RuleStopState
.
- 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, Object) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- replace(int, int, 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
-
- 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
-
- 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(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 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(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(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 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(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(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 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
-
- reportError(Parser, RecognitionException) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
- reportFailedPredicate(Parser, FailedPredicateException) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
- reportInputMismatch(Parser, InputMismatchException) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
- 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
-
- 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(Parser) - Method in interface org.antlr.v4.runtime.ANTLRErrorStrategy
-
Reset the error handler state for the specified recognizer
.
- 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(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
Reset the error handler state for the specified recognizer
.
- 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
-
- 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
-
- 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
-
- 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, ATNState) - Constructor for class org.antlr.v4.runtime.atn.RuleTransition
-
- RuleTransition(RuleStartState, int, int, ATNState) - Constructor for class org.antlr.v4.runtime.atn.RuleTransition
-
- 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
-
- s0 - Variable in class org.antlr.v4.runtime.dfa.DFA
-
- save(String) - Method in class org.antlr.v4.runtime.misc.LogManager
-
- save() - 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.AND(SemanticContext, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.AND
-
- 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.Operator() - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.Operator
-
- 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.OR(SemanticContext, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.OR
-
- SemanticContext.PrecedencePredicate - Class in org.antlr.v4.runtime.atn
-
- SemanticContext.PrecedencePredicate() - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
-
- SemanticContext.PrecedencePredicate(int) - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.PrecedencePredicate
-
- SemanticContext.Predicate - Class in org.antlr.v4.runtime.atn
-
- SemanticContext.Predicate() - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.Predicate
-
- SemanticContext.Predicate(int, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.Predicate
-
- 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:
grammar-type, (ANTLRParser.LEXER, ...)
max token type,
num states,
state-0-type ruleIndex, state-1-type ruleIndex, ...
- SERIALIZED_UUID - Static variable in class org.antlr.v4.runtime.atn.ATNDeserializer
-
This is the current serialized UUID.
- SERIALIZED_UUID - Static variable in class org.antlr.v4.runtime.atn.ATNSimulator
-
- SERIALIZED_VERSION - Static variable in class org.antlr.v4.runtime.atn.ATNDeserializer
-
- SERIALIZED_VERSION - Static variable in class org.antlr.v4.runtime.atn.ATNSimulator
-
- set - Variable in class org.antlr.v4.runtime.atn.SetTransition
-
- SET - Static variable in class org.antlr.v4.runtime.atn.Transition
-
- 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.
- 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
-
- 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.
- 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 creating
Token
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 creating
Token
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
-
- 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() - 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 - Variable in class org.antlr.v4.runtime.CodePointCharStream
-
- 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 - Static variable in class org.antlr.v4.runtime.Lexer
-
- 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.
- 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
-
- 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
-
- 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(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
-
- 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.
- 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
-
- stateFactory(int, int) - Static method in class org.antlr.v4.runtime.atn.ATNSimulator
-
- 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
-
- 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(IntSet) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
- 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 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 set
a
.
- 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(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(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Make sure index i
in tokens has a token.
- sync(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
- 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
.
- 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.