visitTerminal method

  1. @override
void visitTerminal(
  1. TerminalExpression node
)
override

Implementation

@override
void visitTerminal(TerminalExpression node) {
  final rule = node.expression!.rule!;
  final child = rule.expression;
  _addCharacters(node, child.startCharacters);
}