- a - Variable in class org.antlr.v4.runtime.misc.Interval
-
- a - Variable in class org.antlr.v4.runtime.misc.Pair
-
- a - Variable in class org.antlr.v4.runtime.misc.Triple
-
- AbstractConfigHashSet(AbstractEqualityComparator<? super ATNConfig>) - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet.AbstractConfigHashSet
-
- AbstractConfigHashSet(AbstractEqualityComparator<? super ATNConfig>, int, int) - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet.AbstractConfigHashSet
-
- AbstractEqualityComparator<T> - Class in org.antlr.v4.runtime.misc
-
This abstract base class is provided so performance-critical applications can
use virtual- instead of interface-dispatch when calling comparator methods.
- AbstractEqualityComparator() - Constructor for class org.antlr.v4.runtime.misc.AbstractEqualityComparator
-
- AbstractParseTreeVisitor<T> - Class in org.antlr.v4.runtime.tree
-
- AbstractParseTreeVisitor() - Constructor for class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
-
- AbstractPredicateTransition - Class in org.antlr.v4.runtime.atn
-
- AbstractPredicateTransition(ATNState) - Constructor for class org.antlr.v4.runtime.atn.AbstractPredicateTransition
-
- accept(CharStream, LexerActionExecutor, int, int, int, int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
- accept(ParseTreeVisitor<? extends T>) - Method in class org.antlr.v4.runtime.RuleContext
-
- accept(ParseTreeVisitor<? extends T>) - Method in class org.antlr.v4.runtime.tree.ErrorNodeImpl
-
- accept(ParseTreeVisitor<? extends T>) - Method in interface org.antlr.v4.runtime.tree.ParseTree
-
- accept(ParseTreeVisitor<? extends T>) - Method in class org.antlr.v4.runtime.tree.TerminalNodeImpl
-
- action(ActionAST) - Method in interface org.antlr.v4.automata.ATNFactory
-
Build what amounts to an epsilon transition with an action.
- action(String) - Method in interface org.antlr.v4.automata.ATNFactory
-
- action(ActionAST) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- action(String) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- action(GrammarAST, LexerAction) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- action(ActionAST) - Method in class org.antlr.v4.automata.ParserATNFactory
-
Build what amounts to an epsilon transition with an action.
- action(String) - Method in class org.antlr.v4.automata.ParserATNFactory
-
- action(ActionAST) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- action(List<SrcOp>) - Method in class org.antlr.v4.codegen.CodeGeneratorExtension
-
- Action - Class in org.antlr.v4.codegen.model
-
- Action(OutputModelFactory, ActionAST) - Constructor for class org.antlr.v4.codegen.model.Action
-
- Action(OutputModelFactory, StructDecl, String) - Constructor for class org.antlr.v4.codegen.model.Action
-
- Action(OutputModelFactory, StructDecl, ST) - Constructor for class org.antlr.v4.codegen.model.Action
-
- action(ActionAST) - Method in class org.antlr.v4.codegen.OutputModelController
-
- action(ActionAST) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- action(ActionAST) - Method in class org.antlr.v4.codegen.ParserFactory
-
- ACTION - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ACTION - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- ACTION - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- action() - Method in class org.antlr.v4.parse.ANTLRParser
-
- ACTION - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ACTION - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ACTION - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- action() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ACTION - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- ACTION - Static variable in class org.antlr.v4.runtime.atn.Transition
-
- action(RuleContext, int, int) - Method in class org.antlr.v4.runtime.Recognizer
-
- action(RuleContext, int, int) - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
-
- ACTION_CHAR_LITERAL - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ACTION_CHAR_LITERAL - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- ACTION_CHAR_LITERAL - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ACTION_CHAR_LITERAL - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ACTION_CHAR_LITERAL - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ACTION_CHAR_LITERAL - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ACTION_CHAR_LITERAL - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- ACTION_ESC - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ACTION_ESC - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- ACTION_ESC - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ACTION_ESC - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ACTION_ESC - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ACTION_ESC - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ACTION_ESC - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- action_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.action_return
-
- action_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.action_return
-
- ACTION_STRING_LITERAL - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ACTION_STRING_LITERAL - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- ACTION_STRING_LITERAL - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ACTION_STRING_LITERAL - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ACTION_STRING_LITERAL - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ACTION_STRING_LITERAL - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ACTION_STRING_LITERAL - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- ActionAST - Class in org.antlr.v4.tool.ast
-
- ActionAST(ActionAST) - Constructor for class org.antlr.v4.tool.ast.ActionAST
-
- ActionAST(Token) - Constructor for class org.antlr.v4.tool.ast.ActionAST
-
- ActionAST(int) - Constructor for class org.antlr.v4.tool.ast.ActionAST
-
- ActionAST(int, Token) - Constructor for class org.antlr.v4.tool.ast.ActionAST
-
- ActionChunk - Class in org.antlr.v4.codegen.model.chunk
-
- ActionChunk(StructDecl) - Constructor for class org.antlr.v4.codegen.model.chunk.ActionChunk
-
- actionElement() - Method in class org.antlr.v4.parse.ANTLRParser
-
- actionElement() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- actionElement_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.actionElement_return
-
- actionElement_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.actionElement_return
-
- actionFuncs - Variable in class org.antlr.v4.codegen.model.Lexer
-
- actionInAlt(ActionAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- actionInAlt(ActionAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- actionInAlt(ActionAST) - Method in class org.antlr.v4.semantics.SymbolCollector
-
- actionIndex - Variable in class org.antlr.v4.runtime.atn.ActionTransition
-
- actionIndex - Variable in class org.antlr.v4.tool.Rule
-
- actionIsContextDependent(ActionAST) - Static method in class org.antlr.v4.semantics.UseDefAnalyzer
-
- actionOptions - Static variable in class org.antlr.v4.tool.Grammar
-
- actions - Variable in class org.antlr.v4.codegen.model.RuleActionFunction
-
Map actionIndex to Action
- actions - Variable in class org.antlr.v4.tool.Alternative
-
Track all executable actions other than named actions like @init
and catch/finally (not in an alt).
- actions - Variable in class org.antlr.v4.tool.Rule
-
Track all executable actions other than named actions like @init
and catch/finally (not in an alt).
- actionScopeName() - Method in class org.antlr.v4.parse.ANTLRParser
-
- actionScopeName_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.actionScopeName_return
-
- ActionSniffer - Class in org.antlr.v4.semantics
-
Find token and rule refs plus refs to them in actions;
side-effect: update Alternatives
- ActionSniffer(Grammar, Rule, Alternative, ActionAST, Token) - Constructor for class org.antlr.v4.semantics.ActionSniffer
-
- ActionSplitter - Class in org.antlr.v4.parse
-
- ActionSplitter(CharStream, ActionSplitterListener) - Constructor for class org.antlr.v4.parse.ActionSplitter
-
- ActionSplitter() - Constructor for class org.antlr.v4.parse.ActionSplitter
-
- ActionSplitter(CharStream) - Constructor for class org.antlr.v4.parse.ActionSplitter
-
- ActionSplitter(CharStream, RecognizerSharedState) - Constructor for class org.antlr.v4.parse.ActionSplitter
-
- ActionSplitterListener - Interface in org.antlr.v4.parse
-
- ActionTemplate - Class in org.antlr.v4.codegen.model.chunk
-
- ActionTemplate(StructDecl, ST) - Constructor for class org.antlr.v4.codegen.model.chunk.ActionTemplate
-
- ActionText - Class in org.antlr.v4.codegen.model.chunk
-
- ActionText(StructDecl, String) - Constructor for class org.antlr.v4.codegen.model.chunk.ActionText
-
- actionToIndexMap - Variable in class org.antlr.v4.automata.LexerATNFactory
-
- actionToken - Variable in class org.antlr.v4.semantics.ActionSniffer
-
- actionToken - Variable in class org.antlr.v4.semantics.AttributeChecks
-
- ActionTransition - Class in org.antlr.v4.runtime.atn
-
- ActionTransition(ATNState, int) - Constructor for class org.antlr.v4.runtime.atn.ActionTransition
-
- ActionTransition(ATNState, int, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.ActionTransition
-
- actionTransition(ATNConfig, ActionTransition) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
- ActionTranslator - Class in org.antlr.v4.codegen
-
- ActionTranslator(OutputModelFactory, ActionAST) - Constructor for class org.antlr.v4.codegen.ActionTranslator
-
- adaptivePredict(TokenStream, int, ParserRuleContext) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
- adaptivePredict(TokenStream, int, ParserRuleContext) - Method in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
-
- adaptor - Variable in class org.antlr.v4.parse.ANTLRParser
-
- adaptor - Variable in class org.antlr.v4.parse.BlockSetTransformer
-
- add(T) - Method in class org.antlr.v4.misc.FrequencySet
-
- add(ATNConfig) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
- add(ATNConfig, DoubleKeyMap<PredictionContext, PredictionContext, PredictionContext>) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
- add(PredictionContext) - Method in class org.antlr.v4.runtime.atn.PredictionContextCache
-
Add a context to the cache and return it.
- add(T) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
- add(int) - Method in class org.antlr.v4.runtime.misc.IntegerList
-
- add(int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Add a single element to the set.
- add(int, int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Add interval; i.e., add all integers from a to b to set.
- add(Interval) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
- add(int) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Adds the specified value to the current set.
- add(T) - Method in class org.antlr.v4.runtime.misc.OrderedHashSet
-
Add a value to list; keep in hashtable for consistency also;
Key is object itself.
- add(int) - Method in class org.antlr.v4.runtime.UnbufferedCharStream
-
- add(Token) - Method in class org.antlr.v4.runtime.UnbufferedTokenStream
-
- add(Attribute) - Method in class org.antlr.v4.tool.AttributeDict
-
- addAll(Collection<? extends ATNConfig>) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
- addAll(Collection<? extends T>) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
- addAll(int[]) - Method in class org.antlr.v4.runtime.misc.IntegerList
-
- addAll(IntegerList) - Method in class org.antlr.v4.runtime.misc.IntegerList
-
- addAll(Collection<Integer>) - Method in class org.antlr.v4.runtime.misc.IntegerList
-
- addAll(IntSet) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
- addAll(IntSet) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Modify the current
IntSet
object to contain all elements that are
present in itself, the specified
set
, or both.
- addBadWords() - Method in class org.antlr.v4.codegen.target.JavaScriptTarget
-
- addBadWords() - Method in class org.antlr.v4.codegen.target.JavaTarget
-
- addBadWords() - Method in class org.antlr.v4.codegen.target.Python2Target
-
- addBadWords() - Method in class org.antlr.v4.codegen.target.Python3Target
-
- addChild(TerminalNode) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
Does not set parent link; other add methods do that
- addChild(RuleContext) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
- addChild(Token) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
- addCodeForLookaheadTempVar(IntervalSet) - Method in class org.antlr.v4.codegen.model.Choice
-
- addCodeForLoopLookaheadTempVar(IntervalSet) - Method in class org.antlr.v4.codegen.model.LL1Loop
-
- addContextDecl(String, Decl) - Method in class org.antlr.v4.codegen.model.RuleFunction
-
Add decl to struct ctx for rule or alt if labeled
- addContextGetters(OutputModelFactory, Rule) - Method in class org.antlr.v4.codegen.model.RuleFunction
-
- addContextToParseTree() - Method in class org.antlr.v4.runtime.Parser
-
- addDecisionOverride(int, int, int) - Method in class org.antlr.v4.runtime.ParserInterpreter
-
Override this parser interpreters normal decision-making process
at a particular decision and input token index.
- addDecl(Decl) - Method in class org.antlr.v4.codegen.model.decl.StructDecl
-
- addDecl(Attribute) - Method in class org.antlr.v4.codegen.model.decl.StructDecl
-
- addDecls(Collection<Attribute>) - Method in class org.antlr.v4.codegen.model.decl.StructDecl
-
- addDFAEdge(DFAState, int, ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
- addDFAEdge(DFAState, int, DFAState) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
- addDFAEdge(DFA, DFAState, int, DFAState) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Add an edge to the DFA, if possible.
- addDFAState(ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
Add a new DFA state if there isn't one with this set of
configurations already.
- addDFAState(DFA, DFAState) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
Add state D
to the DFA if it is not already present, and return
the actual instance stored in the DFA.
- addDispatchMethods(Rule) - Method in class org.antlr.v4.codegen.model.decl.AltLabelStructDecl
-
- addDispatchMethods(Rule) - Method in class org.antlr.v4.codegen.model.decl.StructDecl
-
- addEdge(T, T) - Method in class org.antlr.v4.misc.Graph
-
- addEdge(Graph.Node<T>) - Method in class org.antlr.v4.misc.Graph.Node
-
- addEOFTransitionToStartRules() - Method in class org.antlr.v4.automata.ParserATNFactory
-
Add an EOF transition to any rule end ATNState that points to nothing
(i.e., for all those rules not invoked by another rule).
- addErrorListener(ANTLRErrorListener) - Method in class org.antlr.v4.runtime.Recognizer
-
- addErrorNode(Token) - Method in class org.antlr.v4.runtime.ParserRuleContext
-
- addExtension(CodeGeneratorExtension) - Method in class org.antlr.v4.codegen.OutputModelController
-
- addExtensionMember(OutputModelObject) - Method in class org.antlr.v4.codegen.model.decl.StructDecl
-
- addFollowLink(int, ATNState) - Method in class org.antlr.v4.automata.ParserATNFactory
-
- addHighlightedNodes(Collection<Tree>) - Method in class org.antlr.v4.gui.TreeViewer
-
Slow for big lists of highlighted nodes
- addIterationOp(SrcOp) - Method in class org.antlr.v4.codegen.model.LL1Loop
-
- addIterationOp(SrcOp) - Method in class org.antlr.v4.codegen.model.Loop
-
- addListener(ANTLRToolListener) - Method in class org.antlr.v4.Tool
-
- addLocalDecl(Decl) - Method in class org.antlr.v4.codegen.model.decl.CodeBlock
-
Add local var decl
- addLocalDecl(Decl) - Method in class org.antlr.v4.codegen.model.RuleFunction
-
Add local var decl
- addOp(SrcOp) - Method in class org.antlr.v4.codegen.model.decl.CodeBlock
-
- addOps(List<SrcOp>) - Method in class org.antlr.v4.codegen.model.decl.CodeBlock
-
- addParseListener(ParseTreeListener) - Method in class org.antlr.v4.runtime.Parser
-
Registers listener
to receive events during the parsing process.
- addPreambleOp(SrcOp) - Method in class org.antlr.v4.codegen.model.Choice
-
- addPreambleOp(SrcOp) - Method in class org.antlr.v4.codegen.model.decl.CodeBlock
-
- addPrecedenceArgToRules(AltAST, int) - Method in class org.antlr.v4.analysis.LeftRecursiveRuleAnalyzer
-
- addRuleFollowLinks() - Method in class org.antlr.v4.automata.ParserATNFactory
-
- addRulesToCycle(Rule, Rule) - Method in class org.antlr.v4.analysis.LeftRecursionDetector
-
enclosingRule calls targetRule.
- addState(ATNState) - Method in class org.antlr.v4.runtime.atn.ATN
-
- AddToLabelList - Class in org.antlr.v4.codegen.model
-
- AddToLabelList(OutputModelFactory, String, Decl) - Constructor for class org.antlr.v4.codegen.model.AddToLabelList
-
- addTransition(Transition) - Method in class org.antlr.v4.runtime.atn.ATNState
-
- addTransition(int, Transition) - Method in class org.antlr.v4.runtime.atn.ATNState
-
- adjacent(Interval) - Method in class org.antlr.v4.runtime.misc.Interval
-
Are two intervals adjacent such as 0..41 and 42..42?
- adjustSeekIndex(int) - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
Allowed derived classes to modify the behavior of operations which change
the current stream position by adjusting the target token index of a seek
operation.
- adjustSeekIndex(int) - Method in class org.antlr.v4.runtime.CommonTokenStream
-
- aggregateResult(T, T) - Method in class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
-
Aggregates the results of visiting multiple children of a node.
- ALL_GRAMMAR_EXTENSIONS - Static variable in class org.antlr.v4.Tool
-
- allConfigsInRuleStopStates(ATNConfigSet) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
- allSubsetsConflict(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Determines if every alternative subset in altsets
contains more
than one alternative.
- allSubsetsEqual(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
Determines if every alternative subset in altsets
is equivalent.
- alreadyParsedRule(IntStream, int) - Method in class org.antlr.v4.parse.ActionSplitter
-
- alt(List<ATNFactory.Handle>) - Method in interface org.antlr.v4.automata.ATNFactory
-
- alt(List<ATNFactory.Handle>) - Method in class org.antlr.v4.automata.ParserATNFactory
-
- alt - Variable in class org.antlr.v4.codegen.model.CodeBlockForOuterMostAlt
-
The alternative.
- ALT - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- alt(boolean) - Method in class org.antlr.v4.codegen.SourceGenTriggers
-
- ALT - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ALT - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ALT - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ALT - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ALT - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- alt - Variable in class org.antlr.v4.runtime.atn.ATNConfig
-
What alt (or lexer rule) is predicted by this configuration
- alt - Variable in class org.antlr.v4.runtime.dfa.DFAState.PredPrediction
-
- alt - Variable in class org.antlr.v4.semantics.ActionSniffer
-
- alt - Variable in class org.antlr.v4.semantics.AttributeChecks
-
- alt - Variable in class org.antlr.v4.tool.ast.AltAST
-
- alt - Variable in class org.antlr.v4.tool.Rule
-
1..n alts
- alt_return() - Constructor for class org.antlr.v4.codegen.SourceGenTriggers.alt_return
-
- altAssociativity - Variable in class org.antlr.v4.analysis.LeftRecursiveRuleAnalyzer
-
- altAST - Variable in class org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
-
- AltAST - Class in org.antlr.v4.tool.ast
-
Any ALT (which can be child of ALT_REWRITE node)
- AltAST(AltAST) - Constructor for class org.antlr.v4.tool.ast.AltAST
-
- AltAST(Token) - Constructor for class org.antlr.v4.tool.ast.AltAST
-
- AltAST(int) - Constructor for class org.antlr.v4.tool.ast.AltAST
-
- AltAST(int, Token) - Constructor for class org.antlr.v4.tool.ast.AltAST
-
- AltAST(int, Token, String) - Constructor for class org.antlr.v4.tool.ast.AltAST
-
- AltBlock - Class in org.antlr.v4.codegen.model
-
- AltBlock(OutputModelFactory, GrammarAST, List<CodeBlockForAlt>) - Constructor for class org.antlr.v4.codegen.model.AltBlock
-
- altCodeBlock - Variable in class org.antlr.v4.codegen.SourceGenTriggers.alt_return
-
- altCodeBlock - Variable in class org.antlr.v4.codegen.SourceGenTriggers.alternative_return
-
- alternative(Alternative, boolean) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- alternative(CodeBlockForAlt, boolean) - Method in class org.antlr.v4.codegen.CodeGeneratorExtension
-
- alternative(Alternative, boolean) - Method in class org.antlr.v4.codegen.OutputModelController
-
- alternative(Alternative, boolean) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- alternative(Alternative, boolean) - Method in class org.antlr.v4.codegen.ParserFactory
-
- alternative() - Method in class org.antlr.v4.codegen.SourceGenTriggers
-
- alternative() - Method in class org.antlr.v4.parse.ANTLRParser
-
- alternative() - Method in class org.antlr.v4.parse.ATNBuilder
-
- alternative() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- alternative() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- Alternative - Class in org.antlr.v4.tool
-
An outermost alternative for a rule.
- Alternative(Rule, int) - Constructor for class org.antlr.v4.tool.Alternative
-
- alternative_return() - Constructor for class org.antlr.v4.codegen.SourceGenTriggers.alternative_return
-
- alternative_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.alternative_return
-
- alternative_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.alternative_return
-
- alternativeEntry() - Method in class org.antlr.v4.parse.ANTLRParser
-
- alternativeEntry_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.alternativeEntry_return
-
- altLabel - Variable in class org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
-
- altLabel - Variable in class org.antlr.v4.codegen.model.CodeBlockForOuterMostAlt
-
The label for the alternative; or null if the alternative is not labeled.
- altLabel - Variable in class org.antlr.v4.tool.ast.AltAST
-
If someone specified an outermost alternative label with #foo.
- altLabelCtxs - Variable in class org.antlr.v4.codegen.model.RuleFunction
-
- AltLabelStructDecl - Class in org.antlr.v4.codegen.model.decl
-
A StructDecl to handle a -> label on alt
- AltLabelStructDecl(OutputModelFactory, Rule, int, String) - Constructor for class org.antlr.v4.codegen.model.decl.AltLabelStructDecl
-
- altLabelToRuleName - Variable in class org.antlr.v4.semantics.RuleCollector
-
- ALTLIST - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ALTLIST - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- altList() - Method in class org.antlr.v4.parse.ANTLRParser
-
- ALTLIST - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ALTLIST - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ALTLIST - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ALTLIST - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- altList_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.altList_return
-
- altLook - Variable in class org.antlr.v4.codegen.model.LL1Choice
-
Token names for each alt 0..n-1
- altNum - Variable in class org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
-
- altNum - Variable in class org.antlr.v4.codegen.model.decl.AltLabelStructDecl
-
- altNum - Variable in class org.antlr.v4.tool.Alternative
-
What alternative number is this outermost alt? 1..n
- alts - Variable in class org.antlr.v4.codegen.model.Choice
-
- altText - Variable in class org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
-
- altToContext - Variable in class org.antlr.v4.codegen.model.RuleFunction
-
- ambigAlts - Variable in class org.antlr.v4.runtime.atn.AmbiguityInfo
-
The set of alternative numbers for this decision event that lead to a valid parse.
- ambiguities - Variable in class org.antlr.v4.runtime.atn.DecisionInfo
-
A collection of
AmbiguityInfo
instances describing the
ambiguities encountered during LL prediction for this decision.
- AmbiguityInfo - Class in org.antlr.v4.runtime.atn
-
This class represents profiling event information for an ambiguity.
- AmbiguityInfo(int, ATNConfigSet, BitSet, TokenStream, int, int, boolean) - Constructor for class org.antlr.v4.runtime.atn.AmbiguityInfo
-
Constructs a new instance of the
AmbiguityInfo
class with the
specified detailed ambiguity information.
- AnalysisPipeline - Class in org.antlr.v4.analysis
-
- AnalysisPipeline(Grammar) - Constructor for class org.antlr.v4.analysis.AnalysisPipeline
-
- and(SemanticContext, SemanticContext) - Static method in class org.antlr.v4.runtime.atn.SemanticContext
-
- AND(SemanticContext, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.SemanticContext.AND
-
- and(IntSet) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Return a new
IntSet
object containing all elements that are
present in both the current set and the specified set
a
.
- and(IntSet) - Method in interface org.antlr.v4.runtime.misc.IntSet
-
Return a new
IntSet
object containing all elements that are
present in both the current set and the specified set
a
.
- annotations - Variable in class org.antlr.v4.runtime.tree.ParseTreeProperty
-
- Antlr4ErrorLog - Class in org.antlr.mojo.antlr4
-
This implementation of
ANTLRToolListener
reports messages to the
Log
instance provided by Maven.
- Antlr4ErrorLog(Tool, BuildContext, Log) - Constructor for class org.antlr.mojo.antlr4.Antlr4ErrorLog
-
- Antlr4Mojo - Class in org.antlr.mojo.antlr4
-
Parses ANTLR 4 grammar files *.g4
and transforms them into Java
source files.
- Antlr4Mojo() - Constructor for class org.antlr.mojo.antlr4.Antlr4Mojo
-
- ANTLRErrorListener - Interface in org.antlr.v4.runtime
-
How to emit recognition errors.
- ANTLRErrorStrategy - Interface in org.antlr.v4.runtime
-
The interface for defining strategies to deal with syntax errors encountered
during a parse by ANTLR-generated parsers.
- ANTLRFileStream - Class in org.antlr.v4.runtime
-
This is an
ANTLRInputStream
that is loaded from a file all at once
when you construct the object.
- ANTLRFileStream(String) - Constructor for class org.antlr.v4.runtime.ANTLRFileStream
-
- ANTLRFileStream(String, String) - Constructor for class org.antlr.v4.runtime.ANTLRFileStream
-
- ANTLRInputStream - Class in org.antlr.v4.runtime
-
- ANTLRInputStream() - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
- ANTLRInputStream(String) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
Copy data in string to a local char array
- ANTLRInputStream(char[], int) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
This is the preferred constructor for strings as no data is copied
- ANTLRInputStream(Reader) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
- ANTLRInputStream(Reader, int) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
- ANTLRInputStream(Reader, int, int) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
- ANTLRInputStream(InputStream) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
- ANTLRInputStream(InputStream, int) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
- ANTLRInputStream(InputStream, int, int) - Constructor for class org.antlr.v4.runtime.ANTLRInputStream
-
- ANTLRLexer - Class in org.antlr.v4.parse
-
Read in an ANTLR grammar and build an AST.
- ANTLRLexer() - Constructor for class org.antlr.v4.parse.ANTLRLexer
-
- ANTLRLexer(CharStream) - Constructor for class org.antlr.v4.parse.ANTLRLexer
-
- ANTLRLexer(CharStream, RecognizerSharedState) - Constructor for class org.antlr.v4.parse.ANTLRLexer
-
- ANTLRLexer.DFA2 - Class in org.antlr.v4.parse
-
- ANTLRLexer.DFA34 - Class in org.antlr.v4.parse
-
- ANTLRLiteralCharValueEscape - Static variable in class org.antlr.v4.misc.CharSupport
-
Given a char, we need to be able to show as an ANTLR literal.
- ANTLRLiteralEscapedCharValue - Static variable in class org.antlr.v4.misc.CharSupport
-
When converting ANTLR char and string literals, here is the
value set of escape chars.
- ANTLRMessage - Class in org.antlr.v4.tool
-
- ANTLRMessage(ErrorType) - Constructor for class org.antlr.v4.tool.ANTLRMessage
-
- ANTLRMessage(ErrorType, Token, Object...) - Constructor for class org.antlr.v4.tool.ANTLRMessage
-
- ANTLRMessage(ErrorType, Throwable, Token, Object...) - Constructor for class org.antlr.v4.tool.ANTLRMessage
-
- ANTLRParser - Class in org.antlr.v4.parse
-
The definitive ANTLR v3 grammar to parse ANTLR v4 grammars.
- ANTLRParser(TokenStream) - Constructor for class org.antlr.v4.parse.ANTLRParser
-
- ANTLRParser(TokenStream, RecognizerSharedState) - Constructor for class org.antlr.v4.parse.ANTLRParser
-
- ANTLRParser.action_return - Class in org.antlr.v4.parse
-
- ANTLRParser.actionElement_return - Class in org.antlr.v4.parse
-
- ANTLRParser.actionScopeName_return - Class in org.antlr.v4.parse
-
- ANTLRParser.alternative_return - Class in org.antlr.v4.parse
-
- ANTLRParser.alternativeEntry_return - Class in org.antlr.v4.parse
-
- ANTLRParser.altList_return - Class in org.antlr.v4.parse
-
- ANTLRParser.atom_return - Class in org.antlr.v4.parse
-
- ANTLRParser.block_return - Class in org.antlr.v4.parse
-
- ANTLRParser.blockEntry_return - Class in org.antlr.v4.parse
-
- ANTLRParser.blockSet_return - Class in org.antlr.v4.parse
-
- ANTLRParser.blockSuffix_return - Class in org.antlr.v4.parse
-
- ANTLRParser.channelsSpec_return - Class in org.antlr.v4.parse
-
- ANTLRParser.delegateGrammar_return - Class in org.antlr.v4.parse
-
- ANTLRParser.delegateGrammars_return - Class in org.antlr.v4.parse
-
- ANTLRParser.ebnf_return - Class in org.antlr.v4.parse
-
- ANTLRParser.ebnfSuffix_return - Class in org.antlr.v4.parse
-
- ANTLRParser.element_return - Class in org.antlr.v4.parse
-
- ANTLRParser.elementEntry_return - Class in org.antlr.v4.parse
-
- ANTLRParser.elementOption_return - Class in org.antlr.v4.parse
-
- ANTLRParser.elementOptions_return - Class in org.antlr.v4.parse
-
- ANTLRParser.exceptionGroup_return - Class in org.antlr.v4.parse
-
- ANTLRParser.exceptionHandler_return - Class in org.antlr.v4.parse
-
- ANTLRParser.finallyClause_return - Class in org.antlr.v4.parse
-
- ANTLRParser.grammarSpec_return - Class in org.antlr.v4.parse
-
- ANTLRParser.grammarType_return - Class in org.antlr.v4.parse
-
- ANTLRParser.id_return - Class in org.antlr.v4.parse
-
- ANTLRParser.labeledAlt_return - Class in org.antlr.v4.parse
-
- ANTLRParser.labeledElement_return - Class in org.antlr.v4.parse
-
- ANTLRParser.labeledLexerElement_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerAlt_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerAltList_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerAtom_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerBlock_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerCommand_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerCommandExpr_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerCommandName_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerCommands_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerElement_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerElements_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerRule_return - Class in org.antlr.v4.parse
-
- ANTLRParser.lexerRuleBlock_return - Class in org.antlr.v4.parse
-
- ANTLRParser.localsSpec_return - Class in org.antlr.v4.parse
-
- ANTLRParser.modeSpec_return - Class in org.antlr.v4.parse
-
- ANTLRParser.notSet_return - Class in org.antlr.v4.parse
-
- ANTLRParser.option_return - Class in org.antlr.v4.parse
-
- ANTLRParser.optionsSpec_return - Class in org.antlr.v4.parse
-
- ANTLRParser.optionValue_return - Class in org.antlr.v4.parse
-
- ANTLRParser.parserRule_return - Class in org.antlr.v4.parse
-
- ANTLRParser.prequelConstruct_return - Class in org.antlr.v4.parse
-
- ANTLRParser.qid_return - Class in org.antlr.v4.parse
-
- ANTLRParser.range_return - Class in org.antlr.v4.parse
-
- ANTLRParser.rule_return - Class in org.antlr.v4.parse
-
- ANTLRParser.ruleAction_return - Class in org.antlr.v4.parse
-
- ANTLRParser.ruleAltList_return - Class in org.antlr.v4.parse
-
- ANTLRParser.ruleBlock_return - Class in org.antlr.v4.parse
-
- ANTLRParser.ruleEntry_return - Class in org.antlr.v4.parse
-
- ANTLRParser.rulePrequel_return - Class in org.antlr.v4.parse
-
- ANTLRParser.rulePrequels_return - Class in org.antlr.v4.parse
-
- ANTLRParser.ruleref_return - Class in org.antlr.v4.parse
-
- ANTLRParser.ruleReturns_return - Class in org.antlr.v4.parse
-
- ANTLRParser.rules_return - Class in org.antlr.v4.parse
-
- ANTLRParser.setElement_return - Class in org.antlr.v4.parse
-
- ANTLRParser.sync_return - Class in org.antlr.v4.parse
-
- ANTLRParser.terminal_return - Class in org.antlr.v4.parse
-
- ANTLRParser.throwsSpec_return - Class in org.antlr.v4.parse
-
- ANTLRParser.tokensSpec_return - Class in org.antlr.v4.parse
-
- ANTLRParser.v3tokenSpec_return - Class in org.antlr.v4.parse
-
- ANTLRParser.wildcard_return - Class in org.antlr.v4.parse
-
- ANTLRToolListener - Interface in org.antlr.v4.tool
-
Defines behavior of object able to handle error messages from ANTLR including
both tool errors like "can't write file" and grammar ambiguity warnings.
- ANTLRVersion - Variable in class org.antlr.v4.codegen.model.OutputFile
-
- ANYWHERE - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
-
- append(LexerActionExecutor, LexerAction) - Static method in class org.antlr.v4.runtime.atn.LexerActionExecutor
-
Creates a
LexerActionExecutor
which executes the actions for
the input
lexerActionExecutor
followed by a specified
lexerAction
.
- applyPrecedenceFilter(ATNConfigSet) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
- approveSelection() - Method in class org.antlr.v4.gui.JFileChooserConfirmOverwrite
-
- arcSize - Variable in class org.antlr.v4.gui.TreeViewer
-
- ARG - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ARG - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ARG - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ARG - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ARG - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ARG - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- ARG_ACTION - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ARG_ACTION - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- ARG_ACTION - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ARG_ACTION - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ARG_ACTION - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ARG_ACTION - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ARG_ACTION - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- ARG_OR_CHARSET - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ARG_OR_CHARSET - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- ARG_OR_CHARSET - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ARG_OR_CHARSET - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ARG_OR_CHARSET - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ARG_OR_CHARSET - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ARG_OR_CHARSET - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- ArgAction - Class in org.antlr.v4.codegen.model
-
- ArgAction(OutputModelFactory, ActionAST, String) - Constructor for class org.antlr.v4.codegen.model.ArgAction
-
- argExprsChunks - Variable in class org.antlr.v4.codegen.model.InvokeRule
-
- ARGLIST - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ARGLIST - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ARGLIST - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ARGLIST - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ARGLIST - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ARGLIST - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- ArgRef - Class in org.antlr.v4.codegen.model.chunk
-
- ArgRef(StructDecl, String) - Constructor for class org.antlr.v4.codegen.model.chunk.ArgRef
-
- args - Variable in class org.antlr.v4.codegen.model.RuleFunction
-
- args - Variable in class org.antlr.v4.Tool
-
- args - Variable in class org.antlr.v4.tool.Rule
-
- arguments - Variable in class org.antlr.mojo.antlr4.Antlr4Mojo
-
A list of additional command line arguments to pass to the ANTLR tool.
- Array2DHashSet<T> - Class in org.antlr.v4.runtime.misc
-
Set
implementation with closed hashing (open addressing).
- Array2DHashSet() - Constructor for class org.antlr.v4.runtime.misc.Array2DHashSet
-
- Array2DHashSet(AbstractEqualityComparator<? super T>) - Constructor for class org.antlr.v4.runtime.misc.Array2DHashSet
-
- Array2DHashSet(AbstractEqualityComparator<? super T>, int, int) - Constructor for class org.antlr.v4.runtime.misc.Array2DHashSet
-
- Array2DHashSet.SetIterator - Class in org.antlr.v4.runtime.misc
-
- ArrayPredictionContext - Class in org.antlr.v4.runtime.atn
-
- ArrayPredictionContext(SingletonPredictionContext) - Constructor for class org.antlr.v4.runtime.atn.ArrayPredictionContext
-
- ArrayPredictionContext(PredictionContext[], int[]) - Constructor for class org.antlr.v4.runtime.atn.ArrayPredictionContext
-
- arrowhead - Variable in class org.antlr.v4.tool.DOTGenerator
-
- asElementType(Object) - Method in class org.antlr.v4.runtime.atn.ATNConfigSet.AbstractConfigHashSet
-
- asElementType(Object) - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
Return o
as an instance of the element type T
.
- ASSIGN - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ASSIGN - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- ASSIGN - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ASSIGN - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ASSIGN - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ASSIGN - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ASSIGN - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- asString() - Method in class org.antlr.v4.automata.ATNPrinter
-
- ast - Variable in class org.antlr.v4.analysis.LeftRecursiveRuleTransformer
-
- ast - Variable in class org.antlr.v4.codegen.model.OutputModelObject
-
- ast - Variable in class org.antlr.v4.tool.Alternative
-
- ast - Variable in class org.antlr.v4.tool.AttributeDict
-
- ast - Variable in class org.antlr.v4.tool.Grammar
-
- ast - Variable in class org.antlr.v4.tool.Rule
-
- astOperand() - Method in class org.antlr.v4.parse.ATNBuilder
-
- astOperand() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- astOperand_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.astOperand_return
-
- AT - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- AT - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- AT - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- AT - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- AT - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- AT - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- AT - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- atn - Variable in class org.antlr.mojo.antlr4.Antlr4Mojo
-
If set to true then the ANTLR tool will generate a description of the ATN
for each rule in
Dot format.
- atn - Variable in class org.antlr.v4.analysis.LeftRecursionDetector
-
- atn - Variable in class org.antlr.v4.automata.ParserATNFactory
-
- atn - Variable in class org.antlr.v4.codegen.model.Recognizer
-
- ATN - Class in org.antlr.v4.runtime.atn
-
- ATN(ATNType, int) - Constructor for class org.antlr.v4.runtime.atn.ATN
-
Used for runtime deserialization of ATNs from strings
- atn - Variable in class org.antlr.v4.runtime.atn.ATNSerializer
-
- atn - Variable in class org.antlr.v4.runtime.atn.ATNSimulator
-
- atn - Variable in class org.antlr.v4.runtime.atn.ATNState
-
Which ATN are we in?
- atn - Variable in class org.antlr.v4.runtime.atn.LL1Analyzer
-
- atn - Variable in class org.antlr.v4.runtime.LexerInterpreter
-
- atn - Variable in class org.antlr.v4.runtime.ParserInterpreter
-
- atn - Variable in class org.antlr.v4.tool.Grammar
-
The ATN that represents the grammar with edges labelled with tokens
or epsilon.
- ATNBuilder - Class in org.antlr.v4.parse
-
- ATNBuilder(TreeNodeStream) - Constructor for class org.antlr.v4.parse.ATNBuilder
-
- ATNBuilder(TreeNodeStream, RecognizerSharedState) - Constructor for class org.antlr.v4.parse.ATNBuilder
-
- ATNBuilder(TreeNodeStream, ATNFactory) - Constructor for class org.antlr.v4.parse.ATNBuilder
-
- ATNBuilder.atom_return - Class in org.antlr.v4.parse
-
- ATNBuilder.blockSet_return - Class in org.antlr.v4.parse
-
- ATNBuilder.DFA10 - Class in org.antlr.v4.parse
-
- ATNBuilder.element_return - Class in org.antlr.v4.parse
-
- ATNBuilder.lexerCommandExpr_return - Class in org.antlr.v4.parse
-
- ATNBuilder.setElement_return - Class in org.antlr.v4.parse
-
- ATNBuilder.subrule_return - Class in org.antlr.v4.parse
-
- ATNBuilder.terminal_return - Class in org.antlr.v4.parse
-
- ATNConfig - Class in org.antlr.v4.runtime.atn
-
A tuple: (ATN state, predicted alt, syntactic, semantic context).
- ATNConfig(ATNConfig) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
-
- ATNConfig(ATNState, int, PredictionContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
-
- ATNConfig(ATNState, int, PredictionContext, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
-
- ATNConfig(ATNConfig, ATNState) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
-
- ATNConfig(ATNConfig, ATNState, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
-
- ATNConfig(ATNConfig, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
-
- ATNConfig(ATNConfig, ATNState, PredictionContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
-
- ATNConfig(ATNConfig, ATNState, PredictionContext, SemanticContext) - Constructor for class org.antlr.v4.runtime.atn.ATNConfig
-
- ATNConfigSet - Class in org.antlr.v4.runtime.atn
-
Specialized
Set
<
ATNConfig
>
that can track
info about the set, with support for combining similar configurations using a
graph-structured stack.
- ATNConfigSet(boolean) - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet
-
- ATNConfigSet() - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet
-
- ATNConfigSet(ATNConfigSet) - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet
-
- ATNConfigSet.AbstractConfigHashSet - Class in org.antlr.v4.runtime.atn
-
- ATNConfigSet.ConfigEqualityComparator - Class in org.antlr.v4.runtime.atn
-
- ATNConfigSet.ConfigHashSet - Class in org.antlr.v4.runtime.atn
-
The reason that we need this is because we don't want the hash map to use
the standard hash code and equals.
- ATNDeserializationOptions - Class in org.antlr.v4.runtime.atn
-
- ATNDeserializationOptions() - Constructor for class org.antlr.v4.runtime.atn.ATNDeserializationOptions
-
- ATNDeserializationOptions(ATNDeserializationOptions) - Constructor for class org.antlr.v4.runtime.atn.ATNDeserializationOptions
-
- ATNDeserializer - Class in org.antlr.v4.runtime.atn
-
- ATNDeserializer() - Constructor for class org.antlr.v4.runtime.atn.ATNDeserializer
-
- ATNDeserializer(ATNDeserializationOptions) - Constructor for class org.antlr.v4.runtime.atn.ATNDeserializer
-
- ATNFactory - Interface in org.antlr.v4.automata
-
- ATNFactory.Handle - Class in org.antlr.v4.automata
-
A pair of states pointing to the left/right (start and end) states of a
state submachine.
- ATNOptimizer - Class in org.antlr.v4.automata
-
- ATNPrinter - Class in org.antlr.v4.automata
-
An ATN walker that knows how to dump them to serialized strings.
- ATNPrinter(Grammar, ATNState) - Constructor for class org.antlr.v4.automata.ATNPrinter
-
- ATNSerializer - Class in org.antlr.v4.runtime.atn
-
- ATNSerializer(ATN) - Constructor for class org.antlr.v4.runtime.atn.ATNSerializer
-
- ATNSerializer(ATN, List<String>) - Constructor for class org.antlr.v4.runtime.atn.ATNSerializer
-
- ATNSimulator - Class in org.antlr.v4.runtime.atn
-
- ATNSimulator(ATN, PredictionContextCache) - Constructor for class org.antlr.v4.runtime.atn.ATNSimulator
-
- atnSimulator - Variable in class org.antlr.v4.runtime.atn.ParseInfo
-
- atnStartState - Variable in class org.antlr.v4.runtime.dfa.DFA
-
From which ATN state did we create this DFA?
- ATNState - Class in org.antlr.v4.runtime.atn
-
The following images show the relation of states and
ATNState.transitions
for various grammar constructs.
- ATNState() - Constructor for class org.antlr.v4.runtime.atn.ATNState
-
- atnState - Variable in class org.antlr.v4.tool.ast.GrammarAST
-
If we build an ATN, we make AST node point at left edge of ATN construct
- ATNType - Enum in org.antlr.v4.runtime.atn
-
Represents the type of recognizer an ATN applies to.
- ATNVisitor - Class in org.antlr.v4.automata
-
A simple visitor that walks everywhere it can go starting from s,
without going into an infinite cycle.
- ATNVisitor() - Constructor for class org.antlr.v4.automata.ATNVisitor
-
- atom(GrammarAST, boolean) - Method in class org.antlr.v4.codegen.SourceGenTriggers
-
- atom() - Method in class org.antlr.v4.parse.ANTLRParser
-
- atom() - Method in class org.antlr.v4.parse.ATNBuilder
-
- atom() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- atom() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- ATOM - Static variable in class org.antlr.v4.runtime.atn.Transition
-
- atom_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.atom_return
-
- atom_return() - Constructor for class org.antlr.v4.parse.ATNBuilder.atom_return
-
- atom_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.atom_return
-
- AtomTransition - Class in org.antlr.v4.runtime.atn
-
TODO: make all transitions sets? no, should remove set edges
- AtomTransition(ATNState, int) - Constructor for class org.antlr.v4.runtime.atn.AtomTransition
-
- attr(String, Token) - Method in class org.antlr.v4.codegen.ActionTranslator
-
- ATTR - Static variable in class org.antlr.v4.parse.ActionSplitter
-
- attr(String, Token) - Method in interface org.antlr.v4.parse.ActionSplitterListener
-
- attr(String, Token) - Method in class org.antlr.v4.semantics.ActionSniffer
-
- attr(String, Token) - Method in class org.antlr.v4.semantics.AttributeChecks
-
- attr(String, Token) - Method in class org.antlr.v4.semantics.BlankActionSplitterListener
-
- ATTR_VALUE_EXPR - Static variable in class org.antlr.v4.parse.ActionSplitter
-
- Attribute - Class in org.antlr.v4.tool
-
Track the names of attributes define in arg lists, return values,
scope blocks etc...
- Attribute() - Constructor for class org.antlr.v4.tool.Attribute
-
- Attribute(String) - Constructor for class org.antlr.v4.tool.Attribute
-
- Attribute(String, String) - Constructor for class org.antlr.v4.tool.Attribute
-
- AttributeChecks - Class in org.antlr.v4.semantics
-
Trigger checks for various kinds of attribute expressions.
- AttributeChecks(Grammar, Rule, Alternative, ActionAST, Token) - Constructor for class org.antlr.v4.semantics.AttributeChecks
-
- AttributeDecl - Class in org.antlr.v4.codegen.model.decl
-
- AttributeDecl(OutputModelFactory, Attribute) - Constructor for class org.antlr.v4.codegen.model.decl.AttributeDecl
-
- AttributeDict - Class in org.antlr.v4.tool
-
Track the attributes within retval, arg lists etc...
- AttributeDict() - Constructor for class org.antlr.v4.tool.AttributeDict
-
- AttributeDict(AttributeDict.DictType) - Constructor for class org.antlr.v4.tool.AttributeDict
-
- AttributeDict.DictType - Enum in org.antlr.v4.tool
-
- AttributeResolver - Interface in org.antlr.v4.tool
-
Grammars, rules, and alternatives all have symbols visible to
actions.
- attributes - Variable in class org.antlr.v4.tool.AttributeDict
-
- attrs - Variable in class org.antlr.v4.codegen.model.decl.StructDecl
-
- augmentTokensWithOriginalPosition(Grammar, GrammarAST) - Static method in class org.antlr.v4.tool.GrammarTransformPipeline
-
- AUTO_GENERATED_TOKEN_NAME_PREFIX - Static variable in class org.antlr.v4.tool.Grammar
-
- 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
-
- CannotInvokeStartRule(Throwable) - Constructor for exception org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher.CannotInvokeStartRule
-
- capitalize(String) - Static method in class org.antlr.v4.misc.CharSupport
-
- capitalize(String) - Static method in class org.antlr.v4.misc.Utils
-
- capture - Variable in class org.antlr.v4.codegen.model.MatchSet
-
- CaptureNextToken - Class in org.antlr.v4.codegen.model
-
- CaptureNextToken(OutputModelFactory, String) - Constructor for class org.antlr.v4.codegen.model.CaptureNextToken
-
- CaptureNextTokenType - Class in org.antlr.v4.codegen.model
-
- CaptureNextTokenType(OutputModelFactory, String) - Constructor for class org.antlr.v4.codegen.model.CaptureNextTokenType
-
- captureSimState(LexerATNSimulator.SimState, CharStream, DFAState) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
- CATCH - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- CATCH - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- CATCH - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- CATCH - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- CATCH - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- CATCH - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- CATCH - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- catchAction - Variable in class org.antlr.v4.codegen.model.ExceptionClause
-
- catchArg - Variable in class org.antlr.v4.codegen.model.ExceptionClause
-
- 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.
- channelDefs - Variable in class org.antlr.v4.semantics.SymbolCollector
-
- channelNameToValueMap - Variable in class org.antlr.v4.tool.Grammar
-
Map channel like COMMENTS_CHANNEL
to its constant channel value.
- channels - Variable in class org.antlr.v4.codegen.model.Lexer
-
- CHANNELS - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- CHANNELS - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- CHANNELS - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- CHANNELS - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- CHANNELS - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- CHANNELS - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- CHANNELS - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- channelSpec() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- channelSpec_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.channelSpec_return
-
- channelsSpec() - Method in class org.antlr.v4.parse.ANTLRParser
-
- channelsSpec() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- channelsSpec_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.channelsSpec_return
-
- channelsSpec_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.channelsSpec_return
-
- channelValueToNameList - Variable in class org.antlr.v4.tool.Grammar
-
Map a constant channel value to its name.
- CHAR_RANGE - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- CHAR_RANGE - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- CHAR_RANGE - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- CHAR_RANGE - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- CHAR_RANGE - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- CHAR_RANGE - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- charPos - Variable in class org.antlr.v4.runtime.atn.LexerATNSimulator.SimState
-
- charPosition - Variable in class org.antlr.v4.tool.ANTLRMessage
-
- 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
-
- charSetLiteral(GrammarAST) - Method in interface org.antlr.v4.automata.ATNFactory
-
- charSetLiteral(GrammarAST) - Method in class org.antlr.v4.automata.LexerATNFactory
-
[Aa\t ሴa-z\]\-] char sets
- charSetLiteral(GrammarAST) - Method in class org.antlr.v4.automata.ParserATNFactory
-
[Aa]
char sets not allowed in parser
- CharStream - Interface in org.antlr.v4.runtime
-
A source of characters for an ANTLR lexer.
- CharSupport - Class in org.antlr.v4.misc
-
- CharSupport() - Constructor for class org.antlr.v4.misc.CharSupport
-
- check() - Method in class org.antlr.v4.analysis.LeftRecursionDetector
-
- check(Rule, ATNState, Set<ATNState>) - Method in class org.antlr.v4.analysis.LeftRecursionDetector
-
From state s, look for any transition to a rule that is currently
being traced.
- checkActionRedefinitions(List<GrammarAST>) - Method in class org.antlr.v4.semantics.SymbolChecks
-
- checkAllAttributeExpressions(Grammar) - Static method in class org.antlr.v4.semantics.AttributeChecks
-
- checkAssocElementOption - Variable in class org.antlr.v4.semantics.BasicSemanticChecks
-
- checkChannel(String, Token) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- 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
-
- checkDeclarationRuleConflicts(Rule, AttributeDict, Set<String>, ErrorType) - Method in class org.antlr.v4.semantics.SymbolChecks
-
- checkElementIsOuterMostInSingleAlt(GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
Make sure that action is last element in outer alt; here action,
a2, z, and zz are bad, but a3 is ok:
(RULE A (BLOCK (ALT {action} 'a')))
(RULE B (BLOCK (ALT (BLOCK (ALT {a2} 'x') (ALT 'y')) {a3})))
(RULE C (BLOCK (ALT 'd' {z}) (ALT 'e' {zz})))
- checkForAttributeConflicts(Rule) - Method in class org.antlr.v4.semantics.SymbolChecks
-
- checkForLabelConflict(Rule, GrammarAST) - Method in class org.antlr.v4.semantics.SymbolChecks
-
- checkForLabelConflicts(Collection<Rule>) - Method in class org.antlr.v4.semantics.SymbolChecks
-
Make sure a label doesn't conflict with another symbol.
- checkForModeConflicts(Grammar) - Method in class org.antlr.v4.semantics.SymbolChecks
-
- checkForQualifiedRuleIssues(Grammar, List<GrammarAST>) - Method in class org.antlr.v4.semantics.SymbolChecks
-
- checkForRuleIssues(Grammar) - Method in class org.antlr.v4.Tool
-
Important enough to avoid multiple definitions that we do very early,
right after AST construction.
- checkForTokenConflicts(List<GrammarAST>) - Method in class org.antlr.v4.semantics.SymbolChecks
-
- checkLocalConflictingDeclarations(Rule, AttributeDict, AttributeDict, ErrorType) - Method in class org.antlr.v4.semantics.SymbolChecks
-
- checkMode(String, Token) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- checkReservedNames(Collection<Rule>) - Method in class org.antlr.v4.semantics.SymbolChecks
-
- checkRuleArgs(Grammar, List<GrammarAST>) - Method in class org.antlr.v4.semantics.SymbolChecks
-
- checkToken(String, Token) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- 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.
- Choice - Class in org.antlr.v4.codegen.model
-
The class hierarchy underneath SrcOp is pretty deep but makes sense that,
for example LL1StarBlock is a kind of LL1Loop which is a kind of Choice.
- Choice(OutputModelFactory, GrammarAST, List<CodeBlockForAlt>) - Constructor for class org.antlr.v4.codegen.model.Choice
-
- chunks - Variable in class org.antlr.v4.codegen.model.Action
-
- chunks - Variable in class org.antlr.v4.tool.ast.ActionAST
-
- clear() - Method in class org.antlr.v4.misc.OrderedHashMap
-
- 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
-
- close() - Method in class org.antlr.v4.gui.PostScriptDocument
-
- closed - Variable in class org.antlr.v4.gui.PostScriptDocument
-
- CLOSURE - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- CLOSURE - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- CLOSURE - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- CLOSURE - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- CLOSURE - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- CLOSURE - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- 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
-
- cmdLineOptions - Variable in class org.antlr.v4.tool.ast.GrammarRootAST
-
- code - Variable in class org.antlr.v4.codegen.model.RuleFunction
-
- code - Variable in enum org.antlr.v4.tool.ErrorType
-
The error or warning number.
- CodeBlock - Class in org.antlr.v4.codegen.model.decl
-
- CodeBlock(OutputModelFactory) - Constructor for class org.antlr.v4.codegen.model.decl.CodeBlock
-
- CodeBlock(OutputModelFactory, int, int) - Constructor for class org.antlr.v4.codegen.model.decl.CodeBlock
-
- CodeBlockForAlt - Class in org.antlr.v4.codegen.model
-
Contains Rewrite block (usually as last op)
- CodeBlockForAlt(OutputModelFactory) - Constructor for class org.antlr.v4.codegen.model.CodeBlockForAlt
-
- CodeBlockForOuterMostAlt - Class in org.antlr.v4.codegen.model
-
The code associated with the outermost alternative of a rule.
- CodeBlockForOuterMostAlt(OutputModelFactory, Alternative) - Constructor for class org.antlr.v4.codegen.model.CodeBlockForOuterMostAlt
-
- codeBlockLevel - Variable in class org.antlr.v4.codegen.model.decl.CodeBlock
-
- codeBlockLevel - Variable in class org.antlr.v4.codegen.OutputModelController
-
Context set by the SourceGenTriggers.g
- CodeGenerator - Class in org.antlr.v4.codegen
-
General controller for code gen.
- CodeGenerator(Grammar) - Constructor for class org.antlr.v4.codegen.CodeGenerator
-
- CodeGenerator(Tool, Grammar, String) - Constructor for class org.antlr.v4.codegen.CodeGenerator
-
- CodeGeneratorExtension - Class in org.antlr.v4.codegen
-
Filter list of SrcOps and return; default is pass-through filter
- CodeGeneratorExtension(OutputModelFactory) - Constructor for class org.antlr.v4.codegen.CodeGeneratorExtension
-
- CodeGenPipeline - Class in org.antlr.v4.codegen
-
- CodeGenPipeline(Grammar) - Constructor for class org.antlr.v4.codegen.CodeGenPipeline
-
- codegenTemplates - Variable in class org.antlr.v4.analysis.LeftRecursiveRuleAnalyzer
-
- codegenTemplates - Variable in class org.antlr.v4.automata.LexerATNFactory
-
- COLON - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- COLON - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- COLON - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- COLON - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- COLON - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- COLON - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- COLON - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- COLONCOLON - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- COLONCOLON - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- COLONCOLON - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- COLONCOLON - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- COLONCOLON - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- COLONCOLON - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- COLONCOLON - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- combineAndClip(FrequencySet<String>, FrequencySet<String>, int) - Static method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
Generate a frequency set as the union of two input sets, with the
values clipped to a specified maximum value.
- combineCommonParents(PredictionContext[]) - Static method in class org.antlr.v4.runtime.atn.PredictionContext
-
Make pass over all M parents
; merge any equals()
ones.
- COMBINED - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- COMBINED - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- COMBINED - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- COMBINED - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- COMBINED - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- COMBINED - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- combineMax(FrequencySet<String>, FrequencySet<String>) - Static method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
Generate a frequency set as the union of two input sets.
- COMMA - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- COMMA - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- COMMA - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- COMMA - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- COMMA - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- COMMA - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- COMMA - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- COMMENT - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- COMMENT - Static variable in class org.antlr.v4.parse.ActionSplitter
-
- COMMENT - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- COMMENT - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- COMMENT - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- COMMENT - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- COMMENT - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- COMMENT - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- COMMENTS_CHANNEL - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- COMMON_CONSTANTS - Static variable in class org.antlr.v4.automata.LexerATNFactory
-
Provides a map of names of predefined constants which are likely to
appear as the argument for lexer commands.
- 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(Number) - Method in class org.antlr.v4.misc.MutableInt
-
- 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
-
- ConfigHashSet() - Constructor for class org.antlr.v4.runtime.atn.ATNConfigSet.ConfigHashSet
-
- configLookup - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
-
All configs but hashed by (s, i, _, pi) not including context.
- configs - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
-
Track the elements as they are added to the set; supports get(i)
- configs - Variable in class org.antlr.v4.runtime.atn.DecisionEventInfo
-
The configuration set containing additional information relevant to the
prediction state when the current event occurred, or null
if no
additional information is relevant or available.
- configs - Variable in class org.antlr.v4.runtime.dfa.DFAState
-
- conflictingAltResolvedBySLL - Variable in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
-
At the point of LL failover, we record how SLL would resolve the conflict so that
we can determine whether or not a decision / input pair is context-sensitive.
- conflictingAlts - Variable in class org.antlr.v4.runtime.atn.ATNConfigSet
-
Currently this is only used when we detect SLL conflict; this does
not necessarily represent the ambiguous alternatives.
- ConsoleErrorListener - Class in org.antlr.v4.runtime
-
- ConsoleErrorListener() - Constructor for class org.antlr.v4.runtime.ConsoleErrorListener
-
- consume() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
- consume(CharStream) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
- consume() - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
- 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.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.
- ContextGetterDecl - Class in org.antlr.v4.codegen.model.decl
-
- ContextGetterDecl(OutputModelFactory, String) - Constructor for class org.antlr.v4.codegen.model.decl.ContextGetterDecl
-
- ContextRuleGetterDecl - Class in org.antlr.v4.codegen.model.decl
-
public XContext X() { }
- ContextRuleGetterDecl(OutputModelFactory, String, String) - Constructor for class org.antlr.v4.codegen.model.decl.ContextRuleGetterDecl
-
- ContextRuleListGetterDecl - Class in org.antlr.v4.codegen.model.decl
-
public List<XContext> X() { }
public XContext X(int i) { }
- ContextRuleListGetterDecl(OutputModelFactory, String, String) - Constructor for class org.antlr.v4.codegen.model.decl.ContextRuleListGetterDecl
-
- ContextRuleListIndexedGetterDecl - Class in org.antlr.v4.codegen.model.decl
-
- ContextRuleListIndexedGetterDecl(OutputModelFactory, String, String) - Constructor for class org.antlr.v4.codegen.model.decl.ContextRuleListIndexedGetterDecl
-
- 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.
- ContextTokenGetterDecl - Class in org.antlr.v4.codegen.model.decl
-
public Token X() { }
- ContextTokenGetterDecl(OutputModelFactory, String) - Constructor for class org.antlr.v4.codegen.model.decl.ContextTokenGetterDecl
-
- ContextTokenListGetterDecl - Class in org.antlr.v4.codegen.model.decl
-
public List<Token> X() { }
public Token X(int i) { }
- ContextTokenListGetterDecl(OutputModelFactory, String) - Constructor for class org.antlr.v4.codegen.model.decl.ContextTokenListGetterDecl
-
- ContextTokenListIndexedGetterDecl - Class in org.antlr.v4.codegen.model.decl
-
- ContextTokenListIndexedGetterDecl(OutputModelFactory, String) - Constructor for class org.antlr.v4.codegen.model.decl.ContextTokenListIndexedGetterDecl
-
- controller - Variable in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- controller - Variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- 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(T) - Method in class org.antlr.v4.misc.FrequencySet
-
- create(Token) - Method in class org.antlr.v4.parse.GrammarASTAdaptor
-
- create(int, String) - Method in class org.antlr.v4.parse.GrammarASTAdaptor
-
- 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
- createATN() - Method in interface org.antlr.v4.automata.ATNFactory
-
- createATN() - Method in class org.antlr.v4.automata.LexerATNFactory
-
- createATN() - Method in class org.antlr.v4.automata.ParserATNFactory
-
- 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
.
- createGrammar(GrammarRootAST) - Method in class org.antlr.v4.Tool
-
Given the raw AST of a grammar, create a grammar object
associated with the AST.
- createGrammarParserInterpreter(TokenStream) - Method in class org.antlr.v4.tool.Grammar
-
- createInterpreterRuleContext(ParserRuleContext, int, int) - Method in class org.antlr.v4.runtime.ParserInterpreter
-
Provide simple "factory" for InterpreterRuleContext's.
- createInterpreterRuleContext(ParserRuleContext, int, int) - Method in class org.antlr.v4.tool.GrammarParserInterpreter
-
- createLexerAction(GrammarAST, GrammarAST) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- createLexerInterpreter(CharStream) - Method in class org.antlr.v4.tool.Grammar
-
- createParserInterpreter(TokenStream) - Method in class org.antlr.v4.tool.Grammar
-
- creates - Static variable in class org.antlr.v4.runtime.misc.Interval
-
- CSharpTarget - Class in org.antlr.v4.codegen.target
-
- CSharpTarget(CodeGenerator) - Constructor for class org.antlr.v4.codegen.target.CSharpTarget
-
- ctorAttrs - Variable in class org.antlr.v4.codegen.model.decl.StructDecl
-
- ctx - Variable in class org.antlr.v4.codegen.model.chunk.ActionChunk
-
Where is the ctx that defines attrs,labels etc...
- ctx - Variable in class org.antlr.v4.codegen.model.decl.Decl
-
- ctxName - Variable in class org.antlr.v4.codegen.model.decl.ContextRuleGetterDecl
-
- ctxName - Variable in class org.antlr.v4.codegen.model.decl.ContextRuleListGetterDecl
-
- ctxName - Variable in class org.antlr.v4.codegen.model.decl.RuleContextDecl
-
- ctxName - Variable in class org.antlr.v4.codegen.model.InvokeRule
-
- ctxType - Variable in class org.antlr.v4.codegen.model.ArgAction
-
Context type of invoked rule
- ctxType - Variable in class org.antlr.v4.codegen.model.RuleActionFunction
-
- ctxType - Variable in class org.antlr.v4.codegen.model.RuleFunction
-
- currentAlt - Variable in class org.antlr.v4.parse.BlockSetTransformer
-
- currentBlock - Variable in class org.antlr.v4.codegen.OutputModelController
-
- currentCharIndex - Variable in class org.antlr.v4.runtime.UnbufferedCharStream
-
Absolute character index.
- currentDecision - Variable in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
-
- currentModeName - Variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- currentOuterAlt - Variable in class org.antlr.v4.automata.ParserATNFactory
-
- currentOuterAltNumber - Variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- currentOuterAltRoot - Variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- currentOuterMostAlt - Variable in class org.antlr.v4.codegen.OutputModelController
-
- currentOuterMostAlternativeBlock - Variable in class org.antlr.v4.codegen.OutputModelController
-
- currentPrime - Variable in class org.antlr.v4.runtime.misc.Array2DHashSet
-
- currentPrime - Variable in class org.antlr.v4.runtime.misc.FlexibleHashMap
-
- currentRule - Variable in class org.antlr.v4.automata.ParserATNFactory
-
- currentRule - Variable in class org.antlr.v4.codegen.OutputModelController
-
- currentRule - Variable in class org.antlr.v4.semantics.SymbolCollector
-
- currentRuleAST - Variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- currentRuleName - Variable in class org.antlr.v4.parse.BlockSetTransformer
-
- currentRuleName - Variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- currentState - Variable in class org.antlr.v4.runtime.atn.ProfilingATNSimulator
-
- currentTokenIndex - Variable in class org.antlr.v4.runtime.UnbufferedTokenStream
-
Absolute token index.
- ebnf() - Method in class org.antlr.v4.parse.ANTLRParser
-
- ebnf() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- ebnf_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.ebnf_return
-
- ebnfBlockSet() - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- ebnfBlockSet_return() - Constructor for class org.antlr.v4.parse.BlockSetTransformer.ebnfBlockSet_return
-
- ebnfSuffix() - Method in class org.antlr.v4.parse.ANTLRParser
-
- ebnfSuffix() - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- ebnfSuffix() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ebnfSuffix_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.ebnfSuffix_return
-
- ebnfSuffix_return() - Constructor for class org.antlr.v4.parse.BlockSetTransformer.ebnfSuffix_return
-
- ebnfSuffix_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.ebnfSuffix_return
-
- 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.
- element() - Method in class org.antlr.v4.codegen.SourceGenTriggers
-
- element() - Method in class org.antlr.v4.parse.ANTLRParser
-
- element() - Method in class org.antlr.v4.parse.ATNBuilder
-
- element() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- element() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- element - Variable in class org.antlr.v4.tool.LabelElementPair
-
- ELEMENT_OPTIONS - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ELEMENT_OPTIONS - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ELEMENT_OPTIONS - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ELEMENT_OPTIONS - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ELEMENT_OPTIONS - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ELEMENT_OPTIONS - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- element_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.element_return
-
- element_return() - Constructor for class org.antlr.v4.parse.ATNBuilder.element_return
-
- element_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.element_return
-
- elementEntry() - Method in class org.antlr.v4.parse.ANTLRParser
-
- elementEntry_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.elementEntry_return
-
- ElementFrequenciesVisitor - Class in org.antlr.v4.codegen.model
-
- ElementFrequenciesVisitor(TreeNodeStream) - Constructor for class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- ElementListDecl - Class in org.antlr.v4.codegen.model.decl
-
- ElementListDecl(OutputModelFactory, String) - Constructor for class org.antlr.v4.codegen.model.decl.ElementListDecl
-
- elementName(String[], int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
- elementName(Vocabulary, int) - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
- elementOption() - Method in class org.antlr.v4.codegen.SourceGenTriggers
-
- elementOption() - Method in class org.antlr.v4.parse.ANTLRParser
-
- elementOption() - Method in class org.antlr.v4.parse.ATNBuilder
-
- elementOption() - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- elementOption(GrammarASTWithOptions, GrammarAST, GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- elementOption(GrammarASTWithOptions) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- elementOption() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- elementOption(GrammarASTWithOptions, GrammarAST, GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- elementOption(GrammarASTWithOptions, GrammarAST, GrammarAST) - Method in class org.antlr.v4.semantics.SymbolCollector
-
- elementOption_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.elementOption_return
-
- elementOption_return() - Constructor for class org.antlr.v4.parse.BlockSetTransformer.elementOption_return
-
- elementOption_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.elementOption_return
-
- elementOptions() - Method in class org.antlr.v4.codegen.SourceGenTriggers
-
- elementOptions() - Method in class org.antlr.v4.parse.ANTLRParser
-
- elementOptions() - Method in class org.antlr.v4.parse.ATNBuilder
-
- elementOptions() - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- elementOptions() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- elementOptions() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- elementOptions_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.elementOptions_return
-
- elementOptions_return() - Constructor for class org.antlr.v4.parse.BlockSetTransformer.elementOptions_return
-
- elementOptions_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.elementOptions_return
-
- elements - Variable in class org.antlr.v4.misc.OrderedHashMap
-
Track the elements as they are added to the set
- 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
-
- elemList(List<ATNFactory.Handle>) - Method in class org.antlr.v4.automata.ParserATNFactory
-
- 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.
- emit(ErrorType, ANTLRMessage) - Method in class org.antlr.v4.tool.ErrorManager
-
- 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
-
- enclosingBlock - Variable in class org.antlr.v4.codegen.model.SrcOp
-
All operations know in which block they live:
CodeBlock, CodeBlockForAlt
Templates might need to know block nesting level or find
a specific declaration, etc...
- enclosingRuleRunction - Variable in class org.antlr.v4.codegen.model.SrcOp
-
- encodeIntAsCharEscape(int) - Method in class org.antlr.v4.codegen.target.CSharpTarget
-
- encodeIntAsCharEscape(int) - Method in class org.antlr.v4.codegen.Target
-
Assume 16-bit char
- encodeIntAsCharEscape(int) - Method in class org.antlr.v4.codegen.target.JavaScriptTarget
-
- encoding - Variable in class org.antlr.mojo.antlr4.Antlr4Mojo
-
specify grammar file encoding; e.g., euc-jp
- encoding - Variable in class org.antlr.v4.gui.TestRig
-
- 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
-
- enterAction(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterActionElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterAlternative(AltAST) - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- enterAlternative(AltAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterAstOperand(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterAtom(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterBlock(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterBlockSet(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterBlockSuffix(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterChannelSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterChannelsSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterChannelsSpec(GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- enterDelegateGrammar(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterDelegateGrammars(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterEbnfSuffix(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterElement(GrammarAST) - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- enterElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterElementOption(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterElementOptions(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- 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
-
- enterExceptionGroup(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterExceptionHandler(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterFinallyClause(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterGrammarSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLabeledElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLabeledLexerElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLabeledLexerElement(GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- enterLexerAlternative(GrammarAST) - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- enterLexerAlternative(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLexerAtom(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLexerBlock(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLexerCommand(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLexerCommand(GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- enterLexerCommandExpr(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLexerElement(GrammarAST) - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- enterLexerElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLexerElement(GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- enterLexerElements(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLexerOuterAlternative(AltAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLexerRule(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLexerRuleBlock(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLexerSubrule(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterLocals(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterMode(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterMode(GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- enterOption(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterOptionsSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterOptionValue(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterOuterAlt(ParserRuleContext, int) - Method in class org.antlr.v4.runtime.Parser
-
- enterOuterAlternative(AltAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterPrequelConstruct(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterPrequelConstructs(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterRange(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- 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(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- 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
-
- enterRuleAction(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterRuleBlock(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterRuleModifier(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterRuleref(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterRuleReturns(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterRules(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterSetElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterSubrule(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterTerminal(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterTerminal(GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- enterThrowsSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterTokenSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- enterTokensSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- Entry(K, V) - Constructor for class org.antlr.v4.runtime.misc.FlexibleHashMap.Entry
-
- entrySet() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
-
- EOF - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- EOF - Static variable in class org.antlr.v4.parse.ActionSplitter
-
- EOF - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- EOF - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- EOF - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- EOF - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- EOF - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- EOF - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- 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(GrammarAST) - Method in interface org.antlr.v4.automata.ATNFactory
-
From an empty alternative build Grip o-e->o
- epsilon(GrammarAST) - Method in class org.antlr.v4.automata.ParserATNFactory
-
From an empty alternative build o-e->o
.
- epsilon(ATNState, ATNState) - Method in class org.antlr.v4.automata.ParserATNFactory
-
- epsilon(ATNState, ATNState, boolean) - Method in class org.antlr.v4.automata.ParserATNFactory
-
- epsilon(Alternative, boolean) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- epsilon(CodeBlockForAlt) - Method in class org.antlr.v4.codegen.CodeGeneratorExtension
-
- epsilon(Alternative, boolean) - Method in class org.antlr.v4.codegen.OutputModelController
-
- epsilon(Alternative, boolean) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- epsilon(Alternative, boolean) - Method in class org.antlr.v4.codegen.ParserFactory
-
- EPSILON - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- EPSILON - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- EPSILON - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- EPSILON - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- EPSILON - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- EPSILON - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- 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.
- epsilonElement() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- 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.codegen.model.decl.AltLabelStructDecl
-
- equals(Object) - Method in class org.antlr.v4.codegen.model.decl.ContextGetterDecl
-
Make sure that a getter does not equal a label.
- equals(Object) - Method in class org.antlr.v4.codegen.model.decl.Decl
-
If same name, can't redefine, unless it's a getter
- equals(Object) - Method in class org.antlr.v4.misc.MutableInt
-
- 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
-
- equals(Object) - Method in class org.antlr.v4.tool.Rule
-
- ERRCHAR - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ERRCHAR - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- ERRCHAR - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ERRCHAR - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ERRCHAR - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ERRCHAR - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ERRCHAR - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- errMgr - Variable in class org.antlr.v4.semantics.ActionSniffer
-
- errMgr - Variable in class org.antlr.v4.semantics.AttributeChecks
-
- errMgr - Variable in class org.antlr.v4.semantics.BasicSemanticChecks
-
- errMgr - Variable in class org.antlr.v4.semantics.RuleCollector
-
- errMgr - Variable in class org.antlr.v4.semantics.SymbolChecks
-
- errMgr - Variable in class org.antlr.v4.semantics.SymbolCollector
-
- errMgr - Variable in class org.antlr.v4.Tool
-
- error(ANTLRMessage) - Method in class org.antlr.mojo.antlr4.Antlr4ErrorLog
- error - Variable in class org.antlr.v4.codegen.model.LL1Choice
-
- error - Variable in class org.antlr.v4.codegen.model.PlusBlock
-
- ERROR - Static variable in class org.antlr.v4.runtime.atn.ATNSimulator
-
Must distinguish between missing edge and edge we know leads nowhere
- error(ANTLRMessage) - Method in interface org.antlr.v4.tool.ANTLRToolListener
-
- error(ANTLRMessage) - Method in class org.antlr.v4.tool.DefaultToolListener
-
- error(ANTLRMessage) - Method in class org.antlr.v4.Tool
-
- 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.
- ErrorManager - Class in org.antlr.v4.tool
-
- ErrorManager(Tool) - Constructor for class org.antlr.v4.tool.ErrorManager
-
- errorNode(TokenStream, Token, Token, RecognitionException) - Method in class org.antlr.v4.parse.GrammarASTAdaptor
-
- 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
-
- errors - Variable in class org.antlr.v4.tool.ErrorManager
-
- ErrorSeverity - Enum in org.antlr.v4.tool
-
Abstracts away the definition of Message severity and the text that should
display to represent that severity if there is no StringTemplate available
to do it.
- ErrorType - Enum in org.antlr.v4.tool
-
A complex enumeration of all the error messages that the tool can issue.
- errorTypes - Variable in class org.antlr.v4.tool.ErrorManager
-
All errors that have been generated
- ESC_SEQ - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ESC_SEQ - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- ESC_SEQ - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- ESC_SEQ - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ESC_SEQ - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ESC_SEQ - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ESC_SEQ - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- 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.
- examineAction() - Method in class org.antlr.v4.semantics.ActionSniffer
-
- examineAction() - Method in class org.antlr.v4.semantics.AttributeChecks
-
- exception - Variable in class org.antlr.v4.runtime.ParserRuleContext
-
The exception that forced this rule to return.
- ExceptionClause - Class in org.antlr.v4.codegen.model
-
- ExceptionClause(OutputModelFactory, ActionAST, ActionAST) - Constructor for class org.antlr.v4.codegen.model.ExceptionClause
-
- exceptionGroup() - Method in class org.antlr.v4.parse.ANTLRParser
-
- exceptionGroup() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exceptionGroup() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- exceptionGroup_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.exceptionGroup_return
-
- exceptionGroup_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.exceptionGroup_return
-
- exceptionHandler() - Method in class org.antlr.v4.parse.ANTLRParser
-
- exceptionHandler() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exceptionHandler() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- exceptionHandler_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.exceptionHandler_return
-
- exceptionHandler_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.exceptionHandler_return
-
- exceptions - Variable in class org.antlr.v4.codegen.model.RuleFunction
-
- exceptions - Variable in class org.antlr.v4.tool.Rule
-
Track exception handlers; points at "catch" node of (catch exception action)
don't track finally action
- excludes - Variable in class org.antlr.mojo.antlr4.Antlr4Mojo
-
A set of Ant-like exclusion patterns used to prevent certain files from
being processed.
- exec() - Method in interface org.antlr.v4.misc.Utils.Func0
-
- exec(T1) - Method in interface org.antlr.v4.misc.Utils.Func1
-
- 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() - Method in class org.antlr.mojo.antlr4.Antlr4Mojo
-
The main entry point for this Mojo, it is responsible for converting
ANTLR 4.x grammars into the target language specified by the grammar.
- execute() - Method in class org.antlr.mojo.antlr4.HelpMojo
- 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.
- exit(int) - Method in class org.antlr.v4.Tool
-
- exitAction(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitActionElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitAlt - Variable in class org.antlr.v4.codegen.model.Loop
-
- exitAlternative(AltAST) - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- exitAlternative(AltAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitAstOperand(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitAtom(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitBlock(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitBlockSet(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitBlockSuffix(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitChannelSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitChannelsSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitDelegateGrammar(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitDelegateGrammars(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitEbnfSuffix(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitElement(GrammarAST) - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- exitElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitElementOption(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitElementOptions(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- 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
-
- exitExceptionGroup(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitExceptionHandler(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitFinallyClause(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitGrammarSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLabeledElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLabeledLexerElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerAlternative(GrammarAST) - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- exitLexerAlternative(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerAtom(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerBlock(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerCommand(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerCommandExpr(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerElement(GrammarAST) - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- exitLexerElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerElements(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerOuterAlternative(AltAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerRule(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerRule(GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- exitLexerRuleBlock(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLexerSubrule(GrammarAST) - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- exitLexerSubrule(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitLocals(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitMode(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitMode(GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- exitOption(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitOptionsSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitOptionValue(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitOuterAlternative(AltAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitPrequelConstruct(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitPrequelConstructs(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitRange(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitRule(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- 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
-
- exitRuleAction(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitRuleBlock(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitRuleModifier(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitRuleref(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitRuleReturns(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitRules(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitSetElement(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitSubrule(GrammarAST) - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
- exitSubrule(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitTerminal(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitThrowsSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitTokenSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- exitTokensSpec(GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- expand() - Method in class org.antlr.v4.runtime.misc.Array2DHashSet
-
- expand() - Method in class org.antlr.v4.runtime.misc.FlexibleHashMap
-
- expandParameterizedLoop(GrammarAST) - Method in class org.antlr.v4.tool.GrammarTransformPipeline
-
- expandParameterizedLoops(GrammarAST) - Method in class org.antlr.v4.tool.GrammarTransformPipeline
-
Find and replace
ID*[','] with ID (',' ID)*
ID+[','] with ID (',' ID)+
(x {action} y)+[','] with x {action} y (',' x {action} y)+
Parameter must be a token.
- expectNonGreedy(BlockAST) - Method in class org.antlr.v4.automata.ParserATNFactory
-
- expr - Variable in class org.antlr.v4.codegen.model.LL1OptionalBlockSingleAlt
-
- expr - Variable in class org.antlr.v4.codegen.model.MatchSet
-
- extensionMembers - Variable in class org.antlr.v4.codegen.model.decl.StructDecl
-
- extensions - Variable in class org.antlr.v4.codegen.OutputModelController
-
Post-processing CodeGeneratorExtension objects; done in order given.
- extractImplicitLexer(Grammar) - Method in class org.antlr.v4.tool.GrammarTransformPipeline
-
Build lexer grammar from combined grammar that looks like:
(COMBINED_GRAMMAR A
(tokens { X (= Y 'y'))
(OPTIONS (= x 'y'))
(@ members {foo})
(@ lexer header {package jj;})
(RULES (RULE .+)))
Move rules and actions to new tree, don't dup.
- g - Variable in class org.antlr.v4.analysis.AnalysisPipeline
-
- g - Variable in class org.antlr.v4.analysis.LeftRecursiveRuleTransformer
-
- g - Variable in class org.antlr.v4.automata.ParserATNFactory
-
- g - Variable in class org.antlr.v4.codegen.CodeGenerator
-
- g - Variable in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- g - Variable in class org.antlr.v4.parse.BlockSetTransformer
-
- g - Variable in class org.antlr.v4.parse.GrammarToken
-
- g - Variable in class org.antlr.v4.parse.TokenVocabParser
-
- g - Variable in class org.antlr.v4.semantics.ActionSniffer
-
- g - Variable in class org.antlr.v4.semantics.AttributeChecks
-
- g - Variable in class org.antlr.v4.semantics.BasicSemanticChecks
-
- g - Variable in class org.antlr.v4.semantics.RuleCollector
-
which grammar are we checking
- g - Variable in class org.antlr.v4.semantics.SemanticPipeline
-
- g - Variable in class org.antlr.v4.semantics.SymbolCollector
-
which grammar are we checking
- g - Variable in class org.antlr.v4.tool.ANTLRMessage
-
- g - Variable in class org.antlr.v4.tool.ast.GrammarAST
-
For error msgs, nice to know which grammar this AST lives in
- g - Variable in class org.antlr.v4.tool.BuildDependencyGenerator
-
- g - Variable in class org.antlr.v4.tool.GrammarParserInterpreter
-
The grammar associated with this interpreter.
- g - Variable in class org.antlr.v4.tool.GrammarTransformPipeline
-
- g - Variable in class org.antlr.v4.tool.Rule
-
In which grammar does this rule live?
- gapBetweenLevels - Variable in class org.antlr.v4.gui.TreePostScriptGenerator
-
- gapBetweenLevels - Variable in class org.antlr.v4.gui.TreeViewer
-
- gapBetweenNodes - Variable in class org.antlr.v4.gui.TreePostScriptGenerator
-
- gapBetweenNodes - Variable in class org.antlr.v4.gui.TreeViewer
-
- gen - Variable in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- gen_dependencies - Variable in class org.antlr.v4.Tool
-
- gen_listener - Variable in class org.antlr.v4.Tool
-
- gen_visitor - Variable in class org.antlr.v4.Tool
-
- generate_ATN_dot - Variable in class org.antlr.v4.Tool
-
- generateATNs(Grammar) - Method in class org.antlr.v4.Tool
-
- generateBaseListener() - Method in class org.antlr.v4.codegen.CodeGenerator
-
- generateBaseVisitor() - Method in class org.antlr.v4.codegen.CodeGenerator
-
- generateEdges(Tree) - Method in class org.antlr.v4.gui.TreePostScriptGenerator
-
- generateLexer() - Method in class org.antlr.v4.codegen.CodeGenerator
-
- generateListener() - Method in class org.antlr.v4.codegen.CodeGenerator
-
- generateNode(Tree) - Method in class org.antlr.v4.gui.TreePostScriptGenerator
-
- generateParser() - Method in class org.antlr.v4.codegen.CodeGenerator
-
- generateVisitor() - Method in class org.antlr.v4.codegen.CodeGenerator
-
- generator - Variable in class org.antlr.v4.tool.BuildDependencyGenerator
-
- genFile(Grammar, ST, String) - Method in class org.antlr.v4.codegen.Target
-
- genListener - Variable in class org.antlr.v4.codegen.model.ParserFile
-
- genListenerFile(Grammar, ST) - Method in class org.antlr.v4.codegen.Target
-
- genPackage - Variable in class org.antlr.v4.codegen.model.LexerFile
-
- genPackage - Variable in class org.antlr.v4.codegen.model.ListenerFile
-
- genPackage - Variable in class org.antlr.v4.codegen.model.ParserFile
-
- genPackage - Variable in class org.antlr.v4.codegen.model.VisitorFile
-
- genPackage - Variable in class org.antlr.v4.Tool
-
- genRecognizerHeaderFile(Grammar, ST, String) - Method in class org.antlr.v4.codegen.Target
-
- genVisitor - Variable in class org.antlr.v4.codegen.model.ParserFile
-
- 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(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
-
- get(String) - Method in class org.antlr.v4.tool.AttributeDict
-
- 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
-
- getActionTokens() - Method in class org.antlr.v4.parse.ActionSplitter
-
force filtering (and return tokens).
- 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.
- getAddToListOpIfListLabelPresent(LabeledOp, GrammarAST) - Method in class org.antlr.v4.codegen.ParserFactory
-
- 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.
- getAllCharValues() - Method in class org.antlr.v4.tool.Grammar
-
Return min to max char as defined by the target.
- getAllChildrenWithType(int) - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- 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
-
- getAllImportedGrammars() - Method in class org.antlr.v4.tool.Grammar
-
Get list of all imports from all grammars in the delegate subtree of g.
- getAllPossibleParseTrees(Grammar, Parser, TokenStream, int, BitSet, int, int, int) - Static method in class org.antlr.v4.tool.GrammarParserInterpreter
-
Given an ambiguous parse information, return the list of ambiguous parse trees.
- getAllTokens() - Method in class org.antlr.v4.runtime.Lexer
-
Return a list of all Token objects in input char stream.
- getAltLabel() - Method in class org.antlr.v4.tool.ast.GrammarAST
-
Walk ancestors of this node until we find ALT with
alt!=null or leftRecursiveAltInfo!=null.
- getAltLabelContextStructName(String) - Method in class org.antlr.v4.codegen.Target
-
- getAltLabels() - Method in class org.antlr.v4.tool.LeftRecursiveRule
-
Get -> labels from those alts we deleted for left-recursive rules.
- getAltLabels() - Method in class org.antlr.v4.tool.Rule
-
Get #
labels.
- getAltLookaheadAsStringLists(IntervalSet[]) - Method in class org.antlr.v4.codegen.model.Choice
-
- 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.
- getANTLRCharLiteralForChar(int) - Static method in class org.antlr.v4.misc.CharSupport
-
Return a string representing the escaped char for code c.
- getAnyLabelDef(String) - Method in class org.antlr.v4.tool.Alternative
-
- getAnyLabelDef(String) - Method in class org.antlr.v4.tool.Rule
-
- getArcSize() - Method in class org.antlr.v4.gui.TreeViewer
-
- getArgs() - Method in class org.antlr.v4.tool.ANTLRMessage
-
- getArgType() - Method in class org.antlr.v4.codegen.model.decl.ContextGetterDecl
-
Not used for output; just used to distinguish between decl types
to avoid dups.
- getArgType() - Method in class org.antlr.v4.codegen.model.decl.ContextRuleListIndexedGetterDecl
-
- getArgType() - Method in class org.antlr.v4.codegen.model.decl.ContextTokenListIndexedGetterDecl
-
- getArtificialOpPrecRule() - Method in class org.antlr.v4.analysis.LeftRecursiveRuleAnalyzer
-
- 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
-
- getATN() - Method in class org.antlr.v4.tool.Grammar
-
- 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.
- getBadWords() - Method in class org.antlr.v4.codegen.target.JavaScriptTarget
-
- getBadWords() - Method in class org.antlr.v4.codegen.target.JavaTarget
-
- getBadWords() - Method in class org.antlr.v4.codegen.target.Python2Target
-
- getBadWords() - Method in class org.antlr.v4.codegen.target.Python3Target
-
- getBaseListenerFileName() - Method in class org.antlr.v4.codegen.CodeGenerator
-
A given grammar T, return a blank listener implementation
such as TBaseListener.java, if we're using the Java target.
- getBaseVisitorFileName() - Method in class org.antlr.v4.codegen.CodeGenerator
-
A given grammar T, return a blank listener implementation
such as TBaseListener.java, if we're using the Java target.
- getBorderColor() - Method in class org.antlr.v4.gui.TreeViewer
-
- getBoundsOfNode(Tree) - Method in class org.antlr.v4.gui.TreePostScriptGenerator
-
- getBoundsOfNode(Tree) - Method in class org.antlr.v4.gui.TreeViewer
-
- getBoxColor() - Method in class org.antlr.v4.gui.TreeViewer
-
- 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
-
- getCause() - Method in class org.antlr.v4.tool.ANTLRMessage
-
- getCause() - Method in class org.antlr.v4.tool.GrammarSyntaxMessage
-
- 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.
- getChannelValue(String) - Method in class org.antlr.v4.tool.Grammar
-
Gets the constant channel value for a user-defined channel.
- 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.parse.GrammarToken
-
- 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
- getCharValueFromCharInGrammarLiteral(String) - Static method in class org.antlr.v4.misc.CharSupport
-
Given char x or \t or ሴ return the char value;
Unnecessary escapes like '\{' yield -1.
- getCharValueFromGrammarCharLiteral(String) - Static method in class org.antlr.v4.misc.CharSupport
-
Given a literal like (the 3 char sequence with single quotes) 'a',
return the int value of 'a'.
- 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) - Method in class org.antlr.v4.gui.TreeLayoutAdaptor
-
- getChildren(Tree) - Method in class org.antlr.v4.gui.TreePostScriptGenerator
-
- getChildren(Tree) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Return ordered list of all children of this node
- getChildrenAsArray() - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- getChildrenReverse(Tree) - Method in class org.antlr.v4.gui.TreeLayoutAdaptor
-
- getChoiceBlock(BlockAST, List<CodeBlockForAlt>, GrammarAST) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- getChoiceBlock(Choice) - Method in class org.antlr.v4.codegen.CodeGeneratorExtension
-
- getChoiceBlock(BlockAST, List<CodeBlockForAlt>, GrammarAST) - Method in class org.antlr.v4.codegen.OutputModelController
-
- getChoiceBlock(BlockAST, List<CodeBlockForAlt>, GrammarAST) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getChoiceBlock(BlockAST, List<CodeBlockForAlt>, GrammarAST) - Method in class org.antlr.v4.codegen.ParserFactory
-
- getCodeBlockLevel() - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getCodeBlockLevel() - Method in class org.antlr.v4.codegen.OutputModelController
-
- getCodeBlockLevel() - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getCodeGenerator() - Method in class org.antlr.v4.codegen.Target
-
- getCommonConstants() - Static method in class org.antlr.v4.automata.LexerATNFactory
-
- getComplexChoiceBlock(BlockAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- getComplexChoiceBlock(BlockAST, List<CodeBlockForAlt>) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getComplexChoiceBlock(BlockAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.ParserFactory
-
- getComplexEBNFBlock(GrammarAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- getComplexEBNFBlock(GrammarAST, List<CodeBlockForAlt>) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getComplexEBNFBlock(GrammarAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.ParserFactory
-
- getComponentGraphics(Graphics) - Method in class org.antlr.v4.gui.TreeViewer
-
- 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.
- getConstantValue(String, Token) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- getContext() - Method in class org.antlr.v4.runtime.Parser
-
- getContextName() - Method in class org.antlr.v4.codegen.model.SrcOp
-
Return label alt or return name of rule
- getController() - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getController() - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getCtx() - Method in exception org.antlr.v4.runtime.RecognitionException
-
Gets the
RuleContext
at the time this exception was thrown.
- getCurrentBlock() - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getCurrentBlock() - Method in class org.antlr.v4.codegen.OutputModelController
-
- getCurrentBlock() - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getCurrentDeclForName(String) - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getCurrentOuterMostAlt() - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getCurrentOuterMostAlt() - Method in class org.antlr.v4.codegen.OutputModelController
-
- getCurrentOuterMostAlt() - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getCurrentOuterMostAlternativeBlock() - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getCurrentOuterMostAlternativeBlock() - Method in class org.antlr.v4.codegen.OutputModelController
-
- getCurrentOuterMostAlternativeBlock() - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getCurrentRuleFunction() - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getCurrentRuleFunction() - Method in class org.antlr.v4.codegen.OutputModelController
-
- getCurrentRuleFunction() - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- 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
-
- getDeclForAltElement(GrammarAST, String, boolean) - Method in class org.antlr.v4.codegen.model.RuleFunction
-
- getDeclsForAllElements(List<AltAST>) - Method in class org.antlr.v4.codegen.model.RuleFunction
-
for all alts, find which ref X or r needs List
Must see across alts.
- getDecoded(ATN, List<String>) - Static method in class org.antlr.v4.runtime.atn.ATNSerializer
-
- getDefaultActionScope() - Method in class org.antlr.v4.tool.Grammar
-
Given a grammar type, what should be the default action scope?
If I say @members in a COMBINED grammar, for example, the
default scope should be "parser".
- getDefaultOptions() - Static method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
-
- getDelegates() - Method in class org.antlr.v4.codegen.SourceGenTriggers
-
- getDelegates() - Method in class org.antlr.v4.parse.ActionSplitter
-
- getDelegates() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- getDelegates() - Method in class org.antlr.v4.parse.ANTLRParser
-
- getDelegates() - Method in class org.antlr.v4.parse.ATNBuilder
-
- getDelegates() - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- getDelegates() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- getDelegates() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- getDependencies() - Method in class org.antlr.v4.tool.BuildDependencyGenerator
-
- getDependenciesFileList() - Method in class org.antlr.v4.tool.BuildDependencyGenerator
-
Return a list of File objects that name files ANTLR will read
to process T.g; This can be .tokens files if the grammar uses the tokenVocab option
as well as any imported grammar files.
- getDescendants(ParseTree) - Static method in class org.antlr.v4.runtime.tree.Trees
-
Get all descendents; includes t itself.
- getDescription() - Method in class org.antlr.v4.codegen.SourceGenTriggers.DFA7
-
- getDescription() - Method in class org.antlr.v4.parse.ANTLRLexer.DFA2
-
- getDescription() - Method in class org.antlr.v4.parse.ANTLRLexer.DFA34
-
- getDescription() - Method in class org.antlr.v4.parse.ATNBuilder.DFA10
-
- getDescription() - Method in class org.antlr.v4.parse.BlockSetTransformer.DFA10
-
- getDescription() - Method in class org.antlr.v4.parse.GrammarTreeVisitor.DFA38
-
- getDescription() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker.DFA11
-
- getDescription() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker.DFA14
-
- 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
-
- getDOT(DFA, boolean) - Method in class org.antlr.v4.tool.DOTGenerator
-
- getDOT(ATNState) - Method in class org.antlr.v4.tool.DOTGenerator
-
- getDOT(ATNState, boolean) - Method in class org.antlr.v4.tool.DOTGenerator
-
- getDOT(ATNState, String[], boolean) - Method in class org.antlr.v4.tool.DOTGenerator
-
Return a String containing a DOT description that, when displayed,
will show the incoming state machine visually.
- getEBNFBlock(GrammarAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- getEBNFBlock(Choice) - Method in class org.antlr.v4.codegen.CodeGeneratorExtension
-
- getEBNFBlock(GrammarAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.OutputModelController
-
- getEBNFBlock(GrammarAST, List<CodeBlockForAlt>) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getEBNFBlock(GrammarAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.ParserFactory
-
- getEdgeLabel(int) - Method in class org.antlr.v4.runtime.dfa.DFASerializer
-
- getEdgeLabel(int) - Method in class org.antlr.v4.runtime.dfa.LexerDFASerializer
-
- getEdgeLabel(String) - Method in class org.antlr.v4.tool.DOTGenerator
-
Fix edge strings so they print out in DOT properly;
generate any gated predicates on edge too.
- getElement(int) - Method in class org.antlr.v4.misc.OrderedHashMap
-
- getElementFrequenciesForAlt(AltAST) - Method in class org.antlr.v4.codegen.model.RuleFunction
-
Given list of X and r refs in alt, compute how many of each there are
- getElementLabelDefs() - Method in class org.antlr.v4.tool.Rule
-
- getElementLabelNames() - Method in class org.antlr.v4.tool.Rule
-
- getElementListName(String) - Method in class org.antlr.v4.codegen.Target
-
- getElementName(String) - Method in class org.antlr.v4.codegen.Target
-
- 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
-
- getErrorManager() - Method in class org.antlr.v4.codegen.model.ElementFrequenciesVisitor
-
During code gen, we can assume tree is in good shape
- getErrorManager() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- getErrorManager() - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- getErrorManager() - Method in class org.antlr.v4.semantics.RuleCollector
-
- getErrorManager() - Method in class org.antlr.v4.semantics.SymbolCollector
-
- getErrorRecoverySet(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
- getErrorType() - Method in class org.antlr.v4.tool.ANTLRMessage
-
- 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
-
- getFirstChild(Tree) - Method in class org.antlr.v4.gui.TreeLayoutAdaptor
-
- getFirstDescendantWithType(int) - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- getFirstDescendantWithType(BitSet) - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- getFont() - Method in class org.antlr.v4.gui.SystemFontMetrics
-
- getFont() - Method in class org.antlr.v4.gui.TreeViewer
-
- getFontSize() - Method in class org.antlr.v4.gui.PostScriptDocument
-
- getGeneratedFileList() - Method in class org.antlr.v4.tool.BuildDependencyGenerator
-
From T.g return a list of File objects that
name files ANTLR will emit from T.g.
- getGenerator() - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getGenerator() - Method in class org.antlr.v4.codegen.OutputModelController
-
- getGenerator() - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getGenerator() - Method in class org.antlr.v4.tool.BuildDependencyGenerator
-
- getGrammar() - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getGrammar() - Method in class org.antlr.v4.codegen.OutputModelController
-
- getGrammar() - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getGrammarAncestors() - Method in class org.antlr.v4.tool.Grammar
-
Return list of imported grammars from root down to our parent.
- getGrammarFileName() - Method in class org.antlr.v4.codegen.SourceGenTriggers
-
- getGrammarFileName() - Method in class org.antlr.v4.parse.ActionSplitter
-
- getGrammarFileName() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- getGrammarFileName() - Method in class org.antlr.v4.parse.ANTLRParser
-
- getGrammarFileName() - Method in class org.antlr.v4.parse.ATNBuilder
-
- getGrammarFileName() - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- getGrammarFileName() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- getGrammarFileName() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- 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
-
- getGrammarName() - Method in class org.antlr.v4.tool.ast.GrammarRootAST
-
- getGrammarTypeToFileNameSuffix(int) - Static method in class org.antlr.v4.tool.Grammar
-
- getHeaderFileName() - Method in class org.antlr.v4.codegen.CodeGenerator
-
- getHeight(Tree) - Method in class org.antlr.v4.gui.TreePostScriptGenerator.VariableExtentProvide
-
- getHeight(Tree) - Method in class org.antlr.v4.gui.TreeViewer.VariableExtentProvide
-
- 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
of EOF.
- getHighlightedBoxColor() - Method in class org.antlr.v4.gui.TreeViewer
-
- getHighlightedNodeIndex(Tree) - Method in class org.antlr.v4.gui.TreeViewer
-
- getImplicitLexer() - Method in class org.antlr.v4.tool.Grammar
-
Get delegates below direct delegates of g
public List getIndirectDelegates(Grammar g) {
List direct = getDirectDelegates(g);
List delegates = getDelegates(g);
delegates.removeAll(direct);
return delegates;
}
- getImplicitRuleLabel(String) - Method in class org.antlr.v4.codegen.Target
-
- getImplicitSetLabel(String) - Method in class org.antlr.v4.codegen.Target
-
- getImplicitTokenLabel(String) - Method in class org.antlr.v4.codegen.Target
-
- getImportedGrammar(String) - Method in class org.antlr.v4.tool.Grammar
-
Return grammar directly imported by this grammar
- getImportedGrammarFile(Grammar, String) - Method in class org.antlr.v4.Tool
-
- getImportedGrammars() - Method in class org.antlr.v4.tool.Grammar
-
- getImportedVocabFile() - Method in class org.antlr.v4.parse.TokenVocabParser
-
Return a File descriptor for vocab file.
- getIncludesPatterns() - Method in class org.antlr.mojo.antlr4.Antlr4Mojo
-
- getIndexToPredicateMap() - Method in class org.antlr.v4.tool.Grammar
-
- getInlineTestSetWordSize() - Method in class org.antlr.v4.codegen.Target
-
How many bits should be used to do inline token type tests? Java assumes
a 64-bit word for bitsets.
- getInlineTestSetWordSize() - Method in class org.antlr.v4.codegen.target.JavaScriptTarget
-
- 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
-
- getKey(int) - Method in class org.antlr.v4.misc.OrderedHashMap
-
- 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.codegen.model.InvokeRule
-
- getLabels() - Method in interface org.antlr.v4.codegen.model.LabeledOp
-
- getLabels() - Method in class org.antlr.v4.codegen.model.MatchToken
-
- getLabels() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Return a mapping from label → [list of nodes].
- getLanguage() - Method in class org.antlr.v4.codegen.Target
-
- getLastChild(Tree) - Method in class org.antlr.v4.gui.TreeLayoutAdaptor
-
- 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.
- getLexerAction() - Method in class org.antlr.v4.tool.ast.RuleAST
-
- getLexerActionExecutor() - Method in class org.antlr.v4.runtime.atn.LexerATNConfig
-
Gets the
LexerActionExecutor
capable of executing the embedded
action(s) for the current configuration.
- getLexerActionIndex(LexerAction) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- getLexerActions() - Method in class org.antlr.v4.runtime.atn.LexerActionExecutor
-
Gets the lexer actions to be executed by this executor.
- getLibDirectory() - Method in class org.antlr.mojo.antlr4.Antlr4Mojo
-
- getLine() - Method in class org.antlr.v4.parse.GrammarToken
-
- 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
- getLineHeight(int) - Method in class org.antlr.v4.gui.BasicFontMetrics
-
- getLineHeight() - Method in class org.antlr.v4.gui.PostScriptDocument
-
- getListenerFileName() - Method in class org.antlr.v4.codegen.CodeGenerator
-
A given grammar T, return the listener name such as
TListener.java, if we're using the Java target.
- getListeners() - Method in class org.antlr.v4.Tool
-
- getListLabel(String) - Method in class org.antlr.v4.codegen.Target
-
- 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
-
- getLL1ChoiceBlock(BlockAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- getLL1ChoiceBlock(BlockAST, List<CodeBlockForAlt>) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getLL1ChoiceBlock(BlockAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.ParserFactory
-
- getLL1EBNFBlock(GrammarAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- getLL1EBNFBlock(GrammarAST, List<CodeBlockForAlt>) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getLL1EBNFBlock(GrammarAST, List<CodeBlockForAlt>) - Method in class org.antlr.v4.codegen.ParserFactory
-
- getLL1Test(IntervalSet, GrammarAST) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- getLL1Test(IntervalSet, GrammarAST) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getLL1Test(IntervalSet, GrammarAST) - Method in class org.antlr.v4.codegen.ParserFactory
-
- 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.
- getLocationFormat() - Method in class org.antlr.v4.tool.ErrorManager
-
Return a StringTemplate that refers to the current format used for
emitting messages.
- getLookaheadName(TokenStream) - Method in class org.antlr.v4.runtime.atn.ParserATNSimulator
-
- getLookaheadParseTrees(Grammar, ParserInterpreter, TokenStream, int, int, int, int) - Static method in class org.antlr.v4.tool.GrammarParserInterpreter
-
Return a list of parse trees, one for each alternative in a decision
given the same input.
- getLoopCounter(GrammarAST) - Method in class org.antlr.v4.codegen.Target
-
- getLoopEntryState() - Method in class org.antlr.v4.runtime.atn.StarLoopbackState
-
- getLoopLabel(GrammarAST) - Method in class org.antlr.v4.codegen.Target
-
- 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
-
- getMaxCharValue() - Method in class org.antlr.v4.tool.Grammar
-
What is the max char value possible for this grammar's target? Use
unicode max if no target defined.
- getMaxElement() - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Returns the maximum value contained in the set.
- getMaxTokenType() - Method in class org.antlr.v4.tool.Grammar
-
How many token types have been allocated so far?
- getMessageFormat() - Method in class org.antlr.v4.tool.ErrorManager
-
- getMessageTemplate(boolean) - Method in class org.antlr.v4.tool.ANTLRMessage
-
- getMessageTemplate(ANTLRMessage) - Method in class org.antlr.v4.tool.ErrorManager
-
- getMinElement() - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
Returns the minimum value contained in the set.
- 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
-
- getName() - Method in class org.antlr.v4.tool.AttributeDict
-
- getNewChannelNumber() - Method in class org.antlr.v4.tool.Grammar
-
Return a new unique integer in the channel value space.
- getNewTokenType() - Method in class org.antlr.v4.tool.Grammar
-
Return a new unique integer in the token type space
- getNode(T) - Method in class org.antlr.v4.misc.Graph
-
- getNodesWithType(int) - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- getNodesWithType(IntervalSet) - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- getNodesWithTypePreorderDFS(IntervalSet) - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- getNodesWithTypePreorderDFS_(List<GrammarAST>, IntervalSet) - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- 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
-
- getNodeWithTokenIndex(int) - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- getNonImportDependenciesFileList() - Method in class org.antlr.v4.tool.BuildDependencyGenerator
-
Return a list of File objects that name files ANTLR will read
to process T.g; This can only be .tokens files and only
if they use the tokenVocab option.
- getNumberOfDecisions() - Method in class org.antlr.v4.runtime.atn.ATN
-
- getNumberOfOnChannelTokens() - Method in class org.antlr.v4.runtime.CommonTokenStream
-
Count EOF just once.
- getNumberOfOptions() - Method in class org.antlr.v4.tool.ast.GrammarASTWithOptions
-
- 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
-
- getNumErrors() - Method in class org.antlr.v4.tool.ErrorManager
-
- getNumErrors() - Method in class org.antlr.v4.Tool
-
- 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
-
- getOptionAST(String) - Method in class org.antlr.v4.tool.ast.GrammarASTWithOptions
-
Gets AST node holding value for option key; ignores default options
and command-line forced options.
- getOptions() - Method in class org.antlr.v4.tool.ast.GrammarASTWithOptions
-
- getOptionString(String) - Method in class org.antlr.v4.tool.ast.GrammarASTWithOptions
-
- getOptionString(String) - Method in class org.antlr.v4.tool.ast.GrammarRootAST
-
- getOptionString(String) - Method in class org.antlr.v4.tool.Grammar
-
- 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
-
- getOriginalAST() - Method in class org.antlr.v4.tool.LeftRecursiveRule
-
- getOriginalNumberOfAlts() - Method in class org.antlr.v4.tool.LeftRecursiveRule
-
- getOriginalNumberOfAlts() - Method in class org.antlr.v4.tool.Rule
-
Used for recursive rules (subclass), which have 1 alt, but many original alts
- getOuterAltNum() - Method in class org.antlr.v4.tool.GrammarInterpreterRuleContext
-
The predicted outermost alternative for the rule associated
with this context object.
- getOuterContextDepth() - Method in class org.antlr.v4.runtime.atn.ATNConfig
-
- getOuterMostAltCodeBlock() - Method in class org.antlr.v4.codegen.model.SrcOp
-
Walk upwards in model tree, looking for outer alt's code block
- getOutermostAltNode() - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- getOutermostGrammar() - Method in class org.antlr.v4.tool.Grammar
-
Return the grammar that imported us and our parents.
- getOutputDirectory() - Method in class org.antlr.mojo.antlr4.Antlr4Mojo
-
- getOutputDirectory(String) - Method in class org.antlr.v4.Tool
-
Return the location where ANTLR will generate output files for a given
file.
- getOutputFile(String) - Method in class org.antlr.v4.tool.BuildDependencyGenerator
-
- getOutputFileWriter(Grammar, String) - Method in class org.antlr.v4.Tool
-
This method is used by all code generators to create new output
files.
- 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.
- getParserErrorMessage(Parser, RecognitionException) - Method in class org.antlr.v4.parse.ToolANTLRParser
-
- 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.
- getPredefinedScope(LabelType) - Method in class org.antlr.v4.tool.Rule
-
- 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
-
- getPredicateDisplayString(SemanticContext.Predicate) - Method in class org.antlr.v4.tool.Grammar
-
- 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
-
- getPrimaryAlts() - Method in class org.antlr.v4.tool.LeftRecursiveRule
-
Return an array that maps predicted alt from primary decision
to original alt of rule.
- getProgram(String) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- getPS() - Method in class org.antlr.v4.gui.PostScriptDocument
-
- getPS() - Method in class org.antlr.v4.gui.TreePostScriptGenerator
-
- getPS(Tree, List<String>, String, int) - Static method in class org.antlr.v4.gui.Trees
-
- getPS(Tree, List<String>) - Static method in class org.antlr.v4.gui.Trees
-
- 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.
- getRecognizerFileName() - Method in class org.antlr.v4.codegen.CodeGenerator
-
Generate TParser.java and TLexer.java from T.g4 if combined, else
just use T.java as output regardless of type.
- getRecognizerName() - Method in class org.antlr.v4.tool.Grammar
-
Get the name of the generated recognizer; may or may not be same
as grammar name.
- getRecursiveOpAlts() - Method in class org.antlr.v4.tool.LeftRecursiveRule
-
Return an array that maps predicted alt from recursive op decision
to original alt of rule.
- getReportFormat(ErrorSeverity) - Method in class org.antlr.v4.tool.ErrorManager
-
- 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
-
- getRoot() - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getRoot() - Method in class org.antlr.v4.codegen.OutputModelController
-
- getRoot() - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getRoot() - Method in class org.antlr.v4.gui.TreeLayoutAdaptor
-
- 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.
- getRule(String) - Method in class org.antlr.v4.tool.Grammar
-
- getRule(int) - Method in class org.antlr.v4.tool.Grammar
-
- getRule(String, String) - Method in class org.antlr.v4.tool.Grammar
-
- 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
-
- getRuleDependencies(Grammar) - Static method in class org.antlr.v4.semantics.UseDefAnalyzer
-
Find all rules reachable from r directly or indirectly for all r in g
- getRuleDependencies(LexerGrammar, String) - Static method in class org.antlr.v4.semantics.UseDefAnalyzer
-
- getRuleDependencies(Grammar, Collection<Rule>) - Static method in class org.antlr.v4.semantics.UseDefAnalyzer
-
- getRuleFunctionContextStructName(Rule) - Method in class org.antlr.v4.codegen.Target
-
- getRuleFunctionContextStructName(RuleFunction) - Method in class org.antlr.v4.codegen.Target
-
If we know which actual function, we can provide the actual ctx type.
- 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
-
- getRuleLabel(String) - Method in class org.antlr.v4.codegen.ActionTranslator
-
- 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.
- getRuleName() - Method in class org.antlr.v4.tool.ast.RuleAST
-
- 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
-
- getRuleNames() - Method in class org.antlr.v4.tool.Grammar
-
Gets an array of rule names for rules defined or imported by the
grammar.
- getRuleOrSubruleStartToken() - Method in class org.antlr.v4.parse.ANTLRLexer
-
scan backwards from current point in this.tokens list
looking for the start of the rule or subrule.
- 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.
- getScale() - Method in class org.antlr.v4.gui.TreeViewer
-
- getSegments() - Method in class org.antlr.v4.codegen.model.SerializedATN
-
- getSemanticContextDisplayString(SemanticContext) - Method in class org.antlr.v4.tool.Grammar
-
Given an arbitrarily complex SemanticContext, walk the "tree" and get display string.
- 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.
- getSerializedATN() - Method in class org.antlr.v4.runtime.tree.xpath.XPathLexer
-
- getSerializedATNSegmentLimit() - Method in class org.antlr.v4.codegen.Target
-
Gets the maximum number of 16-bit unsigned integers that can be encoded
in a single segment of the serialized ATN.
- getSerializedATNSegmentLimit() - Method in class org.antlr.v4.codegen.target.JavaScriptTarget
-
- getSerializedATNSegmentLimit() - Method in class org.antlr.v4.codegen.target.JavaTarget
-
- getSerializedATNSegmentLimit() - Method in class org.antlr.v4.codegen.target.Python3Target
-
- getSetFromCharSetLiteral(GrammarAST) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- getSharedContextCache() - Method in class org.antlr.v4.runtime.atn.ATNSimulator
-
- getSingleElement() - Method in class org.antlr.v4.runtime.misc.IntervalSet
-
- getSingleElement() - Method in interface org.antlr.v4.runtime.misc.IntSet
-
- getSingleViableAlt(Collection<BitSet>) - Static method in enum org.antlr.v4.runtime.atn.PredictionMode
-
- getSourceDirectory() - Method in class org.antlr.mojo.antlr4.Antlr4Mojo
-
- 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
-
- getSourceName() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
- getSourceName() - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
- 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.parse.GrammarToken
-
- 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
-
- getStartTokenOfFirstRule(Collection<? extends Collection<Rule>>) - Static method in class org.antlr.v4.tool.LeftRecursionCyclesMessage
-
- getState() - Method in class org.antlr.v4.runtime.Recognizer
-
- getStateLabel(DFAState) - Method in class org.antlr.v4.tool.DOTGenerator
-
- getStateLabel(ATNState) - Method in class org.antlr.v4.tool.DOTGenerator
-
- 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.
- getStateToGrammarRegion(int) - Method in class org.antlr.v4.tool.Grammar
-
Given an ATN state number, return the token index range within the grammar from which that ATN state was derived.
- getStateToGrammarRegionMap(GrammarRootAST, IntervalSet) - Static method in class org.antlr.v4.tool.Grammar
-
- 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.parse.GrammarToken
-
- 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.
- getStringFromGrammarStringLiteral(String) - Static method in class org.antlr.v4.misc.CharSupport
-
- getStringLiteralAliasesFromLexerRules(GrammarRootAST) - Static method in class org.antlr.v4.tool.Grammar
-
Return list of (TOKEN_NAME node, 'literal' node) pairs
- getStringLiteralLexerRuleName(String) - Method in class org.antlr.v4.tool.Grammar
-
- getStringLiterals() - Method in class org.antlr.v4.tool.Grammar
-
- 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.
- getTarget() - Method in class org.antlr.v4.codegen.CodeGenerator
-
- getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator, String, boolean) - Method in class org.antlr.v4.codegen.target.CSharpTarget
-
- getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator, String, boolean) - Method in class org.antlr.v4.codegen.Target
-
Convert from an ANTLR string literal found in a grammar file to an
equivalent string literal in the target language.
- getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator, String, boolean) - Method in class org.antlr.v4.codegen.target.JavaScriptTarget
-
Convert from an ANTLR string literal found in a grammar file to an
equivalent string literal in the target language.
- getTargetStringLiteralFromString(String, boolean) - Method in class org.antlr.v4.codegen.Target
-
Given a random string of Java unicode chars, return a new string with
optionally appropriate quote characters for target language and possibly
with some escaped characters.
- getTargetStringLiteralFromString(String) - Method in class org.antlr.v4.codegen.Target
-
- getTemplates() - Method in class org.antlr.v4.codegen.CodeGenerator
-
- getTemplates() - Method in class org.antlr.v4.codegen.Target
-
- getters - Variable in class org.antlr.v4.codegen.model.decl.StructDecl
-
- getText(Tree) - Method in class org.antlr.v4.gui.TreePostScriptGenerator
-
- getText(Tree) - Method in interface org.antlr.v4.gui.TreeTextProvider
-
- getText(Tree) - Method in class org.antlr.v4.gui.TreeViewer.DefaultTreeTextProvider
-
- getText(Tree) - Method in class org.antlr.v4.gui.TreeViewer
-
- getText(Interval) - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
- 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
-
- getText() - Method in class org.antlr.v4.tool.ast.GrammarASTErrorNode
-
- getText() - Method in enum org.antlr.v4.tool.ErrorSeverity
-
Standard getter method for the text that should be displayed in order to
represent the severity to humans and product modelers.
- getTextColor() - Method in class org.antlr.v4.gui.TreeViewer
-
- getThrowNoViableAlt(OutputModelFactory, GrammarAST, IntervalSet) - Method in class org.antlr.v4.codegen.model.Choice
-
- 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
-
- getTokenDisplayName(int) - Method in class org.antlr.v4.tool.Grammar
-
Given a token type, get a meaningful name for it such as the ID
or string literal.
- getTokenDisplayNames() - Method in class org.antlr.v4.tool.Grammar
-
Gets an array of display names for tokens defined or imported by the
grammar.
- 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.parse.GrammarToken
-
- 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.
- getTokenLabel(String) - Method in class org.antlr.v4.codegen.ActionTranslator
-
- getTokenLabelDecl(String) - Method in class org.antlr.v4.codegen.ParserFactory
-
- getTokenListLabelDecl(String) - Method in class org.antlr.v4.codegen.ParserFactory
-
- getTokenLiteralNames() - Method in class org.antlr.v4.tool.Grammar
-
Gets the literal names assigned to tokens in the grammar.
- 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.
- getTokenName(int) - Method in class org.antlr.v4.tool.Grammar
-
Gets the name by which a token can be referenced in the generated code.
- getTokenNames() - Method in class org.antlr.v4.codegen.SourceGenTriggers
-
- getTokenNames() - Method in class org.antlr.v4.parse.ANTLRParser
-
- getTokenNames() - Method in class org.antlr.v4.parse.ATNBuilder
-
- getTokenNames() - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- getTokenNames() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- getTokenNames() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- 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.
- getTokenNames() - Method in class org.antlr.v4.tool.Grammar
-
Gets an array of token names for tokens defined or imported by the
grammar.
- getTokenRefs() - Method in class org.antlr.v4.tool.Rule
-
- 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
-
- getTokenStream() - Method in class org.antlr.v4.tool.Grammar
-
- getTokenSymbolicNames() - Method in class org.antlr.v4.tool.Grammar
-
Gets the symbolic names assigned to tokens in the grammar.
- getTokenType(GrammarAST) - Method in class org.antlr.v4.automata.ParserATNFactory
-
- getTokenType(String) - Method in class org.antlr.v4.runtime.Recognizer
-
- getTokenType(String) - Method in class org.antlr.v4.tool.Grammar
-
- getTokenTypeAsTargetLabel(Grammar, int) - Method in class org.antlr.v4.codegen.Target
-
Get a meaningful name for a token type useful during code generation.
- getTokenTypeMap() - Method in class org.antlr.v4.runtime.Recognizer
-
Get a map from token names to token types.
- getTokenTypes() - Method in class org.antlr.v4.tool.Grammar
-
Return a set of all possible token or char types for this grammar
- getTokenTypesAsTargetLabels(Grammar, int[]) - Method in class org.antlr.v4.codegen.Target
-
- 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.gui.TreePostScriptGenerator
-
- getTree() - Method in class org.antlr.v4.gui.TreeViewer
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.action_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.actionElement_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.actionScopeName_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.alternative_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.alternativeEntry_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.altList_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.atom_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.block_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.blockEntry_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.blockSet_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.blockSuffix_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.channelsSpec_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.delegateGrammar_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.delegateGrammars_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.ebnf_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.ebnfSuffix_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.element_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.elementEntry_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.elementOption_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.elementOptions_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.exceptionGroup_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.exceptionHandler_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.finallyClause_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.grammarSpec_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.grammarType_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.id_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.labeledAlt_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.labeledElement_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.labeledLexerElement_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerAlt_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerAltList_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerAtom_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerBlock_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerCommand_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerCommandExpr_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerCommandName_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerCommands_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerElement_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerElements_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerRule_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.lexerRuleBlock_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.localsSpec_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.modeSpec_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.notSet_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.option_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.optionsSpec_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.optionValue_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.parserRule_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.prequelConstruct_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.qid_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.range_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.rule_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.ruleAction_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.ruleAltList_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.ruleBlock_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.ruleEntry_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.rulePrequel_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.rulePrequels_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.ruleref_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.ruleReturns_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.rules_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.setElement_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.sync_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.terminal_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.throwsSpec_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.tokensSpec_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.v3tokenSpec_return
-
- getTree() - Method in class org.antlr.v4.parse.ANTLRParser.wildcard_return
-
- getTree() - Method in class org.antlr.v4.parse.BlockSetTransformer.blockSet_return
-
- getTree() - Method in class org.antlr.v4.parse.BlockSetTransformer.ebnfBlockSet_return
-
- getTree() - Method in class org.antlr.v4.parse.BlockSetTransformer.ebnfSuffix_return
-
- getTree() - Method in class org.antlr.v4.parse.BlockSetTransformer.elementOption_return
-
- getTree() - Method in class org.antlr.v4.parse.BlockSetTransformer.elementOptions_return
-
- getTree() - Method in class org.antlr.v4.parse.BlockSetTransformer.setAlt_return
-
- getTree() - Method in class org.antlr.v4.parse.BlockSetTransformer.setElement_return
-
- getTree() - Method in class org.antlr.v4.parse.BlockSetTransformer.topdown_return
-
- getTree() - Method in class org.antlr.v4.runtime.tree.pattern.ParseTreeMatch
-
Get the parse tree we are trying to match to a pattern.
- getTreeAdaptor() - Method in class org.antlr.v4.parse.ANTLRParser
-
- getTreeAdaptor() - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- getTreeLayoutAdaptor(Tree) - Method in class org.antlr.v4.gui.TreePostScriptGenerator
-
Get an adaptor for root that indicates how to walk ANTLR trees.
- getTreeLayoutAdaptor(Tree) - Method in class org.antlr.v4.gui.TreeViewer
-
Get an adaptor for root that indicates how to walk ANTLR trees.
- getTreeLevel() - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- getTreeLevel() - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- getTreeTextProvider() - Method in class org.antlr.v4.gui.TreePostScriptGenerator
-
- getTreeTextProvider() - Method in class org.antlr.v4.gui.TreeViewer
-
- 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
- getType() - Method in class org.antlr.v4.tool.ast.GrammarASTErrorNode
-
- getType() - Method in class org.antlr.v4.tool.Grammar
-
- getTypeString() - Method in class org.antlr.v4.tool.Grammar
-
- 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
.
- getUnlabeledAltASTs() - Method in class org.antlr.v4.tool.LeftRecursiveRule
-
- getUnlabeledAltASTs() - Method in class org.antlr.v4.tool.Rule
-
- getUseCurvedEdges() - Method in class org.antlr.v4.gui.TreeViewer
-
- getVersion() - Method in class org.antlr.v4.codegen.target.CSharpTarget
-
- getVersion() - Method in class org.antlr.v4.codegen.Target
-
ANTLR tool should check output templates / target are compatible with tool code generation.
- getVersion() - Method in class org.antlr.v4.codegen.target.JavaScriptTarget
-
- getVersion() - Method in class org.antlr.v4.codegen.target.JavaTarget
-
- getVersion() - Method in class org.antlr.v4.codegen.target.Python2Target
-
- getVersion() - Method in class org.antlr.v4.codegen.target.Python3Target
-
- getVisitorFileName() - Method in class org.antlr.v4.codegen.CodeGenerator
-
A given grammar T, return the visitor name such as
TVisitor.java, if we're using the Java target.
- getVocabFileName() - Method in class org.antlr.v4.codegen.CodeGenerator
-
What is the name of the vocab file generated for this grammar?
Returns null if no .tokens file should be generated.
- 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
-
- getVocabulary() - Method in class org.antlr.v4.tool.Grammar
-
Gets a
Vocabulary
instance describing the vocabulary used by the
grammar.
- getWidth(String, int) - Method in class org.antlr.v4.gui.BasicFontMetrics
-
- getWidth(char, int) - Method in class org.antlr.v4.gui.BasicFontMetrics
-
- getWidth(char) - Method in class org.antlr.v4.gui.PostScriptDocument
-
All chars are 600 thousands of an 'em' wide if courier
- getWidth(String) - Method in class org.antlr.v4.gui.PostScriptDocument
-
- getWidth(Tree) - Method in class org.antlr.v4.gui.TreePostScriptGenerator.VariableExtentProvide
-
- getWidth(Tree) - Method in class org.antlr.v4.gui.TreeViewer.VariableExtentProvide
-
- getXPathElement(Token, boolean) - Method in class org.antlr.v4.runtime.tree.xpath.XPath
-
Convert word like *
or ID
or expr
to a path
element.
- globalNamedAction(GrammarAST, GrammarAST, ActionAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- globalNamedAction(GrammarAST, GrammarAST, ActionAST) - Method in class org.antlr.v4.semantics.SymbolCollector
-
- globalNodeCount - Static variable in class org.antlr.v4.runtime.atn.PredictionContext
-
- GRAMMAR - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- GRAMMAR - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- GRAMMAR - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- GRAMMAR - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- GRAMMAR - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- GRAMMAR - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- GRAMMAR - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- grammar - Variable in class org.antlr.v4.tool.DOTGenerator
-
- Grammar - Class in org.antlr.v4.tool
-
- Grammar(Tool, GrammarRootAST) - Constructor for class org.antlr.v4.tool.Grammar
-
- Grammar(String) - Constructor for class org.antlr.v4.tool.Grammar
-
For testing
- Grammar(String, LexerGrammar) - Constructor for class org.antlr.v4.tool.Grammar
-
- Grammar(String, ANTLRToolListener) - Constructor for class org.antlr.v4.tool.Grammar
-
For testing
- Grammar(String, String) - Constructor for class org.antlr.v4.tool.Grammar
-
For testing; builds trees, does sem anal
- Grammar(String, String, ANTLRToolListener) - Constructor for class org.antlr.v4.tool.Grammar
-
For testing; builds trees, does sem anal
- Grammar(String, String, Grammar, ANTLRToolListener) - Constructor for class org.antlr.v4.tool.Grammar
-
For testing; builds trees, does sem anal
- GRAMMAR_EXTENSION - Static variable in class org.antlr.v4.Tool
-
- GRAMMAR_FROM_STRING_NAME - Static variable in class org.antlr.v4.tool.Grammar
-
- grammarAndLabelRefTypeToScope - Static variable in class org.antlr.v4.tool.Grammar
-
- GrammarAST - Class in org.antlr.v4.tool.ast
-
- GrammarAST() - Constructor for class org.antlr.v4.tool.ast.GrammarAST
-
- GrammarAST(Token) - Constructor for class org.antlr.v4.tool.ast.GrammarAST
-
- GrammarAST(GrammarAST) - Constructor for class org.antlr.v4.tool.ast.GrammarAST
-
- GrammarAST(int) - Constructor for class org.antlr.v4.tool.ast.GrammarAST
-
- GrammarAST(int, Token) - Constructor for class org.antlr.v4.tool.ast.GrammarAST
-
- GrammarAST(int, Token, String) - Constructor for class org.antlr.v4.tool.ast.GrammarAST
-
- GrammarASTAdaptor - Class in org.antlr.v4.parse
-
- GrammarASTAdaptor() - Constructor for class org.antlr.v4.parse.GrammarASTAdaptor
-
- GrammarASTAdaptor(CharStream) - Constructor for class org.antlr.v4.parse.GrammarASTAdaptor
-
- GrammarASTErrorNode - Class in org.antlr.v4.tool.ast
-
A node representing erroneous token range in token stream
- GrammarASTErrorNode(TokenStream, Token, Token, RecognitionException) - Constructor for class org.antlr.v4.tool.ast.GrammarASTErrorNode
-
- GrammarASTVisitor - Interface in org.antlr.v4.tool.ast
-
A simple visitor, based upon the classic double dispatch method,
for walking GrammarAST trees resulting from parsing ANTLR grammars.
- GrammarASTWithOptions - Class in org.antlr.v4.tool.ast
-
- GrammarASTWithOptions(GrammarASTWithOptions) - Constructor for class org.antlr.v4.tool.ast.GrammarASTWithOptions
-
- GrammarASTWithOptions(Token) - Constructor for class org.antlr.v4.tool.ast.GrammarASTWithOptions
-
- GrammarASTWithOptions(int) - Constructor for class org.antlr.v4.tool.ast.GrammarASTWithOptions
-
- GrammarASTWithOptions(int, Token) - Constructor for class org.antlr.v4.tool.ast.GrammarASTWithOptions
-
- GrammarASTWithOptions(int, Token, String) - Constructor for class org.antlr.v4.tool.ast.GrammarASTWithOptions
-
- grammarCharPosInLine - Variable in class org.antlr.v4.codegen.model.ThrowRecognitionException
-
- grammarEncoding - Variable in class org.antlr.v4.Tool
-
- grammarError(ErrorType, Token, Object...) - Method in class org.antlr.v4.parse.ANTLRLexer
-
- grammarError(ErrorType, Token, Object...) - Method in class org.antlr.v4.parse.ANTLRParser
-
- grammarError(ErrorType, Token, Object...) - Method in class org.antlr.v4.parse.ToolANTLRLexer
-
- grammarError(ErrorType, Token, Object...) - Method in class org.antlr.v4.parse.ToolANTLRParser
-
- grammarError(ErrorType, String, Token, Object...) - Method in class org.antlr.v4.tool.ErrorManager
-
- grammarFile - Variable in class org.antlr.v4.codegen.model.ThrowRecognitionException
-
- grammarFileName - Variable in class org.antlr.v4.codegen.model.OutputFile
-
- grammarFileName - Variable in class org.antlr.v4.codegen.model.Recognizer
-
- grammarFileName - Variable in class org.antlr.v4.runtime.LexerInterpreter
-
- grammarFileName - Variable in class org.antlr.v4.runtime.ParserInterpreter
-
- grammarFiles - Variable in class org.antlr.v4.Tool
-
- GrammarInterpreterRuleContext - Class in org.antlr.v4.tool
-
- GrammarInterpreterRuleContext(ParserRuleContext, int, int) - Constructor for class org.antlr.v4.tool.GrammarInterpreterRuleContext
-
- grammarLine - Variable in class org.antlr.v4.codegen.model.ThrowRecognitionException
-
- grammarName - Variable in class org.antlr.v4.codegen.model.ListenerFile
-
- grammarName - Variable in class org.antlr.v4.codegen.model.ParserFile
-
- grammarName - Variable in class org.antlr.v4.codegen.model.Recognizer
-
- grammarName - Variable in class org.antlr.v4.codegen.model.VisitorFile
-
- grammarName - Variable in class org.antlr.v4.gui.TestRig
-
- grammarName - Variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- grammarOption(GrammarAST, GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- grammarOption(GrammarAST, GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- grammarOption(GrammarAST, GrammarAST) - Method in class org.antlr.v4.semantics.SymbolCollector
-
- grammarOptions - Variable in class org.antlr.v4.Tool
-
- GrammarParserInterpreter - Class in org.antlr.v4.tool
-
A heavier weight
ParserInterpreter
that creates parse trees
that track alternative numbers for subtree roots.
- GrammarParserInterpreter(Grammar, String, Vocabulary, Collection<String>, ATN, TokenStream) - Constructor for class org.antlr.v4.tool.GrammarParserInterpreter
-
- GrammarParserInterpreter(Grammar, ATN, TokenStream) - Constructor for class org.antlr.v4.tool.GrammarParserInterpreter
-
- GrammarParserInterpreter.BailButConsumeErrorStrategy - Class in org.antlr.v4.tool
-
We want to stop and track the first error but we cannot bail out like
BailErrorStrategy
as consume() constructs trees.
- GrammarRootAST - Class in org.antlr.v4.tool.ast
-
- GrammarRootAST(GrammarRootAST) - Constructor for class org.antlr.v4.tool.ast.GrammarRootAST
-
- GrammarRootAST(Token, TokenStream) - Constructor for class org.antlr.v4.tool.ast.GrammarRootAST
-
- GrammarRootAST(int, Token, TokenStream) - Constructor for class org.antlr.v4.tool.ast.GrammarRootAST
-
- GrammarRootAST(int, Token, String, TokenStream) - Constructor for class org.antlr.v4.tool.ast.GrammarRootAST
-
- GrammarSemanticsMessage - Class in org.antlr.v4.tool
-
A problem with the symbols and/or meaning of a grammar such as rule
redefinition.
- GrammarSemanticsMessage(ErrorType, String, Token, Object...) - Constructor for class org.antlr.v4.tool.GrammarSemanticsMessage
-
- grammarSpec() - Method in class org.antlr.v4.parse.ANTLRParser
-
- grammarSpec() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- grammarSpec_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.grammarSpec_return
-
- grammarSpec_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.grammarSpec_return
-
- grammarSymbolCausesIssueInGeneratedCode(GrammarAST) - Method in class org.antlr.v4.codegen.Target
-
- GrammarSyntaxMessage - Class in org.antlr.v4.tool
-
A problem with the syntax of your antlr grammar such as
"The '{' came as a complete surprise to me at this point in your program"
- GrammarSyntaxMessage(ErrorType, String, Token, RecognitionException, Object...) - Constructor for class org.antlr.v4.tool.GrammarSyntaxMessage
-
- GrammarToken - Class in org.antlr.v4.parse
-
A CommonToken that can also track it's original location,
derived from options on the element ref like BEGIN.
- GrammarToken(Grammar, Token) - Constructor for class org.antlr.v4.parse.GrammarToken
-
- GrammarTransformPipeline - Class in org.antlr.v4.tool
-
Handle left-recursion and block-set transforms
- GrammarTransformPipeline(Grammar, Tool) - Constructor for class org.antlr.v4.tool.GrammarTransformPipeline
-
- GrammarTreeVisitor - Class in org.antlr.v4.parse
-
The definitive ANTLR v3 tree grammar to walk/visit ANTLR v4 grammars.
- GrammarTreeVisitor(TreeNodeStream) - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor
-
- GrammarTreeVisitor(TreeNodeStream, RecognizerSharedState) - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor
-
- GrammarTreeVisitor() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor
-
- GrammarTreeVisitor.action_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.actionElement_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.alternative_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.astOperand_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.atom_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.block_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.blockSet_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.blockSuffix_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.channelSpec_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.channelsSpec_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.delegateGrammar_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.delegateGrammars_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.DFA38 - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.ebnfSuffix_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.element_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.elementOption_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.elementOptions_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.exceptionGroup_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.exceptionHandler_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.finallyClause_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.grammarSpec_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.labeledElement_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.labeledLexerElement_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerAlternative_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerAtom_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerBlock_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerCommand_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerCommandExpr_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerElement_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerElements_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerOuterAlternative_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerRule_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerRuleBlock_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.lexerSubrule_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.locals_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.mode_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.option_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.optionsSpec_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.optionValue_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.outerAlternative_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.prequelConstruct_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.prequelConstructs_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.range_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.rule_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.ruleAction_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.ruleBlock_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.ruleModifier_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.ruleref_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.ruleReturns_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.rules_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.setElement_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.subrule_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.terminal_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.throwsSpec_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.tokenSpec_return - Class in org.antlr.v4.parse
-
- GrammarTreeVisitor.tokensSpec_return - Class in org.antlr.v4.parse
-
- grammarType() - Method in class org.antlr.v4.parse.ANTLRParser
-
- grammarType - Variable in class org.antlr.v4.runtime.atn.ATN
-
The type of the ATN.
- grammarType - Variable in class org.antlr.v4.tool.ast.GrammarRootAST
-
- grammarType_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.grammarType_return
-
- Graph<T> - Class in org.antlr.v4.misc
-
A generic graph with edges; Each node as a single Object payload.
- Graph() - Constructor for class org.antlr.v4.misc.Graph
-
- Graph.Node<T> - Class in org.antlr.v4.misc
-
- GraphicsSupport - Class in org.antlr.v4.gui
-
- GraphicsSupport() - Constructor for class org.antlr.v4.gui.GraphicsSupport
-
- groomQualifiedFileName(String, String) - Method in class org.antlr.v4.tool.BuildDependencyGenerator
-
- GT - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- GT - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- GT - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- GT - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- GT - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- GT - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- GT - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- gui - Variable in class org.antlr.v4.gui.TestRig
-
- i - Variable in class org.antlr.v4.runtime.ListTokenSource
-
- ID - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- ID - Static variable in class org.antlr.v4.parse.ActionSplitter
-
- ID - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- ID - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- id() - Method in class org.antlr.v4.parse.ANTLRParser
-
- ID - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- ID - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- ID - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- ID - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- id - Variable in class org.antlr.v4.runtime.atn.PredictionContext
-
- ID - Static variable in class org.antlr.v4.runtime.tree.xpath.XPathLexer
-
- id_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.id_return
-
- implementInterface(OutputModelObject) - Method in class org.antlr.v4.codegen.model.decl.StructDecl
-
- implicitLexer - Variable in class org.antlr.v4.tool.Grammar
-
Was this parser grammar created from a COMBINED grammar? If so,
this is what we extracted.
- implicitLexerOwner - Variable in class org.antlr.v4.tool.LexerGrammar
-
The grammar from which this lexer grammar was derived (if implicit)
- IMPORT - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- IMPORT - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- IMPORT - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- IMPORT - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- IMPORT - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- IMPORT - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- IMPORT - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- importedGrammars - Variable in class org.antlr.v4.tool.Grammar
-
- importGrammar(GrammarAST, GrammarAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- importGrammar(GrammarAST, GrammarAST) - Method in class org.antlr.v4.semantics.BasicSemanticChecks
-
- importTokensFromTokensFile() - Method in class org.antlr.v4.tool.Grammar
-
- importVocab(Grammar) - Method in class org.antlr.v4.tool.Grammar
-
- includes - Variable in class org.antlr.mojo.antlr4.Antlr4Mojo
-
Provides an explicit list of all the grammars that should be included in
the generate phase of the plugin.
- inContext(String) - Method in class org.antlr.v4.runtime.Parser
-
- index - Variable in class org.antlr.v4.codegen.model.RuleFunction
-
- index() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
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 - 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
-
- index - Variable in class org.antlr.v4.tool.Rule
-
All rules have unique index 0..n-1
- indexOf(List<? extends T>, Utils.Filter<T>) - Static method in class org.antlr.v4.misc.Utils
-
- indexToActionMap - Variable in class org.antlr.v4.automata.LexerATNFactory
-
- indexToPredMap - Variable in class org.antlr.v4.tool.Grammar
-
Map the other direction upon demand
- indexToRule - Variable in class org.antlr.v4.tool.Grammar
-
- indirectTemplateInstance(String) - Method in class org.antlr.v4.semantics.AttributeChecks
-
- indirectTemplateInstance(String) - Method in class org.antlr.v4.semantics.BlankActionSplitterListener
-
- 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.
- info(String) - Method in class org.antlr.mojo.antlr4.Antlr4ErrorLog
- info(String) - Method in interface org.antlr.v4.tool.ANTLRToolListener
-
- info(String) - Method in class org.antlr.v4.tool.DefaultToolListener
-
- info(String) - Method in class org.antlr.v4.tool.ErrorManager
-
- info(String) - Method in class org.antlr.v4.Tool
-
- INITACTION - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- INITACTION - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- INITACTION - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- INITACTION - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- INITACTION - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- INITACTION - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- 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
-
- 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
.
- initTokenSymbolTables() - Method in class org.antlr.v4.tool.Grammar
-
- initValue - Variable in class org.antlr.v4.codegen.model.decl.AttributeDecl
-
- initValue - Variable in class org.antlr.v4.tool.Attribute
-
The optional attribute initialization expression
- 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
-
- inputDirectory - Variable in class org.antlr.v4.Tool
-
- inputFiles - Variable in class org.antlr.v4.gui.TestRig
-
- 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
-
- InputSymbolType - Variable in class org.antlr.v4.codegen.model.OutputFile
-
- 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
-
- insertOp(int, SrcOp) - Method in class org.antlr.v4.codegen.model.decl.CodeBlock
-
- inspect(Tree, List<String>) - Static method in class org.antlr.v4.gui.Trees
-
Call this method to view a parse tree in a dialog box visually.
- inspect(Tree, Parser) - Static method in class org.antlr.v4.gui.Trees
-
Call this method to view a parse tree in a dialog box visually.
- 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?
- INT - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- INT - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- INT - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- INT - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- INT - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- INT - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- INT - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- INTEGER_POOL_MAX_VALUE - Static variable in class org.antlr.v4.misc.Utils
-
- 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
-
- integrateImportedGrammars(Grammar) - Method in class org.antlr.v4.tool.GrammarTransformPipeline
-
Merge all the rules, token definitions, and named actions from
imported grammars into the root grammar tree.
- interfaces - Variable in class org.antlr.v4.codegen.model.decl.StructDecl
-
- internalError(String, Throwable) - Static method in class org.antlr.v4.tool.ErrorManager
-
- internalError(String) - Static method in class org.antlr.v4.tool.ErrorManager
-
- internalOption_PrintGrammarTree - Static variable in class org.antlr.v4.Tool
-
- internalOption_ShowATNConfigsInDFA - Static variable in class org.antlr.v4.Tool
-
- 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
- intersection(AttributeDict) - Method in class org.antlr.v4.tool.AttributeDict
-
Return the set of keys that collide from
this
and other
.
- 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.
- intValue() - Method in class org.antlr.v4.misc.MutableInt
-
- 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_RULE_NAME - Static variable in class org.antlr.v4.tool.Grammar
-
This value is used as the name for elements in the array returned by
Grammar.getRuleNames()
for indexes not associated with a rule.
- INVALID_STATE_NUMBER - Static variable in class org.antlr.v4.runtime.atn.ATNState
-
- INVALID_TOKEN_NAME - Static variable in class org.antlr.v4.tool.Grammar
-
This value is used in the following situations to indicate that a token
type does not have an associated name which can be directly referenced in
a grammar.
- 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
-
- InvokeRule - Class in org.antlr.v4.codegen.model
-
- InvokeRule(ParserFactory, GrammarAST, GrammarAST) - Constructor for class org.antlr.v4.codegen.model.InvokeRule
-
- 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.
- isChildOfParent(Tree, Tree) - Method in class org.antlr.v4.gui.TreeLayoutAdaptor
-
- isCombined() - Method in class org.antlr.v4.tool.Grammar
-
- 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.codegen.model.decl.StructDecl
-
- 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.
- isEnter - Variable in class org.antlr.v4.codegen.model.ListenerDispatchMethod
-
- 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) - 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.
- isFragment() - Method in class org.antlr.v4.tool.Rule
-
- isGenerateRuleBypassTransitions() - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
-
- isGreedy() - Method in class org.antlr.v4.tool.ast.OptionalBlockAST
-
- isGreedy() - Method in class org.antlr.v4.tool.ast.PlusBlockAST
-
- isGreedy() - Method in interface org.antlr.v4.tool.ast.QuantifierAST
-
- isGreedy() - Method in class org.antlr.v4.tool.ast.StarBlockAST
-
- isHighlighted(Tree) - Method in class org.antlr.v4.gui.TreeViewer
-
- isImplicit - Variable in class org.antlr.v4.codegen.model.decl.RuleContextDecl
-
- isImplicit - Variable in class org.antlr.v4.codegen.model.decl.TokenDecl
-
- isLeaf(Tree) - Method in class org.antlr.v4.gui.TreeLayoutAdaptor
-
- isLeftRec - Variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker.outerAlternative_return
-
- isLeftRec - Variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker.ruleBlock_return
-
- isLeftRecursiveRule - Variable in class org.antlr.v4.runtime.atn.RuleStartState
-
- isLexer() - Method in class org.antlr.v4.tool.Grammar
-
- isLexerRule - Variable in class org.antlr.v4.parse.ANTLRLexer
-
- isLexerRule() - Method in class org.antlr.v4.tool.ast.RuleAST
-
- isListLabel - Variable in class org.antlr.v4.analysis.LeftRecursiveRuleAltInfo
-
- isLocal - Variable in class org.antlr.v4.codegen.model.decl.Decl
-
- isMatchedEOF() - Method in class org.antlr.v4.runtime.Parser
-
- 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.
- isNil() - Method in class org.antlr.v4.tool.ast.GrammarASTErrorNode
-
- isNonGreedyExitState() - Method in class org.antlr.v4.runtime.atn.ATNState
-
- isolatedRuleRef(String) - Method in class org.antlr.v4.semantics.AttributeChecks
-
- isParser() - Method in class org.antlr.v4.tool.Grammar
-
- 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
-
- isStartRule - Variable in class org.antlr.v4.tool.Rule
-
- isTokenName(String) - Static method in class org.antlr.v4.tool.Grammar
-
Is id a valid token name? Does id start with an uppercase letter?
- isTrace() - Method in class org.antlr.v4.runtime.Parser
-
- isVerifyATN() - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
-
- iteration - Variable in class org.antlr.v4.codegen.model.LL1Loop
-
- iteration - Variable in class org.antlr.v4.codegen.model.Loop
-
- 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
-
- s0 - Variable in class org.antlr.v4.runtime.dfa.DFA
-
- save(Tree, Parser, String) - Static method in class org.antlr.v4.gui.Trees
-
Save this tree in a postscript file
- save(Tree, Parser, String, String, int) - Static method in class org.antlr.v4.gui.Trees
-
Save this tree in a postscript file using a particular font name and size
- save(Tree, List<String>, String) - Static method in class org.antlr.v4.gui.Trees
-
Save this tree in a postscript file
- save(Tree, List<String>, String, String, int) - Static method in class org.antlr.v4.gui.Trees
-
Save this tree in a postscript file using a particular font name and size
- save(String) - Method in class org.antlr.v4.gui.TreeViewer
-
- save(String) - Method in class org.antlr.v4.runtime.misc.LogManager
-
- save() - Method in class org.antlr.v4.runtime.misc.LogManager
-
- saveImage(JComponent, String) - Static method in class org.antlr.v4.gui.GraphicsSupport
-
[The "BSD license"]
Copyright (c) 2011 Cay Horstmann
All rights reserved.
- scale - Variable in class org.antlr.v4.gui.TreeViewer
-
- ScopeParser - Class in org.antlr.v4.parse
-
Parse args, return values, locals
rule[arg1, arg2, ..., argN] returns [ret1, ..., retN]
text is target language dependent.
- ScopeParser() - Constructor for class org.antlr.v4.parse.ScopeParser
-
- seek(int) - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
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 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
-
- select(T) - Method in interface org.antlr.v4.misc.Utils.Filter
-
- select(List<From>, Utils.Func1<From, To>) - Static method in class org.antlr.v4.misc.Utils
-
apply methodName to list and return list of results.
- semanticContext - Variable in class org.antlr.v4.runtime.atn.ATNConfig
-
- SemanticContext - Class in org.antlr.v4.runtime.atn
-
A tree structure used to record the semantic context in which
an ATN configuration is valid.
- SemanticContext() - Constructor for class org.antlr.v4.runtime.atn.SemanticContext
-
- SemanticContext.AND - Class in org.antlr.v4.runtime.atn
-
A semantic context which is true whenever none of the contained contexts
is false.
- SemanticContext.Operator - Class in org.antlr.v4.runtime.atn
-
This is the base class for semantic context "operators", which operate on
a collection of semantic context "operands".
- SemanticContext.OR - Class in org.antlr.v4.runtime.atn
-
A semantic context which is true whenever at least one of the contained
contexts is true.
- SemanticContext.PrecedencePredicate - Class in org.antlr.v4.runtime.atn
-
- SemanticContext.Predicate - Class in org.antlr.v4.runtime.atn
-
- SemanticPipeline - Class in org.antlr.v4.semantics
-
Do as much semantic checking as we can and fill in grammar
with rules, actions, and token definitions.
- SemanticPipeline(Grammar) - Constructor for class org.antlr.v4.semantics.SemanticPipeline
-
- semctx - Variable in class org.antlr.v4.runtime.atn.PredicateEvalInfo
-
The semantic context which was evaluated.
- SEMI - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- SEMI - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- SEMI - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- SEMI - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- SEMI - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- SEMI - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- SEMI - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- sempred(PredAST) - Method in interface org.antlr.v4.automata.ATNFactory
-
Build what amounts to an epsilon transition with a semantic
predicate action.
- sempred(PredAST) - Method in class org.antlr.v4.automata.ParserATNFactory
-
Build what amounts to an epsilon transition with a semantic
predicate action.
- sempred(ActionAST) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- sempred(List<SrcOp>) - Method in class org.antlr.v4.codegen.CodeGeneratorExtension
-
- SemPred - Class in org.antlr.v4.codegen.model
-
- SemPred(OutputModelFactory, ActionAST) - Constructor for class org.antlr.v4.codegen.model.SemPred
-
- sempred(ActionAST) - Method in class org.antlr.v4.codegen.OutputModelController
-
- sempred(ActionAST) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- sempred(ActionAST) - Method in class org.antlr.v4.codegen.ParserFactory
-
- SEMPRED - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- SEMPRED - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- SEMPRED - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- SEMPRED - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- SEMPRED - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- SEMPRED - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- SEMPRED - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- sempred(RuleContext, int, int) - Method in class org.antlr.v4.runtime.Recognizer
-
- sempredFuncs - Variable in class org.antlr.v4.codegen.model.Recognizer
-
- sempredInAlt(PredAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- sempredInAlt(PredAST) - Method in class org.antlr.v4.semantics.SymbolCollector
-
- semPredOptions - Static variable in class org.antlr.v4.tool.Grammar
-
- sempreds - Variable in class org.antlr.v4.tool.Grammar
-
All sempreds found in grammar; maps tree node to sempred index;
sempred index is 0..n-1
- 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 - Variable in class org.antlr.v4.codegen.model.SerializedATN
-
- 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
-
- SerializedATN - Class in org.antlr.v4.codegen.model
-
- SerializedATN(OutputModelFactory, ATN) - Constructor for class org.antlr.v4.codegen.model.SerializedATN
-
- set(GrammarAST, List<GrammarAST>, boolean) - Method in interface org.antlr.v4.automata.ATNFactory
-
- set(GrammarAST, List<GrammarAST>, boolean) - Method in class org.antlr.v4.automata.LexerATNFactory
-
- set(GrammarAST, List<GrammarAST>, boolean) - Method in class org.antlr.v4.automata.ParserATNFactory
-
From set build single edge graph o->o-set->o
.
- set(GrammarAST, GrammarAST, boolean) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- set(List<SrcOp>) - Method in class org.antlr.v4.codegen.CodeGeneratorExtension
-
- set(GrammarAST, GrammarAST, boolean) - Method in class org.antlr.v4.codegen.OutputModelController
-
(A|B|C) possibly with ebnfRoot and label
- set(GrammarAST, GrammarAST, boolean) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- set(GrammarAST, GrammarAST, boolean) - Method in class org.antlr.v4.codegen.ParserFactory
-
- SET - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- SET - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- SET - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- SET - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- SET - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- SET - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- 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.
- SET_ATTR - Static variable in class org.antlr.v4.parse.ActionSplitter
-
- SET_NONLOCAL_ATTR - Static variable in class org.antlr.v4.parse.ActionSplitter
-
- setAlt() - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- setAlt_return() - Constructor for class org.antlr.v4.parse.BlockSetTransformer.setAlt_return
-
- setAltAssoc(AltAST, int) - Method in class org.antlr.v4.analysis.LeftRecursiveRuleAnalyzer
-
- setAltAssoc(AltAST, int) - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- setAltASTPointers(LeftRecursiveRule, RuleAST) - Method in class org.antlr.v4.analysis.LeftRecursiveRuleTransformer
-
(RULE e int _p (returns int v)
(BLOCK
(ALT
(BLOCK
(ALT INT {$v = $INT.int;})
(ALT '(' (= x e) ')' {$v = $x.v;})
(ALT ID))
(* (BLOCK
(OPTIONS ...)
(ALT {7 >= $_p}? '*' (= b e) {$v = $a.v * $b.v;})
(ALT {6 >= $_p}? '+' (= b e) {$v = $a.v + $b.v;})
(ALT {3 >= $_p}? '++') (ALT {2 >= $_p}? '--'))))))
- setArcSize(int) - Method in class org.antlr.v4.gui.TreeViewer
-
- SetAST - Class in org.antlr.v4.tool.ast
-
- SetAST(SetAST) - Constructor for class org.antlr.v4.tool.ast.SetAST
-
- SetAST(int, Token, String) - Constructor for class org.antlr.v4.tool.ast.SetAST
-
- setAttr(String, Token, Token) - Method in class org.antlr.v4.codegen.ActionTranslator
-
- SetAttr - Class in org.antlr.v4.codegen.model.chunk
-
- SetAttr(StructDecl, String, List<ActionChunk>) - Constructor for class org.antlr.v4.codegen.model.chunk.SetAttr
-
- setAttr(String, Token, Token) - Method in interface org.antlr.v4.parse.ActionSplitterListener
-
- setAttr(String, Token, Token) - Method in class org.antlr.v4.semantics.ActionSniffer
-
- setAttr(String, Token, Token) - Method in class org.antlr.v4.semantics.AttributeChecks
-
- setAttr(String, Token, Token) - Method in class org.antlr.v4.semantics.BlankActionSplitterListener
-
- setBorderColor(Color) - Method in class org.antlr.v4.gui.TreeViewer
-
- setBoxColor(Color) - Method in class org.antlr.v4.gui.TreeViewer
-
- 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
-
- setChannelNameForValue(int, String) - Method in class org.antlr.v4.tool.Grammar
-
Sets the channel name associated with a particular channel value.
- 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
-
- setController(OutputModelController) - Method in class org.antlr.v4.codegen.DefaultOutputModelFactory
-
- setController(OutputModelController) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- setCurrentBlock(CodeBlock) - Method in class org.antlr.v4.codegen.OutputModelController
-
- setCurrentOuterAlt(int) - Method in interface org.antlr.v4.automata.ATNFactory
-
- setCurrentOuterAlt(int) - Method in class org.antlr.v4.automata.ParserATNFactory
-
- setCurrentOuterMostAlt(Alternative) - Method in class org.antlr.v4.codegen.OutputModelController
-
- setCurrentOuterMostAlternativeBlock(CodeBlockForOuterMostAlt) - Method in class org.antlr.v4.codegen.OutputModelController
-
- setCurrentRuleName(String) - Method in interface org.antlr.v4.automata.ATNFactory
-
- setCurrentRuleName(String) - Method in class org.antlr.v4.automata.ParserATNFactory
-
- 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.
- setElement() - Method in class org.antlr.v4.parse.ANTLRParser
-
- setElement() - Method in class org.antlr.v4.parse.ATNBuilder
-
- setElement(boolean) - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- setElement() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- setElement() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- setElement_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.setElement_return
-
- setElement_return() - Constructor for class org.antlr.v4.parse.ATNBuilder.setElement_return
-
- setElement_return() - Constructor for class org.antlr.v4.parse.BlockSetTransformer.setElement_return
-
- setElement_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.setElement_return
-
- setErrorHandler(ANTLRErrorStrategy) - Method in class org.antlr.v4.runtime.Parser
-
- setExprAttribute(String) - Method in class org.antlr.v4.semantics.AttributeChecks
-
- setExprAttribute(String) - Method in class org.antlr.v4.semantics.BlankActionSplitterListener
-
- setFont(String, int) - Method in class org.antlr.v4.gui.PostScriptDocument
-
- setFont(Font) - Method in class org.antlr.v4.gui.TreeViewer
-
- setFontName(String) - Method in class org.antlr.v4.gui.TreeViewer
-
- setFontSize(int) - Method in class org.antlr.v4.gui.TreeViewer
-
- setFormat(String) - Method in class org.antlr.v4.tool.ErrorManager
-
The format gets reset either from the Tool if the user supplied a command line option to that effect
Otherwise we just use the default "antlr".
- setGenerateRuleBypassTransitions(boolean) - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
-
- setGrammarPtr(Grammar, GrammarAST) - Static method in class org.antlr.v4.tool.GrammarTransformPipeline
-
Utility visitor that sets grammar ptr in each node
- setHighlightedBoxColor(Color) - Method in class org.antlr.v4.gui.TreeViewer
-
- setInputStream(IntStream) - Method in class org.antlr.v4.runtime.Lexer
-
Set the char stream and reset the lexer
- setInputStream(IntStream) - Method in class org.antlr.v4.runtime.Parser
-
- setInputStream(IntStream) - Method in class org.antlr.v4.runtime.Recognizer
-
- setInterpreter(ATNInterpreter) - Method in class org.antlr.v4.runtime.Recognizer
-
Set the ATN interpreter used by the recognizer for prediction.
- SetIterator(T[]) - Constructor for class org.antlr.v4.runtime.misc.Array2DHashSet.SetIterator
-
- setLastRewriteTokenIndex(String, int) - Method in class org.antlr.v4.runtime.TokenStreamRewriter
-
- setLine(int) - Method in class org.antlr.v4.runtime.atn.LexerATNSimulator
-
- setLine(int) - Method in class org.antlr.v4.runtime.CommonToken
-
- setLine(int) - Method in class org.antlr.v4.runtime.Lexer
-
- setLine(int) - Method in interface org.antlr.v4.runtime.WritableToken
-
- setLookaheadDFA(int, DFA) - Method in class org.antlr.v4.tool.Grammar
-
- setNodeOptions(GrammarAST, GrammarAST) - Static method in class org.antlr.v4.tool.Grammar
-
Given ^(TOKEN_REF ^(OPTIONS ^(ELEMENT_OPTIONS (= assoc right))))
set option assoc=right in TOKEN_REF.
- setNonLocalAttr(String, Token, Token, Token) - Method in class org.antlr.v4.codegen.ActionTranslator
-
- SetNonLocalAttr - Class in org.antlr.v4.codegen.model.chunk
-
- SetNonLocalAttr(StructDecl, String, String, int, List<ActionChunk>) - Constructor for class org.antlr.v4.codegen.model.chunk.SetNonLocalAttr
-
- setNonLocalAttr(String, Token, Token, Token) - Method in interface org.antlr.v4.parse.ActionSplitterListener
-
- setNonLocalAttr(String, Token, Token, Token) - Method in class org.antlr.v4.semantics.ActionSniffer
-
- setNonLocalAttr(String, Token, Token, Token) - Method in class org.antlr.v4.semantics.AttributeChecks
-
- setNonLocalAttr(String, Token, Token, Token) - Method in class org.antlr.v4.semantics.BlankActionSplitterListener
-
- setOffendingState(int) - Method in exception org.antlr.v4.runtime.RecognitionException
-
- setOffendingToken(Token) - Method in exception org.antlr.v4.runtime.RecognitionException
-
- setOption(String, GrammarAST) - Method in class org.antlr.v4.tool.ast.GrammarASTWithOptions
-
- setOuterAltNum(int) - Method in class org.antlr.v4.tool.GrammarInterpreterRuleContext
-
- setPrecedenceDfa(boolean) - Method in class org.antlr.v4.runtime.dfa.DFA
-
- 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
-
- setReturnValues(GrammarAST) - Method in class org.antlr.v4.analysis.LeftRecursiveRuleAnalyzer
-
- setReturnValues(GrammarAST) - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- setRoot(OutputModelObject) - Method in class org.antlr.v4.codegen.OutputModelController
-
- setRuleIndex(int) - Method in class org.antlr.v4.runtime.atn.ATNState
-
- setRuleNames(List<String>) - Method in class org.antlr.v4.gui.TreeViewer
-
- setScale(double) - Method in class org.antlr.v4.gui.TreeViewer
-
- setSize(List<?>, int) - Static method in class org.antlr.v4.misc.Utils
-
- 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.
- setSTAttribute(String) - Method in class org.antlr.v4.semantics.AttributeChecks
-
- setSTAttribute(String) - Method in class org.antlr.v4.semantics.BlankActionSplitterListener
-
- 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
-
- setText(String) - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- setTextColor(Color) - Method in class org.antlr.v4.gui.TreeViewer
-
- 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.
- setTokenForType(int, String) - Method in class org.antlr.v4.tool.Grammar
-
- 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
-
- setTree(Tree) - Method in class org.antlr.v4.gui.TreeViewer
-
- setTreeAdaptor(TreeAdaptor) - Method in class org.antlr.v4.parse.ANTLRParser
-
- setTreeAdaptor(TreeAdaptor) - Method in class org.antlr.v4.parse.BlockSetTransformer
-
- setTreeTextProvider(TreeTextProvider) - Method in class org.antlr.v4.gui.TreePostScriptGenerator
-
- setTreeTextProvider(TreeTextProvider) - Method in class org.antlr.v4.gui.TreeViewer
-
- 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
-
- setType(int) - Method in class org.antlr.v4.tool.ast.GrammarAST
-
- setup() - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
- setUseCurvedEdges(boolean) - Method in class org.antlr.v4.gui.TreeViewer
-
- setVerifyATN(boolean) - Method in class org.antlr.v4.runtime.atn.ATNDeserializationOptions
-
- severity - Variable in enum org.antlr.v4.tool.ErrorType
-
The error severity.
- 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
-
- shift - Variable in class org.antlr.v4.codegen.model.TestSetInline.Bitset
-
- shouldVisitNextChild(RuleNode, T) - Method in class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
-
- showInDialog(TreeViewer) - Static method in class org.antlr.v4.gui.TreeViewer
-
- showTokens - Variable in class org.antlr.v4.gui.TestRig
-
- SimState() - Constructor for class org.antlr.v4.runtime.atn.LexerATNSimulator.SimState
-
- singleTokenDeletion(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method implements the single-token deletion inline error recovery
strategy.
- singleTokenInsertion(Parser) - Method in class org.antlr.v4.runtime.DefaultErrorStrategy
-
This method implements the single-token insertion inline error recovery
strategy.
- SingletonPredictionContext - Class in org.antlr.v4.runtime.atn
-
- size() - Method in class org.antlr.v4.runtime.ANTLRInputStream
-
- size() - Method in class org.antlr.v4.runtime.atn.ArrayPredictionContext
-
- size() - Method in class org.antlr.v4.runtime.atn.ATNConfigSet
-
- size() - Method in class org.antlr.v4.runtime.atn.EmptyPredictionContext
-
- size() - Method in class org.antlr.v4.runtime.atn.PredictionContext
-
- size() - Method in class org.antlr.v4.runtime.atn.PredictionContextCache
-
- size() - Method in class org.antlr.v4.runtime.atn.SingletonPredictionContext
-
- size() - Method in class org.antlr.v4.runtime.BufferedTokenStream
-
- size() - Method in 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
-
- size() - Method in class org.antlr.v4.tool.AttributeDict
-
- 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 - Variable in class org.antlr.v4.gui.TestRig
-
- 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.misc.Graph
-
DFS-based topological sort.
- sort() - Method in class org.antlr.v4.runtime.misc.IntegerList
-
- sortGrammarByTokenVocab(List<String>) - Method in class org.antlr.v4.Tool
-
- sortLinesInString(String) - Static method in class org.antlr.v4.misc.Utils
-
- source - Variable in class org.antlr.v4.runtime.CommonToken
-
- SourceGenTriggers - Class in org.antlr.v4.codegen
-
- SourceGenTriggers(TreeNodeStream) - Constructor for class org.antlr.v4.codegen.SourceGenTriggers
-
- SourceGenTriggers(TreeNodeStream, RecognizerSharedState) - Constructor for class org.antlr.v4.codegen.SourceGenTriggers
-
- SourceGenTriggers(TreeNodeStream, OutputModelController) - Constructor for class org.antlr.v4.codegen.SourceGenTriggers
-
- SourceGenTriggers.alt_return - Class in org.antlr.v4.codegen
-
- SourceGenTriggers.alternative_return - Class in org.antlr.v4.codegen
-
- SourceGenTriggers.DFA7 - Class in org.antlr.v4.codegen
-
- specialStateTransition(int, IntStream) - Method in class org.antlr.v4.parse.ANTLRLexer.DFA2
-
- specialStateTransition(int, IntStream) - Method in class org.antlr.v4.parse.ANTLRLexer.DFA34
-
- specialStateTransition(int, IntStream) - Method in class org.antlr.v4.parse.BlockSetTransformer.DFA10
-
- 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.
- splitDecls(String, int) - Static method in class org.antlr.v4.parse.ScopeParser
-
Given an argument list like
x, (*a).foo(21,33), 3.2+1, '\n',
"a,oo\nick", {bl, "fdkj"eck}, ["cat\n,", x, 43]
convert to a list of attributes.
- SRC - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- SRC - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- SRC - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- SRC - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- SRC - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- SRC - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- SRC - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- SrcOp - Class in org.antlr.v4.codegen.model
-
- SrcOp(OutputModelFactory) - Constructor for class org.antlr.v4.codegen.model.SrcOp
-
- SrcOp(OutputModelFactory, GrammarAST) - Constructor for class org.antlr.v4.codegen.model.SrcOp
-
- st - Variable in class org.antlr.v4.codegen.model.chunk.ActionTemplate
-
- ST_inspector_wait_for_close - Variable in class org.antlr.v4.Tool
-
- star(GrammarAST, ATNFactory.Handle) - Method in interface org.antlr.v4.automata.ATNFactory
-
From (A)* build
|---|
v |
o->o-A-o--o (Transition 2 from block end points at alt 1; follow is Transition 1)
| ^
o---------| (optional branch is 2nd alt of optional block containing A+)
Meaning that the last (end) ATNState in A points back to A's
left side ATNState and we add 3 new ATNStates (the
optional branch is built just like an optional subrule).
- star(GrammarAST, ATNFactory.Handle) - Method in class org.antlr.v4.automata.ParserATNFactory
-
From (blk)*
build ( blk+ )?
with *two* decisions, one for
entry and one for choosing alts of blk
.
- STAR - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- STAR - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- STAR - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- STAR - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- STAR - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- STAR - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- STAR - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- 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
-
- StarBlock - Class in org.antlr.v4.codegen.model
-
- StarBlock(OutputModelFactory, GrammarAST, List<CodeBlockForAlt>) - Constructor for class org.antlr.v4.codegen.model.StarBlock
-
- StarBlockAST - Class in org.antlr.v4.tool.ast
-
- StarBlockAST(StarBlockAST) - Constructor for class org.antlr.v4.tool.ast.StarBlockAST
-
- StarBlockAST(int, Token, Token) - Constructor for class org.antlr.v4.tool.ast.StarBlockAST
-
- 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.
- StartRuleDoesNotConsumeFullPattern() - Constructor for exception org.antlr.v4.runtime.tree.pattern.ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern
-
- startRuleName - Variable in class org.antlr.v4.gui.TestRig
-
- 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.codegen.model.RuleFunction
-
- 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.codegen.model.RuleElement
-
Associated ATN state for this rule elements (action, token, ruleref, ...)
- 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.
- stateToAltsMap - Variable in class org.antlr.v4.tool.GrammarParserInterpreter
-
- stateToGrammarRegionMap - Variable in class org.antlr.v4.tool.Grammar
-
- stlib - Static variable in class org.antlr.v4.tool.DOTGenerator
-
Library of output templates; use <attrname>
format.
- 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
-
- STRING_LITERAL - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- STRING_LITERAL - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- STRING_LITERAL - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- STRING_LITERAL - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- STRING_LITERAL - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- STRING_LITERAL - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- STRING_LITERAL - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- stringLiteral(TerminalAST) - Method in interface org.antlr.v4.automata.ATNFactory
-
For a non-lexer, just build a simple token reference atom.
- stringLiteral(TerminalAST) - Method in class org.antlr.v4.automata.LexerATNFactory
-
For a lexer, a string is a sequence of char to match.
- stringLiteral(TerminalAST) - Method in class org.antlr.v4.automata.ParserATNFactory
-
For a non-lexer, just build a simple token reference atom.
- stringLiteralToTypeMap - Variable in class org.antlr.v4.tool.Grammar
-
Map token literals like 'while'
to its token type.
- stringRef(GrammarAST, GrammarAST) - Method in class org.antlr.v4.codegen.BlankOutputModelFactory
-
- stringRef(List<SrcOp>) - Method in class org.antlr.v4.codegen.CodeGeneratorExtension
-
- stringRef(GrammarAST, GrammarAST) - Method in class org.antlr.v4.codegen.OutputModelController
-
- stringRef(GrammarAST, GrammarAST) - Method in interface org.antlr.v4.codegen.OutputModelFactory
-
- stringRef(TerminalAST) - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- stringRef(TerminalAST) - Method in class org.antlr.v4.semantics.SymbolCollector
-
- strings - Variable in class org.antlr.v4.semantics.SymbolCollector
-
- STRIP_NONREDUCED_STATES - Static variable in class org.antlr.v4.tool.DOTGenerator
-
- stripAltLabel(GrammarAST) - Method in class org.antlr.v4.analysis.LeftRecursiveRuleAnalyzer
-
Strip last 2 tokens if -> label; alter indexes in altAST
- 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.
- stripFileExtension(String) - Static method in class org.antlr.v4.misc.Utils
-
Integer objects are immutable so share all Integers with the
same value up to some max size.
- stripLeftRecursion(GrammarAST) - Method in class org.antlr.v4.analysis.LeftRecursiveRuleAnalyzer
-
- stroke() - Method in class org.antlr.v4.gui.PostScriptDocument
-
- StructDecl - Class in org.antlr.v4.codegen.model.decl
-
This object models the structure holding all of the parameters,
return values, local variables, and labels associated with a rule.
- StructDecl(OutputModelFactory, Rule) - Constructor for class org.antlr.v4.codegen.model.decl.StructDecl
-
- subrule() - Method in class org.antlr.v4.codegen.SourceGenTriggers
-
- subrule() - Method in class org.antlr.v4.parse.ATNBuilder
-
- subrule() - Method in class org.antlr.v4.parse.GrammarTreeVisitor
-
- subrule_return() - Constructor for class org.antlr.v4.parse.ATNBuilder.subrule_return
-
- subrule_return() - Constructor for class org.antlr.v4.parse.GrammarTreeVisitor.subrule_return
-
- 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.
- suffix() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- suffixAlt(AltAST, int) - Method in class org.antlr.v4.analysis.LeftRecursiveRuleAnalyzer
-
- suffixAlt(AltAST, int) - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- suffixAlts - Variable in class org.antlr.v4.analysis.LeftRecursiveRuleAnalyzer
-
- superClass - Variable in class org.antlr.v4.codegen.model.Recognizer
-
- supportsOverloadedMethods() - Method in class org.antlr.v4.codegen.target.JavaScriptTarget
-
- supportsOverloadedMethods() - Method in class org.antlr.v4.codegen.target.Python2Target
-
- supportsOverloadedMethods() - Method in class org.antlr.v4.codegen.target.Python3Target
-
- supportsOverloadedMethods() - Method in class org.antlr.v4.codegen.Target
-
- symbol - Variable in class org.antlr.v4.runtime.tree.TerminalNodeImpl
-
- SymbolChecks - Class in org.antlr.v4.semantics
-
Check for symbol problems; no side-effects.
- SymbolChecks(Grammar, SymbolCollector) - Constructor for class org.antlr.v4.semantics.SymbolChecks
-
- SymbolCollector - Class in org.antlr.v4.semantics
-
Collects (create) rules, terminals, strings, actions, scopes etc...
- SymbolCollector(Grammar) - Constructor for class org.antlr.v4.semantics.SymbolCollector
-
- symbolicNames - Variable in class org.antlr.v4.codegen.model.Recognizer
-
- Sync - Class in org.antlr.v4.codegen.model
-
- Sync(OutputModelFactory, GrammarAST, IntervalSet, int, String) - Constructor for class org.antlr.v4.codegen.model.Sync
-
- sync() - Method in class org.antlr.v4.parse.ANTLRParser
-
- 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
.
- sync(Parser) - Method in class org.antlr.v4.tool.GrammarParserInterpreter.BailButConsumeErrorStrategy
-
- sync_return() - Constructor for class org.antlr.v4.parse.ANTLRParser.sync_return
-
- SYNPRED - Static variable in class org.antlr.v4.codegen.SourceGenTriggers
-
- SYNPRED - Static variable in class org.antlr.v4.parse.ANTLRLexer
-
- SYNPRED - Static variable in class org.antlr.v4.parse.ANTLRParser
-
- SYNPRED - Static variable in class org.antlr.v4.parse.ATNBuilder
-
- SYNPRED - Static variable in class org.antlr.v4.parse.BlockSetTransformer
-
- SYNPRED - Static variable in class org.antlr.v4.parse.GrammarTreeVisitor
-
- SYNPRED - Static variable in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- synpred1_ActionSplitter() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred1_ActionSplitter_fragment() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred1_ANTLRLexer() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred1_ANTLRLexer_fragment() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred1_LeftRecursiveRuleWalker() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- synpred1_LeftRecursiveRuleWalker_fragment() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- synpred2_ActionSplitter() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred2_ActionSplitter_fragment() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred2_ANTLRLexer() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred2_ANTLRLexer_fragment() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred2_LeftRecursiveRuleWalker() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- synpred2_LeftRecursiveRuleWalker_fragment() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- synpred3_ActionSplitter() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred3_ActionSplitter_fragment() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred3_ANTLRLexer() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred3_ANTLRLexer_fragment() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred3_LeftRecursiveRuleWalker() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- synpred3_LeftRecursiveRuleWalker_fragment() - Method in class org.antlr.v4.parse.LeftRecursiveRuleWalker
-
- synpred4_ActionSplitter() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred4_ActionSplitter_fragment() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred4_ANTLRLexer() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred4_ANTLRLexer_fragment() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred5_ActionSplitter() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred5_ActionSplitter_fragment() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred5_ANTLRLexer() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred5_ANTLRLexer_fragment() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred6_ActionSplitter() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred6_ActionSplitter_fragment() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred6_ANTLRLexer() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred6_ANTLRLexer_fragment() - Method in class org.antlr.v4.parse.ANTLRLexer
-
- synpred7_ActionSplitter() - Method in class org.antlr.v4.parse.ActionSplitter
-
- synpred7_ActionSplitter_fragment() - Method in class org.antlr.v4.parse.ActionSplitter
-
- 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
-
- syntaxError(ErrorType, String, Token, RecognitionException, Object...) - Method in class org.antlr.v4.tool.ErrorManager
-
- 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.
- SystemFontMetrics - Class in org.antlr.v4.gui
-
- SystemFontMetrics(String) - Constructor for class org.antlr.v4.gui.SystemFontMetrics
-