diff options
| author | mryouse | 2022-06-18 02:01:02 +0000 |
|---|---|---|
| committer | mryouse | 2022-06-18 02:01:02 +0000 |
| commit | 065d138ca3013a4d1ef1aa3d7c48982d8bee5de2 (patch) | |
| tree | 9b2636b04cbfd4c65e1cc0ccd5e7769436017824 | |
| parent | aebfbb3895a81b1a285f6e9aa9877e16a87d7ec2 (diff) | |
remove typedlists, as we're not there yet
| -rw-r--r-- | structs.py | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -106,13 +106,3 @@ class List: def __str__(self): return "(" + " ".join(f"{arg}" for arg in self.args) + ")" -class TypedList(List): - def __init__(self, args, data=True, type_=Type("string")): - super().__init__(args, data) - self.type_ = type_ - def __str__(self): - return super().__str__() + f"{self.type_}" - -class Strings(TypedList): - def __init__(self, args, data=True): - super().__init__(args, data, Type(":string")) |
