Top Fields Constructors Methods
org.antlr.v4.runtime.atn

public final Class StarLoopEntryState

extends DecisionState
Class Inheritance
Imports
org.antlr.v4.runtime.ParserInterpreter, org.antlr.v4.runtime.dfa.DFA, java.util.BitSet

Field Summary

Modifier and TypeField and Description
public StarLoopbackState
public BitSet
precedenceLoopbackStates

For precedence decisions, this set marks states S which have all of the following characteristics:

  • One or more invocation sites of the current rule returns to S.
  • The closure from S includes the current decision without passing through any rule invocations or stepping out of the current rule.
public boolean
precedenceRuleDecision

Indicates whether this state can benefit from a precedence DFA during SLL decision making.

Inherited from org.antlr.v4.runtime.atn.DecisionState:
decisionnonGreedysll

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int

Field Detail

loopBackStateback to summary
public StarLoopbackState loopBackState
precedenceLoopbackStatesback to summary
public BitSet precedenceLoopbackStates

For precedence decisions, this set marks states S which have all of the following characteristics:

  • One or more invocation sites of the current rule returns to S.
  • The closure from S includes the current decision without passing through any rule invocations or stepping out of the current rule.

This field is null when precedenceRuleDecision is false.

precedenceRuleDecisionback to summary
public boolean precedenceRuleDecision

Indicates whether this state can benefit from a precedence DFA during SLL decision making.

This is a computed property that is calculated during ATN deserialization and stored for use in ParserATNSimulator and ParserInterpreter.

See Also
DFA#isPrecedenceDfa()

Constructor Detail

StarLoopEntryStateback to summary
public StarLoopEntryState()

Method Detail

getStateTypeback to summary
public int getStateType()

Implements abstract org.antlr.v4.runtime.atn.ATNState.getStateType.

Annotations
@Override