llDecisions property

List<int> llDecisions

Gets the decision numbers for decisions that required one or more full-context predictions during parsing. These are decisions for which {@link DecisionInfo#LL_Fallback} is non-zero.

@return A list of decision numbers which required one or more full-context predictions during parsing.

Implementation

List<int> get llDecisions {
  final decisions = atnSimulator.decisionInfo;
  final LL = <int>[];
  for (var i = 0; i < decisions.length; i++) {
    final fallBack = decisions[i].LL_Fallback;
    if (fallBack > 0) LL.add(i);
  }
  return LL;
}