aboutsummaryrefslogtreecommitdiff
path: root/tokens.py
diff options
context:
space:
mode:
Diffstat (limited to 'tokens.py')
-rw-r--r--tokens.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tokens.py b/tokens.py
index 1f1fe1b..6e4ba86 100644
--- a/tokens.py
+++ b/tokens.py
@@ -140,3 +140,10 @@ class NebList(NebAny):
out += f"{item} "
return f"{out}]"
+class NebNil(NebList):
+ def __init__(self):
+ super().__init__([])
+
+ def __str__(self):
+ return "()"
+