visitSubterminalSymbol<E> method

  1. @override
void visitSubterminalSymbol<E>(
  1. SubterminalSymbol<E> node
)
override

Implementation

@override
void visitSubterminalSymbol<E>(SubterminalSymbol<E> node) {
  _checkPlacement(node, false, [ProductionRuleKind.nonterminal], node);
  _checkPlacement(node, true,
      [ProductionRuleKind.subterminal, ProductionRuleKind.terminal], node);
  _visitSymbol(node);
}