ConfigureRuntime allows the runtime to be configured globally setting things like trace and statistics options.
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
No description provided by the author
LexerActionExecutorappend creates a [LexerActionExecutor] which executes the actions for the input [LexerActionExecutor] followed by a specified [LexerAction].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewATN returns a new ATN struct representing the given grammarType and is used for runtime deserialization of ATNs from the code generated by the ANTLR tool.
NewATNConfig creates a new ATNConfig instance given an existing config, a state, a context and a semantic context, other 'constructors' are just wrappers around this one.
NewATNConfig1 creates a new ATNConfig instance given an existing config, a state, and a context only.
NewATNConfig2 creates a new ATNConfig instance given an existing config, and a context only.
NewATNConfig3 creates a new ATNConfig instance given an existing config, a state and a semantic context.
NewATNConfig4 creates a new ATNConfig instance given an existing config, and a state only.
NewATNConfig5 creates a new ATNConfig instance given a state, alt, context and semantic context.
NewATNConfig6 creates a new ATNConfig instance given a state, alt and context only.
NewATNConfigSet creates a new ATNConfigSet instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
No description provided by the author
NewBaseParser contains all the parsing support code to embed in parsers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBitSet creates a new bitwise set TODO: See if we can replace with the standard library's BitSet.
No description provided by the author
No description provided by the author
NewClosureBusy creates a new ClosureBusy instance used to avoid infinite recursion for right-recursive rules.
No description provided by the author
No description provided by the author
NewCommonTokenStream creates a new CommonTokenStream instance using the supplied lexer to produce tokens and will pull tokens from the given lexer channel.
No description provided by the author
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
No description provided by the author
No description provided by the author
goland:noinspection GoUnusedExportedFunction.
goland:noinspection GoUnusedExportedFunction.
NewInputMisMatchException creates an exception that signifies any kind of mismatched input exceptions such as when the current input does not Match the expected token.
NewInputStream creates a new input stream from the given string.
No description provided by the author
No description provided by the author
NewInterval creates a new interval with the given start and stop values.
NewIntervalSet creates a new empty, writable, interval set.
NewIoStream creates a new input stream from the given io.Reader reader.
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewLexerChannelAction creates a channel lexer action by calling [Lexer.setChannel] with the assigned channel.
No description provided by the author
No description provided by the author
NewLexerIndexedCustomAction constructs a new indexed custom action by associating a character offset with a [LexerAction].
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewNoViableAltException creates an exception indicating that the parser could not decide which of two or more paths to take based upon the remaining input.
No description provided by the author
NewOrderedATNConfigSet creates a config set with a slightly different Hash/Equal pair for use in lexers.
No description provided by the author
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewVisitRecord returns a new VisitRecord instance from the pool if available.
No description provided by the author
No description provided by the author
PredictionModeallConfigsInRuleStopStates checks if all configurations in configs are in a [RuleStopState].
PredictionModeallSubsetsConflict determines if every alternative subset in altsets contains more than one alternative.
PredictionModeallSubsetsEqual determines if every alternative subset in altsets is equivalent.
PredictionModeGetAlts returns the complete set of represented alternatives for a collection of alternative subsets.
PredictionModegetConflictingAltSubsets gets the conflicting alt subsets from a configuration set.
PredictionModegetSingleViableAlt gets the single alternative predicted by all alternative subsets in altsets if there is one.
PredictionModeGetStateToAltMap gets a map from state to alt subset from a configuration set.
PredictionModegetUniqueAlt returns the unique alternative predicted by all alternative subsets in altsets.
PredictionModehasConfigInRuleStopState checks if any configuration in the given configs is in a [RuleStopState].
PredictionModehasConflictingAltSet determines if any single alternative subset in altsets contains more than one alternative.
PredictionModehasNonConflictingAltSet determines if any single alternative subset in altsets contains exactly one alternative.
PredictionModehasSLLConflictTerminatingPrediction computes the SLL prediction termination condition.
No description provided by the author
PredictionModeresolvesToJustOneViableAlt checks full LL prediction termination.
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
No description provided by the author
No description provided by the author
goland:noinspection GoUnusedExportedFunction.
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
goland:noinspection GoUnusedExportedFunction.
goland:noinspection GoUnusedExportedFunction.
TreesgetAncestors returns a list of all ancestors of this node.
TreesGetChildren returns am ordered list of all children of this node
goland:noinspection GoUnusedExportedFunction.
No description provided by the author
TreesStringTree prints out a whole tree in LISP form.
WithLexerATNSimulatorDebug sets the global flag indicating whether to log debug information from the lexer [ATN] simulator.
WithLexerATNSimulatorDFADebug sets the global flag indicating whether to log debug information from the lexer [ATN] [DFA] simulator.
WithLRLoopEntryBranchOpt sets the global flag indicating whether let recursive loop operations should be optimized or not.
WithMemoryManager sets the global flag indicating whether to use the memory manager or not.
WithParserATNSimulatorDebug sets the global flag indicating whether to log debug information from the parser [ATN] simulator.
WithParserATNSimulatorDFADebug sets the global flag indicating whether to log debug information from the parser [ATN] [DFA] simulator.
WithParserATNSimulatorRetryDebug sets the global flag indicating whether to log debug information from the parser [ATN] [DFA] simulator when retrying a decision.
WithParserATNSimulatorTraceATNSim sets the global flag indicating whether to log trace information from the parser [ATN] simulator [DFA].
WithStatsTraceStacks sets the global flag indicating whether to collect stack traces at the create-point of certain structs, such as collections, or the use point of certain methods such as Put().
No description provided by the author