Exemplo n.º 1
0
 /**
  * <summary> Basic constructor for a ParseTree. Initializes the root node with the input.</summary>
  * <param name="root">Root node of the tree</param>
  */
 public ParseTree(ParseNode root)
 {
     this.root = root;
 }
Exemplo n.º 2
0
 /**
  * <summary> Empty constructor for ParseTree. Initializes the root node to null.</summary>
  */
 public ParseTree()
 {
     root = null;
 }