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