int k = d.dfa.getMaxLookaheadDepth(); Rule enclosingRule = d.dfa.decisionNFAStartState.enclosingRule; if ( enclosingRule.isSynPred ) continue; // don't count synpred rules
int k = d.dfa.getMaxLookaheadDepth(); Rule enclosingRule = d.dfa.decisionNFAStartState.enclosingRule; if ( enclosingRule.isSynPred ) continue; // don't count synpred rules
int k = d.dfa.getMaxLookaheadDepth(); Rule enclosingRule = d.dfa.decisionNFAStartState.enclosingRule; if ( enclosingRule.isSynPred ) continue; // don't count synpred rules
int maxk = d.dfa.getMaxLookaheadDepth(); if ( maxk==1 ) { numLL1++;
int maxk = d.dfa.getMaxLookaheadDepth();
int maxk = d.dfa.getMaxLookaheadDepth();
int maxk = d.dfa.getMaxLookaheadDepth();
retval.code.add("decision", decision); retval.code.add("decisionNumber", dfa.getDecisionNumber()); retval.code.add("maxK",dfa.getMaxLookaheadDepth()); retval.code.add("maxAlt",dfa.getNumberOfAlts());
retval.code.add("decision", decision); retval.code.add("decisionNumber", dfa.getDecisionNumber()); retval.code.add("maxK",dfa.getMaxLookaheadDepth()); retval.code.add("maxAlt",dfa.getNumberOfAlts());
code.setAttribute("decision", decision); code.setAttribute("decisionNumber", dfa.getDecisionNumber()); code.setAttribute("maxK",dfa.getMaxLookaheadDepth()); code.setAttribute("maxAlt",dfa.getNumberOfAlts());