public override void SetChild(Net.Vpc.Upa.Expressions.Expression e, Net.Vpc.Upa.Expressions.ExpressionTag tag)
 {
     if (tag.Equals(LEFT))
     {
         this.left = e;
     }
     else if (tag.Equals(RIGHT))
     {
         this.right = e;
     }
     else
     {
         throw new System.ArgumentException("Insuppoerted");
     }
 }
Exemple #2
0
 public override void SetChild(Net.Vpc.Upa.Expressions.Expression e, Net.Vpc.Upa.Expressions.ExpressionTag tag)
 {
     if (tag.Equals(ALIAS))
     {
         this.alias = (Net.Vpc.Upa.Expressions.Var)e;
     }
 }
Exemple #3
0
 public override void SetChild(Net.Vpc.Upa.Expressions.Expression e, Net.Vpc.Upa.Expressions.ExpressionTag tag)
 {
     if (tag.Equals(PARENT))
     {
         this.applier = e;
     }
     else
     {
         throw new Net.Vpc.Upa.Exceptions.IllegalArgumentException("Not supported yet.");
     }
 }
Exemple #4
0
 public override void SetChild(Net.Vpc.Upa.Expressions.Expression e, Net.Vpc.Upa.Expressions.ExpressionTag tag)
 {
     if (tag.Equals(LEFT))
     {
         this.left = e;
     }
     else
     {
         right[((Net.Vpc.Upa.Expressions.IndexedTag)tag).GetIndex()] = e;
     }
 }
Exemple #5
0
 public override void SetChild(Net.Vpc.Upa.Expressions.Expression e, Net.Vpc.Upa.Expressions.ExpressionTag tag)
 {
     if (tag.Equals(EXPR))
     {
         this.expression = e;
     }
     else
     {
         throw new Net.Vpc.Upa.Exceptions.IllegalArgumentException("Unsupported");
     }
 }
Exemple #6
0
 public override void SetChild(Net.Vpc.Upa.Expressions.Expression e, Net.Vpc.Upa.Expressions.ExpressionTag tag)
 {
     if (tag.Equals(ENTITY))
     {
         treeTable = ((Net.Vpc.Upa.Expressions.EntityName)e).GetName();
     }
     else if (tag.Equals(VAR1))
     {
         var1 = ((Net.Vpc.Upa.Expressions.Var)e).GetName();
     }
     else if (tag.Equals(VAR2))
     {
         var2 = ((Net.Vpc.Upa.Expressions.Var)e).GetName();
     }
     else if (tag.Equals(EXPR))
     {
         expression = e;
     }
     else
     {
         throw new System.ArgumentException("Unsupported");
     }
 }