Uses of Class
org.antlr.analysis.State
-
Packages that use State Package Description org.antlr.analysis org.antlr.tool -
-
Uses of State in org.antlr.analysis
Subclasses of State in org.antlr.analysis Modifier and Type Class Description classDFAStateA DFA state represents a set of possible NFA configurations.classNFAStateA state within an NFA.Fields in org.antlr.analysis declared as State Modifier and Type Field Description StateTransition. targetThe target of this transitionMethods in org.antlr.analysis with parameters of type State Modifier and Type Method Description protected voidDecisionProbe. getSampleInputSequenceUsingStateSet(State startState, State targetState, java.util.Set<DFAState> states, java.util.List<Label> labels)Given a start state and a final state, find a list of edge labels between the two ignoring epsilon.Constructors in org.antlr.analysis with parameters of type State Constructor Description Transition(int label, State target)Transition(Label label, State target) -
Uses of State in org.antlr.tool
Fields in org.antlr.tool with type parameters of type State Modifier and Type Field Description protected java.util.Set<State>FASerializer. markedStatesTo prevent infinite recursion when walking state machines, record which states we've visited.protected java.util.Map<State,java.lang.Integer>FASerializer. stateNumberTranslatorRather than add a new instance variable to NFA and DFA just for serializing machines, map old state numbers to new state numbers by a State object → Integer new state number HashMap.Methods in org.antlr.tool with parameters of type State Modifier and Type Method Description protected IntSetNFAFactory. getCollapsedBlockAsSet(State blk)Given a collapsed block of alts (a set of atoms), pull out the set and return it.java.lang.StringDOTGenerator. getDOT(State startState)Return a String containing a DOT description that, when displayed, will show the incoming state machine visually.protected java.lang.StringDOTGenerator. getStateLabel(State s)private java.lang.StringFASerializer. getStateString(int n, State s)java.lang.StringFASerializer. serialize(State s)java.lang.StringFASerializer. serialize(State s, boolean renumber)Return a string representation of a state machine.protected voidFASerializer. walkFANormalizingStateNumbers(State s)In stateNumberTranslator, get a map from State to new, normalized state number.protected voidDOTGenerator. walkRuleNFACreatingDOT(org.stringtemplate.v4.ST dot, State s)Do a depth-first walk of the state machine graph and fill a DOT description template.protected voidFASerializer. walkSerializingFA(java.util.List<java.lang.String> lines, State s)
-