Lines Matching defs:rule
65 for (const Rule& rule : rules) {
66 AddRule(rule);
209 worklist.push_back(Item{top_level.rule(0), 0, 0, 0});
240 // 'Predict' phase: Add items for every rule of the non-terminal.
246 Rule* rule = next->rule(i);
248 processed->find(Item{rule, rule->right().size(), pos, pos});
260 worklist.push_back(Item{rule, 0, pos, pos});
269 processed->find(Item{top_level.rule(0), 1, 0, input_length});
271 // Success: The {top_level} rule matches the complete input.