Searched refs:numAlts (Results 1 – 5 of 5) sorted by relevance
298 int numAlts = countAltsForBlock($start);302 if ( forceParens||numAlts>1 )317 EOB {if ( forceParens||numAlts>1 ) out(")");}
56 public int numAlts; // how many alts for this rule total?142 @init{boolean lr=false; this.numAlts = $start.getChildCount();}
229 int numAlts = countAltsForRule($start);230 grammar.defineRule($id.getToken(), $modifier.mod, opts, $start, $args, numAlts);
1141 int numAlts = getNumberOfAltsForDecisionNFA(decisionStartState); in createLL_1_LookaheadDFA() local1142 LookaheadSet[] altLook = new LookaheadSet[numAlts+1]; in createLL_1_LookaheadDFA()1143 for (int alt = 1; alt <= numAlts; alt++) { in createLL_1_LookaheadDFA()1156 for (int i = 1; i <= numAlts; i++) { in createLL_1_LookaheadDFA()1157 for (int j = i+1; j <= numAlts; j++) { in createLL_1_LookaheadDFA()1416 int numAlts) in defineRule() argument1433 Rule r = new Rule(this, ruleName, composite.ruleIndex, numAlts); in defineRule()
311 return numAlts-alt+1; in precedence()