39 public function __construct(
Tag $root,
string $name =
""){
44 public function getTag() :
Tag{
61 public function getName() : string{
65 public function equals(TreeRoot $that) : bool{
66 return $this->name === $that->name and $this->root->equals($that->root);
69 public function __toString(){
70 return "ROOT {\n " . ($this->name !==
"" ?
"\"$this->name\" => " :
"") . $this->root->toString(1) .
"\n}";