/external/antlr/tool/src/main/java/org/antlr/analysis/ |
D | MachineProbe.java | 48 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()
|
D | DecisionProbe.java | 257 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 …]
|
D | NFAToDFAConverter.java | 306 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/ |
D | JavaScript.stg | 880 dfaEdge(labelExpr, targetState, predicates) ::= << 882 <targetState> 924 dfaEdgeSwitch(labels, targetState) ::= << 926 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | Perl5.stg | 909 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/ |
D | Python3.stg | 1035 dfaEdge(labelExpr, targetState, predicates) ::= << 1037 <targetState> 1080 dfaEdgeSwitch(labels, targetState) ::= << 1082 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
D | Ruby.stg | 823 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/ |
D | Scala.stg | 938 dfaEdge(labelExpr, targetState, predicates) ::= << 940 <targetState> 981 dfaEdgeSwitch(labels, targetState) ::= << 984 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | Java.stg | 994 dfaEdge(labelExpr, targetState, predicates) ::= << 996 <targetState> 1038 dfaEdgeSwitch(labels, targetState) ::= << 1041 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ActionScript.stg | 895 dfaEdge(labelExpr, targetState, predicates) ::= << 897 <targetState> 937 dfaEdgeSwitch(labels, targetState) ::= << 940 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | Python.stg | 1028 dfaEdge(labelExpr, targetState, predicates) ::= << 1030 <targetState> 1073 dfaEdgeSwitch(labels, targetState) ::= << 1075 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | CSharp3.stg | 1210 dfaEdge(labelExpr, targetState, predicates) ::= << 1213 <targetState> 1261 dfaEdgeSwitch(labels, targetState) ::= << 1264 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | CSharp2.stg | 1233 dfaEdge(labelExpr, targetState, predicates) ::= << 1236 <targetState> 1284 dfaEdgeSwitch(labels, targetState) ::= << 1287 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | Delphi.stg | 1287 dfaEdge(labelExpr, targetState, predicates) ::= << 1290 <targetState> 1331 dfaEdgeSwitch(labels, targetState) ::= << 1334 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ObjC.stg | 1437 dfaEdge(labelExpr, targetState, predicates) ::= << 1439 <targetState> 1482 dfaEdgeSwitch(labels, targetState) ::= << 1485 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/ |
D | Cpp.stg | 1933 dfaEdge(labelExpr, targetState, predicates) ::= << 1936 <targetState> 1980 dfaEdgeSwitch(labels, targetState) ::= << 1983 <targetState>
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | C.stg | 2398 dfaEdge(labelExpr, targetState, predicates) ::= << 2401 <targetState> 2445 dfaEdgeSwitch(labels, targetState) ::= << 2448 <targetState>
|