Mercurial > lcfOS
view python/libs/compiler/core/value.py @ 71:5351594349b0
Moved error to core
author | windel |
---|---|
date | Fri, 02 Nov 2012 14:05:00 +0100 |
parents | 35286e8abd03 |
children |
line wrap: on
line source
class Value: def __init__(self, vty): self.valueType = ty self.name = None def getContext(self): return self.valueType.context def setName(self, name): if not self.name and not name: return self.name = name if self.st: pass else: pass