Changeset 5733 for branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tests
- Timestamp:
- 03/17/11 14:07:47 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tests/SymbolicExpressionImporter.cs
r5574 r5733 76 76 } else { 77 77 // only a main branch was given => insert the main branch into the default tree template 78 root.AddSub Tree(start);79 start.AddSub Tree(mainBranch);78 root.AddSubtree(start); 79 start.AddSubtree(mainBranch); 80 80 } 81 81 return new SymbolicExpressionTree(root); … … 99 99 tree = ParseDefun(tokens); 100 100 while (!tokens.Peek().Equals(Token.RPAR)) { 101 tree.AddSub Tree(ParseSexp(tokens));101 tree.AddSubtree(ParseSexp(tokens)); 102 102 } 103 103 } else if (tokens.Peek().StringValue.StartsWith(ARGSTART)) { … … 106 106 tree = ParseInvoke(tokens); 107 107 while (!tokens.Peek().Equals(Token.RPAR)) { 108 tree.AddSub Tree(ParseSexp(tokens));108 tree.AddSubtree(ParseSexp(tokens)); 109 109 } 110 110 } else { … … 112 112 tree = CreateTree(curToken); 113 113 while (!tokens.Peek().Equals(Token.RPAR)) { 114 tree.AddSub Tree(ParseSexp(tokens));114 tree.AddSubtree(ParseSexp(tokens)); 115 115 } 116 116 }
Note: See TracChangeset
for help on using the changeset viewer.