类的使用
org.antlr.analysis.State
-
使用State的程序包 程序包 说明 org.antlr.analysis org.antlr.tool -
-
org.antlr.analysis中State的使用
org.antlr.analysis中State的子类 修饰符和类型 类 说明 class
DFAState
A DFA state represents a set of possible NFA configurations.class
NFAState
A state within an NFA.声明为State的org.antlr.analysis中的字段 修饰符和类型 字段 说明 State
Transition. target
The target of this transition参数类型为State的org.antlr.analysis中的方法 修饰符和类型 方法 说明 protected void
DecisionProbe. 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.参数类型为State的org.antlr.analysis中的构造器 构造器 说明 Transition(int label, State target)
Transition(Label label, State target)
-
org.antlr.tool中State的使用
类型参数类型为State的org.antlr.tool中的字段 修饰符和类型 字段 说明 protected java.util.Set<State>
FASerializer. markedStates
To prevent infinite recursion when walking state machines, record which states we've visited.protected java.util.Map<State,java.lang.Integer>
FASerializer. stateNumberTranslator
Rather 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.参数类型为State的org.antlr.tool中的方法 修饰符和类型 方法 说明 protected IntSet
NFAFactory. getCollapsedBlockAsSet(State blk)
Given a collapsed block of alts (a set of atoms), pull out the set and return it.java.lang.String
DOTGenerator. getDOT(State startState)
Return a String containing a DOT description that, when displayed, will show the incoming state machine visually.protected java.lang.String
DOTGenerator. getStateLabel(State s)
java.lang.String
FASerializer. serialize(State s)
java.lang.String
FASerializer. serialize(State s, boolean renumber)
Return a string representation of a state machine.protected void
FASerializer. walkFANormalizingStateNumbers(State s)
In stateNumberTranslator, get a map from State to new, normalized state number.protected void
DOTGenerator. 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 void
FASerializer. walkSerializingFA(java.util.List<java.lang.String> lines, State s)
-