Beispiel #1
0
 public FunctionTree(string s)
 {
     s = StringRefiner.RefineFunctionString(s);
     PostfixMaker.CreatePostfixArray(s, this);
     TreeMaker.CreateFunctionTree(postfixArray, this);
     this.varList = rootNode.varList;
     //Traverse(rootNode);
 }
Beispiel #2
0
 public FunctionTree(string s)
 {
     s = StringRefiner.RefineFunctionString(s);
     PostfixMaker.CreatePostfixArray(s, this);
     TreeMaker.CreateFunctionTree(postfixArray, this);
     this.varList = rootNode.varList;
     GenerateFunctionTreeText(funcTreeTextStyle);
 }