Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public ParseTable(Parse theParse)
 {
     if (theParse == null) throw new FitFailureException("No embedded table.");
     myParse = theParse;
     myHashCode = myParse.ToString().GetHashCode();
 }
Exemplo n.º 3
0
 public ParseTree(Parse theParse)
 {
     myParse = theParse;
     myHashCode = myParse.ToString().GetHashCode();
 }