Lines Matching full:rule
42 For example, the grammar rule
48 Unfortunately, this grammar rule does not
55 the rule allows this input to be structured as either
78 matches the right side of the grammar rule above.
81 the input by applying this rule;
82 after applying the rule;
85 left side of the rule).
97 it could defer the immediate application of the rule, and continue reading
102 It could then apply the rule to the rightmost three symbols, reducing them to
108 Now the rule can be reduced once more; the effect is to
125 A rule describing which choice to make in a given situation is called
127 .I "disambiguating rule" .
135 grammar rule (in the input sequence).
137 Rule 1 implies that reductions are deferred whenever there is a choice,
139 Rule 2 gives the user rather crude control over the behavior of the parser
145 be done before the parser can be sure which rule is being recognized.
149 always reports the number of shift/reduce and reduce/reduce conflicts resolved by Rule 1 and Rule 2.
176 The first rule will be called the
179 rule, and the
183 rule.
218 by the simple-if rule to get
230 by the if-else rule.
241 can be reduced by the if-else rule to get
245 which can be reduced by the simple-if rule.
250 The application of disambiguating rule 1 tells the parser to shift in this case,
309 the parser reduces by grammar rule 18:
315 rule numbers.
318 file, the rule numbers are printed after those rules which can be reduced.