public Operation(String value, Node left, Node right)
 {
     ValueOperation = value;
     Left = left;
     Right = right;
 }
Example #2
0
 /// <summary>
 /// Parse tree.
 /// </summary>
 /// <param name="input">String that contains the tree.</param>
 public void Parse(string input)
 {
     int i = 0;
     this.root = TreeConstruction(input, ref i);
 }