visitTerminalSymbol<E> method

  1. @override
void visitTerminalSymbol<E>(
  1. TerminalSymbol<E> node
)
override

Implementation

@override
void visitTerminalSymbol<E>(TerminalSymbol<E> node) {
  final expression = node.expression;
  final rule = expression.rule!;
  _addTerminals(node, [rule as TerminalRule]);
}