toInfoString method

String toInfoString(
  1. Parser recognizer
)
inherited

Used for rule context info debugging during parse-time, not so much for ATN debugging */

Implementation

String toInfoString(Parser recognizer) {
  final rules = recognizer.getRuleInvocationStack(this);

  return "ParserRuleContext${rules.reversed}{start=$start, stop=$stop}'";
}