add size()

This commit is contained in:
ChUrl
2020-12-11 17:29:28 +01:00
parent f54dc717e7
commit 88aeacad35
2 changed files with 34 additions and 16 deletions

View File

@ -14,6 +14,10 @@ public class AST {
return this.root;
}
public long size() {
return this.root.size();
}
@Override
public boolean equals(Object obj) {
if (obj instanceof AST) {