public override void ExitRules(BisonParser.RulesContext context) { rhs.RemoveAt(rhs.Count - 1); rules.Add(new Tuple <string, List <List <string> > >(lhs, rhs)); }
public override void EnterRules(BisonParser.RulesContext context) { lhs = context.GetChild(0).GetText(); }