dfaSize property

int dfaSize

Gets the total number of DFA states stored in the DFA cache for all decisions in the ATN.

Implementation

int get dfaSize {
  var n = 0;
  final decisionToDFA = atnSimulator.decisionToDFA;
  for (var i = 0; i < decisionToDFA.length; i++) {
    n += getDFASizeAt(i);
  }
  return n;
}