Method Parser.LR.Parser()->add_rule() Method add_rule void add_rule(Rule r) Description Add a rule to the grammar. Parameter r Rule to add.