Example #1
0
 public ParseTree(Parse theParse) {
     tree = new ListTree(GetTitle(theParse));
     for (Parse child = Root(theParse).Parts; child != null; child = child.More) {
         tree.AddChild(new ParseTree(child));
     }
     myHashCode = theParse.ToString().GetHashCode();
 }
Example #2
0
 public ParseTable(Parse theParse)
 {
     if (theParse == null) throw new FitFailureException("No embedded table.");
     myParse = theParse;
     myHashCode = myParse.ToString().GetHashCode();
 }
Example #3
0
 public ParseTree(Parse theParse)
 {
     myParse = theParse;
     myHashCode = myParse.ToString().GetHashCode();
 }