Lines Matching full:decision
84 // Record a DecisionData for each decision we hit while parsing
184 descriptor.decision = decisionNumber;
195 d.decision = descriptor;
209 d.decision.maxk = Math.Max(d.decision.maxk, depth);
213 Console.WriteLine("exitDecision " + decisionNumber + " in " + d.decision.ruleName +
217 decisionEvents.Add(d); // done with decision; track all
245 d.decision.ruleName + "-" + d.decision.decision + " start index " + d.startIndex);
249 /** The parser is in a decision if the decision depth > 0. This
267 /** Track refs to lookahead if in a fixed/nonfixed decision.
276 Console.WriteLine("LT(" + i + ")=" + t + " index " + t.TokenIndex + " relative to " + d.decision.ruleName + "-" +
277 d.decision.decision + " start index " + d.startIndex);
306 /** Track backtracking decisions. You'll see a fixed or cyclic decision
311 * enter decision
317 * exit decision
327 if (e.decision.couldBacktrack)
330 e.decision.numBacktrackOccurrences++;
378 d.decision.numSemPredEvals++;
381 Console.WriteLine("eval " + predicate + " in " + d.decision.ruleName + "-" +
382 d.decision.decision);
391 //System.out.println("decision "+e.decision.decision+": k="+e.k);
392 e.decision.avgk += e.k;
408 //System.out.println("dec "+d.decision+" backtracks "+percentBacktracks*100+"%");
557 buf.Append("Number of decision events ");
569 // buf.Append("min lookahead used in a fixed lookahead decision ");
572 // buf.Append("max lookahead used in a fixed lookahead decision ");
584 // buf.Append("min lookahead used in an arbitrary lookahead decision ");
587 // buf.Append("max lookahead used in an arbitrary lookahead decision ");
663 buf.Append(s.decision);
665 buf.Append(LocationDescription(s.fileName, s.ruleName, s.line, s.pos)); // decision number
769 public int decision;
777 public float avgk; // avg across all decision events
783 // all about a specific exec of a single decision
786 public DecisionDescriptor decision;