Home
last modified time | relevance | path

Searched refs:decisionState (Results 1 – 3 of 3) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/tool/
DNFAFactory.java457 NFAState decisionState = A.left; // resuse left edge in build_Aoptional() local
458 decisionState.setDescription("only alt of ()? block"); in build_Aoptional()
466 transitionBetweenStates(decisionState, emptyAlt, Label.EPSILON); in build_Aoptional()
470 decisionState.endOfBlockStateNumber = blockEndNFAState.stateNumber; in build_Aoptional()
473 g = new StateCluster(decisionState, blockEndNFAState); in build_Aoptional()
DGrammar.java3081 public int getNumberOfAltsForDecisionNFA(NFAState decisionState) { in getNumberOfAltsForDecisionNFA() argument
3082 if ( decisionState==null ) { in getNumberOfAltsForDecisionNFA()
3086 NFAState p = decisionState; in getNumberOfAltsForDecisionNFA()
3105 public NFAState getNFAStateForAltOfDecision(NFAState decisionState, int alt) { in getNFAStateForAltOfDecision() argument
3106 if ( decisionState==null || alt<=0 ) { in getNFAStateForAltOfDecision()
3110 NFAState p = decisionState; in getNFAStateForAltOfDecision()
/external/antlr/tool/src/main/java/org/antlr/analysis/
DDecisionProbe.java895 NFAState decisionState = dfa.getNFADecisionStartState(); in getTokenNameForTokensRuleAlt() local
897 dfa.nfa.grammar.getNFAStateForAltOfDecision(decisionState,alt); in getTokenNameForTokensRuleAlt()