resolve method

void resolve(
  1. Grammar grammar
)

Implementation

void resolve(Grammar grammar) {
  final rules = grammar.rules;
  _hasModifications = true;
  while (_hasModifications) {
    _hasModifications = false;
    for (var rule in rules) {
      final expression = rule.expression;
      expression.accept(this);
    }
  }
}