Uses of Class
org.antlr.v4.runtime.atn.ATNState
-
Packages that use ATNState Package Description org.antlr.v4.analysis org.antlr.v4.automata org.antlr.v4.codegen.model org.antlr.v4.runtime org.antlr.v4.runtime.atn org.antlr.v4.tool org.antlr.v4.tool.ast -
-
Uses of ATNState in org.antlr.v4.analysis
Methods in org.antlr.v4.analysis with parameters of type ATNState Modifier and Type Method Description boolean
LeftRecursionDetector. check(Rule enclosingRule, ATNState s, Set<ATNState> visitedStates)
From state s, look for any transition to a rule that is currently being traced.Method parameters in org.antlr.v4.analysis with type arguments of type ATNState Modifier and Type Method Description boolean
LeftRecursionDetector. check(Rule enclosingRule, ATNState s, Set<ATNState> visitedStates)
From state s, look for any transition to a rule that is currently being traced. -
Uses of ATNState in org.antlr.v4.automata
Fields in org.antlr.v4.automata declared as ATNState Modifier and Type Field Description ATNState
ATNFactory.Handle. left
ATNState
ATNFactory.Handle. right
Fields in org.antlr.v4.automata with type parameters of type ATNState Modifier and Type Field Description protected List<Triple<Rule,ATNState,ATNState>>
ParserATNFactory. preventEpsilonClosureBlocks
protected List<Triple<Rule,ATNState,ATNState>>
ParserATNFactory. preventEpsilonClosureBlocks
protected List<Triple<Rule,ATNState,ATNState>>
ParserATNFactory. preventEpsilonOptionalBlocks
protected List<Triple<Rule,ATNState,ATNState>>
ParserATNFactory. preventEpsilonOptionalBlocks
Methods in org.antlr.v4.automata with type parameters of type ATNState Modifier and Type Method Description <T extends ATNState>
TParserATNFactory. newState(Class<T> nodeType, GrammarAST node)
Methods in org.antlr.v4.automata that return ATNState Modifier and Type Method Description ATNState
ATNFactory. newState()
ATNState
ParserATNFactory. newState()
ATNState
ParserATNFactory. newState(GrammarAST node)
Methods in org.antlr.v4.automata with parameters of type ATNState Modifier and Type Method Description void
ParserATNFactory. addFollowLink(int ruleIndex, ATNState right)
protected void
ParserATNFactory. epsilon(ATNState a, ATNState b)
protected void
ParserATNFactory. epsilon(ATNState a, ATNState b, boolean prepend)
void
ATNVisitor. visit(ATNState s)
void
ATNVisitor. visit_(ATNState s, Set<Integer> visited)
void
ATNVisitor. visitState(ATNState s)
void
TailEpsilonRemover. visitState(ATNState p)
Constructors in org.antlr.v4.automata with parameters of type ATNState Constructor Description ATNPrinter(Grammar g, ATNState start)
Handle(ATNState left, ATNState right)
-
Uses of ATNState in org.antlr.v4.codegen.model
Fields in org.antlr.v4.codegen.model declared as ATNState Modifier and Type Field Description ATNState
RuleFunction. startState
-
Uses of ATNState in org.antlr.v4.runtime
Methods in org.antlr.v4.runtime that return ATNState Modifier and Type Method Description protected ATNState
ParserInterpreter. getATNState()
Methods in org.antlr.v4.runtime with parameters of type ATNState Modifier and Type Method Description protected void
ParserInterpreter. visitRuleStopState(ATNState p)
protected void
ParserInterpreter. visitState(ATNState p)
-
Uses of ATNState in org.antlr.v4.runtime.atn
Subclasses of ATNState in org.antlr.v4.runtime.atn Modifier and Type Class Description class
BasicBlockStartState
class
BasicState
class
BlockEndState
Terminal node of a simple(a|b|c)
block.class
BlockStartState
The start of a regular(...)
block.class
DecisionState
class
LoopEndState
Mark the end of a * or + loop.class
PlusBlockStartState
Start of(A|B|...)+
loop.class
PlusLoopbackState
Decision state forA+
and(A|B)+
.class
RuleStartState
class
RuleStopState
The last node in the ATN for a rule, unless that rule is the start symbol.class
StarBlockStartState
The block that begins a closure loop.class
StarLoopbackState
class
StarLoopEntryState
class
TokensStartState
The Tokens rule start state linking to each lexer rule start stateFields in org.antlr.v4.runtime.atn declared as ATNState Modifier and Type Field Description ATNState
RuleTransition. followState
What node to begin computations following ref to ruleATNState
LoopEndState. loopBackState
ATNState
ATNConfig. state
The ATN state associated with this configurationATNState
Transition. target
The target of this transition.Fields in org.antlr.v4.runtime.atn with type parameters of type ATNState Modifier and Type Field Description List<ATNState>
ATN. states
Methods in org.antlr.v4.runtime.atn that return ATNState Modifier and Type Method Description protected ATNState
LexerATNSimulator. getReachableTarget(Transition trans, int t)
protected ATNState
ParserATNSimulator. getReachableTarget(Transition trans, int ttype)
protected ATNState
ATNDeserializer. stateFactory(int type, int ruleIndex)
static ATNState
ATNSimulator. stateFactory(int type, int ruleIndex)
Deprecated.UseATNDeserializer.stateFactory(int, int)
instead.Methods in org.antlr.v4.runtime.atn that return types with arguments of type ATNState Modifier and Type Method Description Set<ATNState>
ATNConfigSet. getStates()
static Map<ATNState,BitSet>
PredictionMode. getStateToAltMap(ATNConfigSet configs)
Get a map from state to alt subset from a configuration set.Methods in org.antlr.v4.runtime.atn with parameters of type ATNState Modifier and Type Method Description protected void
LL1Analyzer. _LOOK(ATNState s, ATNState stopState, PredictionContext ctx, IntervalSet look, Set<ATNConfig> lookBusy, BitSet calledRuleStack, boolean seeThruPreds, boolean addEOF)
Compute set of tokens that can follows
in the ATN in the specifiedctx
.void
ATN. addState(ATNState state)
protected ATNConfigSet
LexerATNSimulator. computeStartState(CharStream input, ATNState p)
protected ATNConfigSet
ParserATNSimulator. computeStartState(ATNState p, RuleContext ctx, boolean fullCtx)
static Transition
CodePointTransitions. createWithCodePoint(ATNState target, int codePoint)
IfcodePoint
is <= U+FFFF, returns a newAtomTransition
.static Transition
CodePointTransitions. createWithCodePointRange(ATNState target, int codePointFrom, int codePointTo)
IntervalSet[]
LL1Analyzer. getDecisionLookahead(ATNState s)
Calculates the SLL(1) expected lookahead set for each outgoing transition of anATNState
.IntervalSet
LL1Analyzer. LOOK(ATNState s, ATNState stopState, RuleContext ctx)
Compute set of tokens that can follows
in the ATN in the specifiedctx
.IntervalSet
LL1Analyzer. LOOK(ATNState s, RuleContext ctx)
Compute set of tokens that can follows
in the ATN in the specifiedctx
.IntervalSet
ATN. nextTokens(ATNState s)
Compute the set of valid tokens that can occur starting ins
and staying in same rule.IntervalSet
ATN. nextTokens(ATNState s, RuleContext ctx)
Compute the set of valid tokens that can occur starting in states
.void
ATN. removeState(ATNState state)
-
Uses of ATNState in org.antlr.v4.tool
Methods in org.antlr.v4.tool with parameters of type ATNState Modifier and Type Method Description String
DOTGenerator. getDOT(ATNState startState)
String
DOTGenerator. getDOT(ATNState startState, boolean isLexer)
String
DOTGenerator. getDOT(ATNState startState, String[] ruleNames, boolean isLexer)
Return a String containing a DOT description that, when displayed, will show the incoming state machine visually.protected String
DOTGenerator. getStateLabel(ATNState s)
-
Uses of ATNState in org.antlr.v4.tool.ast
Fields in org.antlr.v4.tool.ast declared as ATNState Modifier and Type Field Description ATNState
GrammarAST. atnState
If we build an ATN, we make AST node point at left edge of ATN construct
-