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