Home
last modified time | relevance | path

Searched refs:targetState (Results 1 – 17 of 17) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/analysis/
DMachineProbe.java48 List<DFAState> getAnyDFAPathToTarget(DFAState targetState) { in getAnyDFAPathToTarget() argument
50 return getAnyDFAPathToTarget(dfa.startState, targetState, visited); in getAnyDFAPathToTarget()
54 DFAState targetState, Set<DFAState> visited) { in getAnyDFAPathToTarget() argument
57 if (startState.equals(targetState)) { in getAnyDFAPathToTarget()
58 dfaStates.add(targetState); in getAnyDFAPathToTarget()
67 (DFAState) e.target, targetState, visited); in getAnyDFAPathToTarget()
79 public List<IntSet> getEdgeLabels(DFAState targetState) { in getEdgeLabels() argument
80 List<DFAState> dfaStates = getAnyDFAPathToTarget(targetState); in getEdgeLabels()
DDecisionProbe.java257 public List<Integer> getNonDeterministicAltsForState(DFAState targetState) { in getNonDeterministicAltsForState() argument
258 Set<Integer> nondetAlts = targetState.getNonDeterministicAlts(); in getNonDeterministicAltsForState()
298 public List<Label> getSampleNonDeterministicInputSequence(DFAState targetState) { in getSampleNonDeterministicInputSequence() argument
299 Set<DFAState> dfaStates = getDFAPathStatesToTarget(targetState); in getSampleNonDeterministicInputSequence()
306 targetState, in getSampleNonDeterministicInputSequence()
705 DFAState targetState, in reachesState() argument
707 if ( startState==targetState ) { in reachesState()
708 states.add(targetState); in reachesState()
736 if ( reachesState(edgeTarget, targetState, states) ) { in reachesState()
747 protected Set<DFAState> getDFAPathStatesToTarget(DFAState targetState) { in getDFAPathStatesToTarget() argument
[all …]
DNFAToDFAConverter.java306 DFAState targetState = addDFAStateToWorkList(t); in findNewDFAStatesAndAddDFATransitions() local
309 addTransition(d, label, targetState, targetToLabelMap); in findNewDFAStatesAndAddDFATransitions()
315 targetState.setLookaheadDepth(d.getLookaheadDepth() + 1); in findNewDFAStatesAndAddDFATransitions()
410 DFAState targetState, in addTransition() argument
417 Integer tI = Utils.integer(targetState.stateNumber); in addTransition()
440 int transitionIndex = d.addTransition(targetState, label); in addTransition()
448 d.addTransition(targetState, label); in addTransition()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg880 dfaEdge(labelExpr, targetState, predicates) ::= <<
882 <targetState>
924 dfaEdgeSwitch(labels, targetState) ::= <<
926 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg909 dfaEdge(labelExpr, targetState, predicates) ::= <<
911 <targetState>
957 dfaEdgeSwitch(labels, targetState) ::= <<
958 case [<labels:{ <it> }; separator=", ">] { <targetState> }
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DPython3.stg1035 dfaEdge(labelExpr, targetState, predicates) ::= <<
1037 <targetState>
1080 dfaEdgeSwitch(labels, targetState) ::= <<
1082 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg823 dfaEdge(labelExpr, targetState, predicates) ::= <<
825 <targetState>
867 dfaEdgeSwitch(labels, targetState) ::= <<
868 when <labels:{it | <it>}; separator=", "> then <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg938 dfaEdge(labelExpr, targetState, predicates) ::= <<
940 <targetState>
981 dfaEdgeSwitch(labels, targetState) ::= <<
984 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg994 dfaEdge(labelExpr, targetState, predicates) ::= <<
996 <targetState>
1038 dfaEdgeSwitch(labels, targetState) ::= <<
1041 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg895 dfaEdge(labelExpr, targetState, predicates) ::= <<
897 <targetState>
937 dfaEdgeSwitch(labels, targetState) ::= <<
940 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg1028 dfaEdge(labelExpr, targetState, predicates) ::= <<
1030 <targetState>
1073 dfaEdgeSwitch(labels, targetState) ::= <<
1075 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg1210 dfaEdge(labelExpr, targetState, predicates) ::= <<
1213 <targetState>
1261 dfaEdgeSwitch(labels, targetState) ::= <<
1264 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg1233 dfaEdge(labelExpr, targetState, predicates) ::= <<
1236 <targetState>
1284 dfaEdgeSwitch(labels, targetState) ::= <<
1287 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg1287 dfaEdge(labelExpr, targetState, predicates) ::= <<
1290 <targetState>
1331 dfaEdgeSwitch(labels, targetState) ::= <<
1334 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg1437 dfaEdge(labelExpr, targetState, predicates) ::= <<
1439 <targetState>
1482 dfaEdgeSwitch(labels, targetState) ::= <<
1485 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg1933 dfaEdge(labelExpr, targetState, predicates) ::= <<
1936 <targetState>
1980 dfaEdgeSwitch(labels, targetState) ::= <<
1983 <targetState>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg2398 dfaEdge(labelExpr, targetState, predicates) ::= <<
2401 <targetState>
2445 dfaEdgeSwitch(labels, targetState) ::= <<
2448 <targetState>