parseInfo property

  1. @override
ParseInfo? get parseInfo
inherited

If profiling during the parse/lex, this will return DecisionInfo records for each decision in recognizer in a ParseInfo object.

@since 4.3

Implementation

@override
ParseInfo? get parseInfo {
  final interp = interpreter;
  if (interp is ProfilingATNSimulator) {
    return ParseInfo(interp);
  }
  return null;
}