Inheritance: ActionAST
Beispiel #1
0
 public override void SempredInAlt(PredAST pred)
 {
     currentRule.DefinePredicateInAlt(currentOuterAltNumber, pred);
     pred.resolver = currentRule.alt[currentOuterAltNumber];
 }
Beispiel #2
0
 public PredAST(PredAST node)
     : base(node)
 {
 }
Beispiel #3
0
 public PredAST(PredAST node)
     : base(node)
 {
 }
Beispiel #4
0
 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;
     }
 }