public CollectionSizeNode(int collectionIndex, NodeContext context)
 {
     this.Context = (NodeContext) context.Clone();
     this.collectionIndex = collectionIndex;
 }
Ejemplo n.º 2
0
 public DivideNode(NodeContext context, INode numerator, INode denomiator)
 {
     this.context = (NodeContext) context.Clone();
     this.numerator = (INode) numerator.Clone();
     this.denomiator = (INode) denomiator.Clone();
 }
Ejemplo n.º 3
0
 public SumNode(NodeContext context, int collectionIndex, INode sumFunction)
 {
     this.Context = (NodeContext) context.Clone();
     this.collectionIndex = collectionIndex;
     this.sumFunction = (INode) sumFunction.Clone();
 }
Ejemplo n.º 4
0
 public SubtractNode(NodeContext context, INode left, INode right)
 {
     this.context = (NodeContext) context.Clone();
     this.left = (INode) left.Clone();
     this.right = (INode) right.Clone();
 }
Ejemplo n.º 5
0
 public AddNode(NodeContext context, INode right, INode left)
 {
     this.context = (NodeContext) context.Clone();
     this.right = (INode) right.Clone();
     this.left = (INode) left.Clone();
 }
Ejemplo n.º 6
0
 public MultiplyNode(NodeContext context, INode left, INode right)
 {
     this.context = (NodeContext) context.Clone();
     this.left = (INode) left.Clone();
     this.right = (INode) right.Clone();
 }
Ejemplo n.º 7
0
 public ConstantNode(NodeContext context, double constant)
 {
     this.context = (NodeContext) context.Clone();
     this.constant = constant;
 }