check<E> method

void check<E>(
  1. Grammar<E> grammar
)

Implementation

void check<E>(Grammar<E> grammar) {
  _processed = {};
  final start = grammar.start;
  final expression = start.expression;
  expression.accept(this);
}