コード例 #1
0
ファイル: ParseTree.cs プロジェクト: GibSral/fitsharp
 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();
 }
コード例 #2
0
ファイル: ParseTable.cs プロジェクト: vaibhavsapre/fitsharp
 public ParseTable(Parse theParse)
 {
     if (theParse == null) throw new FitFailureException("No embedded table.");
     myParse = theParse;
     myHashCode = myParse.ToString().GetHashCode();
 }
コード例 #3
0
ファイル: ParseTree.cs プロジェクト: vaibhavsapre/fitsharp
 public ParseTree(Parse theParse)
 {
     myParse = theParse;
     myHashCode = myParse.ToString().GetHashCode();
 }