visitNonterminalSymbol<E> method

  1. @override
void visitNonterminalSymbol<E>(
  1. NonterminalSymbol<E> node
)
override

Implementation

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