This commit is contained in:
ChUrl
2020-12-11 13:34:47 +01:00
parent e8d88dda40
commit 5f88a56d53
2 changed files with 17 additions and 5 deletions

View File

@ -1,5 +1,7 @@
package util.ast;
import java.util.Objects;
public class AST {
private final Node root;
@ -25,4 +27,9 @@ public class AST {
public String toString() {
return this.root.toString();
}
@Override
public int hashCode() {
return Objects.hash(this.root);
}
}