summaryrefslogblamecommitdiffstats
path: root/src/front/symbol.py
blob: b93b7780fce3b899d2db12bd2453367151d64174 (plain) (tree)
1
2
3
4
5
6
7
8
                         

                     
                                 
 
                                                   

                          
from type import DataType

class Symbol(object):
    __slots__ = ['type', 'value']

    def __init__(self, value, type = DataType.INT):
        self.value = value
        self.type = type