aboutsummaryrefslogtreecommitdiff
path: root/neb/structs.py
diff options
context:
space:
mode:
Diffstat (limited to 'neb/structs.py')
-rw-r--r--neb/structs.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/neb/structs.py b/neb/structs.py
index 0ba2aaa..1c5248c 100644
--- a/neb/structs.py
+++ b/neb/structs.py
@@ -92,6 +92,12 @@ class String(Literal):
def __str__(self):
return f'"{repr(self.value)[1:-1]}"'
+class Handle:
+ def __init__(self, file):
+ self.file = file
+ def __str__(self):
+ return f"{self.file.name} :handle"
+
class Type:
def __init__(self, name, inner=None):
self.name = name