diff options
| author | geno <gabriele.genovese2@studio.unibo.it> | 2024-06-28 12:23:28 +0200 |
|---|---|---|
| committer | geno <gabriele.genovese2@studio.unibo.it> | 2024-06-28 12:23:28 +0200 |
| commit | 37665fb6d0bc1eb29396ae949354cf7d6f9d54ca (patch) | |
| tree | 058204d723fb31b3b30bf8d141cf621c6f42c0c6 /src/ast/nodes/AtomNode.java | |
| parent | 1d5c4862e136419ab1ed3fcf8d8edaa0ee5fda10 (diff) | |
resolving all the comments santo made
Diffstat (limited to 'src/ast/nodes/AtomNode.java')
| -rw-r--r-- | src/ast/nodes/AtomNode.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast/nodes/AtomNode.java b/src/ast/nodes/AtomNode.java index cea617f..fef72ec 100644 --- a/src/ast/nodes/AtomNode.java +++ b/src/ast/nodes/AtomNode.java @@ -20,6 +20,10 @@ public class AtomNode implements Node { this.exprlist = (TestlistCompNode) exprlist; } + /** + * Returns the identifier of the `AtomNode` if it's not `null`, otherwise + * returns `null`. + */ public String getId() { return this.val; } |