public void addSyntheticRule ( ExecutableElement reducer , String nonterminal , String ... rhs ) { addRule ( reducer , nonterminal , "" , true , Arrays . asList ( rhs ) ) ; }
Adds new rule if the same rule doesn t exist already . Rhs is added as - is . Sequences choices or quantifiers are not parsed .