Searched refs:numAlts (Results 1 – 5 of 5) sorted by relevance
299 int numAlts = countAltsForBlock($start);303 if ( forceParens||numAlts>1 )318 EOB {if ( forceParens||numAlts>1 ) out(")");}
57 public int numAlts; // how many alts for this rule total?143 @init{boolean lr=false; this.numAlts = $start.getChildCount();}
230 int numAlts = countAltsForRule($start);231 grammar.defineRule($id.getToken(), $modifier.mod, opts, $start, $args, numAlts);
1182 int numAlts = getNumberOfAltsForDecisionNFA(decisionStartState); in createLL_1_LookaheadDFA() local1183 LookaheadSet[] altLook = new LookaheadSet[numAlts+1]; in createLL_1_LookaheadDFA()1184 for (int alt = 1; alt <= numAlts; alt++) { in createLL_1_LookaheadDFA()1197 for (int i = 1; i <= numAlts; i++) { in createLL_1_LookaheadDFA()1198 for (int j = i+1; j <= numAlts; j++) { in createLL_1_LookaheadDFA()1457 int numAlts) in defineRule() argument1474 Rule r = new Rule(this, ruleName, composite.ruleIndex, numAlts); in defineRule()
312 return numAlts-alt+1; in precedence()