summaryrefslogtreecommitdiffstats
path: root/src/front
diff options
context:
space:
mode:
Diffstat (limited to 'src/front')
-rw-r--r--src/front/symbol.py8
-rw-r--r--src/front/type.py12
2 files changed, 0 insertions, 20 deletions
diff --git a/src/front/symbol.py b/src/front/symbol.py
deleted file mode 100644
index b93b778..0000000
--- a/src/front/symbol.py
+++ /dev/null
@@ -1,8 +0,0 @@
-from type import DataType
-
-class Symbol(object):
- __slots__ = ['type', 'value']
-
- def __init__(self, value, type = DataType.INT):
- self.value = value
- self.type = type
diff --git a/src/front/type.py b/src/front/type.py
deleted file mode 100644
index a8bd8c7..0000000
--- a/src/front/type.py
+++ /dev/null
@@ -1,12 +0,0 @@
-class DataType(object):
- def __init__(self, name):
- self.name = name
-
- def __str__(self):
- return self.name
-
- def __repr__(self):
- return "<DataType: %s>" % self
-
-DataType.INT = DataType("INT")
-DataType.BOOL = DataType("BOOL")