Example #1
0
 public PositiveNode(BaseNode right)
 {
     Right = right;
 }
Example #2
0
 public MinusNode(BaseNode left, BaseNode right)
 {
     Left = left;
     Right = right;
 }
Example #3
0
 //単項演算子なので、一つしか項を取らない。
 public NegativeNode(BaseNode right)
 {
     Right = right;
 }
Example #4
0
 public DivideNode(BaseNode left, BaseNode right)
 {
     Left = left;
     Right = right;
 }
Example #5
0
 public MultiplyNode(BaseNode left, BaseNode right)
 {
     Left = left;
     Right = right;
 }