Home
last modified time | relevance | path

Searched refs:decisionStartState (Results 1 – 4 of 4) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/analysis/
DLL1DFA.java53 public LL1DFA(int decisionNumber, NFAState decisionStartState, LookaheadSet[] altLook) { in LL1DFA() argument
56 nfa = decisionStartState.nfa; in LL1DFA()
57 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in LL1DFA()
59 this.decisionNFAStartState = decisionStartState; in LL1DFA()
78 NFAState decisionStartState, in LL1DFA() argument
83 nfa = decisionStartState.nfa; in LL1DFA()
84 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in LL1DFA()
86 this.decisionNFAStartState = decisionStartState; in LL1DFA()
132 getSynPredForAlt(decisionStartState, alt); in LL1DFA()
155 protected SemanticContext.Predicate getSynPredForAlt(NFAState decisionStartState, in getSynPredForAlt() argument
[all …]
DNFAConversionThread.java52 NFAState decisionStartState = grammar.getDecisionNFAStartState(decision); in run() local
53 if ( decisionStartState.getNumberOfTransitions()>1 ) { in run()
DDFA.java226 public DFA(int decisionNumber, NFAState decisionStartState) { in DFA() argument
228 this.decisionNFAStartState = decisionStartState; in DFA()
229 nfa = decisionStartState.nfa; in DFA()
230 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in DFA()
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammar.java1093 NFAState decisionStartState = getDecisionNFAStartState(decision); in createLookaheadDFAs() local
1094 if ( leftRecursiveRules.contains(decisionStartState.enclosingRule) ) { in createLookaheadDFAs()
1098 " within left-recursive rule "+decisionStartState.enclosingRule.name); in createLookaheadDFAs()
1102 if ( !externalAnalysisAbort && decisionStartState.getNumberOfTransitions()>1 ) { in createLookaheadDFAs()
1103 Rule r = decisionStartState.enclosingRule; in createLookaheadDFAs()
1169 NFAState decisionStartState = getDecisionNFAStartState(decision); in createLL_1_LookaheadDFA() local
1173 +decisionStartState.getDecisionNumber()+") for "+ in createLL_1_LookaheadDFA()
1174 decisionStartState.getDescription()); in createLL_1_LookaheadDFA()
1182 int numAlts = getNumberOfAltsForDecisionNFA(decisionStartState); in createLL_1_LookaheadDFA()
1186 decisionStartState.translateDisplayAltToWalkAlt(alt); in createLL_1_LookaheadDFA()
[all …]