/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
D | MachineProbe.java | 50 return getAnyDFAPathToTarget(dfa.startState, targetState, visited); in getAnyDFAPathToTarget() 53 public List<DFAState> getAnyDFAPathToTarget(DFAState startState, in getAnyDFAPathToTarget() argument 56 visited.add(startState); in getAnyDFAPathToTarget() 57 if (startState.equals(targetState)) { in getAnyDFAPathToTarget() 63 for (int i = 0; i < startState.getNumberOfTransitions(); i++) { in getAnyDFAPathToTarget() 64 Transition e = startState.getTransition(i); in getAnyDFAPathToTarget() 69 dfaStates.add(startState); in getAnyDFAPathToTarget()
|
D | DecisionProbe.java | 305 if ( dfa==null || dfa.startState==null ) { in getSampleNonDeterministicInputSequence() 308 getSampleInputSequenceUsingStateSet(dfa.startState, in getSampleNonDeterministicInputSequence() 710 protected boolean reachesState(DFAState startState, in reachesState() argument 713 if ( startState==targetState ) { in reachesState() 716 stateReachable.put(startState.stateNumber, REACHABLE_YES); in reachesState() 720 DFAState s = startState; in reachesState() 756 if ( dfa==null || dfa.startState==null ) { in getDFAPathStatesToTarget() 759 boolean reaches = reachesState(dfa.startState, targetState, dfaStates); in getDFAPathStatesToTarget() 772 protected void getSampleInputSequenceUsingStateSet(State startState, in getSampleInputSequenceUsingStateSet() argument 777 statesVisitedDuringSampleSequence.add(startState.stateNumber); in getSampleInputSequenceUsingStateSet() [all …]
|
D | DFA.java | 68 public DFAState startState; field in DFA 751 NFAState TokensRuleStart = r.startState; 782 return _getMaxLookaheadDepth(startState, 0); 817 boolean has = _hasSynPred(startState, new HashSet<DFAState>()); 849 boolean has = _hasSemPred(startState, new HashSet<DFAState>()); 870 boolean cyclic = _hasCycle(startState, new HashMap<DFAState, Integer>()); 910 doesStateReachAcceptState(startState); 1107 if ( startState==null ) { 1110 return serializer.serialize(startState, false);
|
D | DFAOptimizer.java | 164 optimizeExitBranches(dfa.startState); in optimize() 173 optimizeEOTBranches(dfa.startState); in optimize()
|
D | NFAToDFAConverter.java | 80 dfa.startState = computeStartState(); in convert() 141 DFAState startState = dfa.newState(); in computeStartState() local 163 startState, in computeStartState() local 173 startState, in computeStartState() local 190 dfa.addState(startState); // make sure dfa knows about this state in computeStartState() 191 work.add(startState); in computeStartState() 193 return startState; in computeStartState()
|
D | LL1DFA.java | 53 startState = s0; in LL1DFA() 79 startState = s0; in LL1DFA()
|
/external/svox/pico/lib/ |
D | picokfst.c | 342 extern void picokfst_kfstGetTrans (picokfst_FST this, picokfst_state_t startState, picokfst_class_t… in picokfst_kfstGetTrans() argument 351 …if ((startState < 1) || (startState > fst->nrStates) || (transClass < 1) || (transClass > fst->nrC… in picokfst_kfstGetTrans() 354 index = (startState - 1) * fst->nrClasses + transClass - 1; in picokfst_kfstGetTrans() 363 extern void picokfst_kfstStartInEpsTransSearch (picokfst_FST this, picokfst_state_t startState, in picokfst_kfstStartInEpsTransSearch() argument 373 if ((startState > 0) && (startState <= fst->nrStates)) { in picokfst_kfstStartInEpsTransSearch() 374 pos = fst->inEpsStateTabPos + (startState - 1) * 4; in picokfst_kfstStartInEpsTransSearch()
|
D | picokfst.h | 135 void picokfst_kfstGetTrans (picokfst_FST this, picokfst_state_t startState, picokfst_class_t transC… 144 void picokfst_kfstStartInEpsTransSearch (picokfst_FST this, picokfst_state_t startState,
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | DOTGenerator.java | 67 public String getDOT(State startState) { in getDOT() argument 68 if ( startState==null ) { in getDOT() 74 if ( startState instanceof DFAState ) { in getDOT() 77 Utils.integer(startState.stateNumber)); in getDOT() 80 walkCreatingDFADOT(dot, (DFAState)startState); in getDOT() 85 Utils.integer(startState.stateNumber)); in getDOT() 86 walkRuleNFACreatingDOT(dot, startState); in getDOT()
|
D | Grammar.java | 157 public NFAState startState; field in Grammar.Decision 981 r.startState = ruleBeginState; in createRuleStartAndStopNFAStates() 1080 if ( dfa.startState==null ) { in createLookaheadDFAs() 1087 String result = serializer.serialize(dfa.startState); in createLookaheadDFAs() 1126 String enclosingRule = d.startState.enclosingRule.name; in createLL_1_LookaheadDFA() 1127 Rule r = d.startState.enclosingRule; in createLL_1_LookaheadDFA() 1301 String enclosingRule = d.startState.enclosingRule.name; in createLookaheadDFA() 1302 Rule r = d.startState.enclosingRule; in createLookaheadDFA() 2717 return r.startState; in getRuleStartState() 2775 states.add(dec.startState); in getDecisionNFAStartStateList() [all …]
|
D | GrammarSanity.java | 68 traceStatesLookingForLeftRecursion(r.startState, in checkAllRulesForLeftRecursion()
|
D | Interpreter.java | 396 DFAState s = dfa.startState; in predict()
|
D | Rule.java | 43 public NFAState startState; field in Rule
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
D | AutoEscaper.java | 106 AutoEscapeContext.AutoEscapeState startState = autoEscapeContext.getCurrentState(); in caseStart() local 112 if (!autoEscapeContext.isPermittedStateChangeForIncludes(startState, endState)) { in caseStart() 124 throw new JSilverAutoEscapingException("Template starts in context " + startState in caseStart()
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/dot/ |
D | dot.stg | 33 dfa(decisionRanks,states,edges,rankdir,startState,useBox) ::= << 42 nfa(decisionRanks,states,edges,rankdir,startState) ::= <<
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestCharDFAConversion.java | 224 String result = serializer.serialize(dfa.startState); in testLoopsWithOptimizedOutExitBranches() 527 String result = serializer.serialize(dfa.startState); in checkDecision()
|
D | TestNFAConstruction.java | 1196 State startState = g.getRuleStartState(rule); in checkRule() local 1198 String result = serializer.serialize(startState); in checkRule()
|
D | TestSemanticPredicates.java | 817 String result = serializer.serialize(dfa.startState); in checkDecision()
|
D | TestCompositeGrammars.java | 634 String result = serializer.serialize(dfa.startState); in testLexerDelegatorRuleOverridesDelegateLeavingNoRules()
|
D | TestDFAConversion.java | 1643 String result = serializer.serialize(dfa.startState); in checkDecision()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
D | ACyclicDFACodeGenerator.java | 47 return walkFixedDFAGeneratingStateMachine(templates, dfa, dfa.startState, 1); in genFixedLookaheadDecision()
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
D | CPP.stg | 1004 // startState = <dfa.startState> 1005 // startState.numberOfTransitions = <dfa.startState.NumberOfTransitions> 1006 // startState.lookaheadDepth = <dfa.startState.LookaheadDepth>
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/ |
D | Tool.java | 678 String dot = dotGenerator.getDOT(dfa.startState); in generateDFAs() 701 String dot = dotGenerator.getDOT(r.startState); in generateNFAs()
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | TreeToNFAConverter.g | 243 NFAState start = thisR.startState;
|