Uses of Class
org.antlr.analysis.State
Packages that use State
-
Uses of State in org.antlr.analysis
Subclasses of State in org.antlr.analysisModifier and TypeClassDescriptionclassA DFA state represents a set of possible NFA configurations.classA state within an NFA.Fields in org.antlr.analysis declared as StateMethods in org.antlr.analysis with parameters of type StateModifier and TypeMethodDescriptionprotected voidDecisionProbe.getSampleInputSequenceUsingStateSet(State startState, State targetState, Set<DFAState> states, 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 StateModifierConstructorDescriptionTransition(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 StateModifier and TypeFieldDescriptionFASerializer.markedStatesTo prevent infinite recursion when walking state machines, record which states we've visited.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 StateModifier and TypeMethodDescriptionprotected IntSetNFAFactory.getCollapsedBlockAsSet(State blk) Given a collapsed block of alts (a set of atoms), pull out the set and return it.Return a String containing a DOT description that, when displayed, will show the incoming state machine visually.protected StringDOTGenerator.getStateLabel(State s) private StringFASerializer.getStateString(int n, State s) 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(List<String> lines, State s)