public override void SempredInAlt(PredAST pred) { currentRule.DefinePredicateInAlt(currentOuterAltNumber, pred); pred.resolver = currentRule.alt[currentOuterAltNumber]; }
public PredAST(PredAST node) : base(node) { }
public virtual void DefinePredicateInAlt(int currentAlt, PredAST predAST) { actions.Add(predAST); alt[currentAlt].actions.Add(predAST); if (!g.sempreds.ContainsKey(predAST)) { g.sempreds[predAST] = g.sempreds.Count; } }