Mercurial > lcfOS
view python/ppci/core/value.py @ 108:8267ba1dbce3
Added testcode
author | Windel Bouwman |
---|---|
date | Tue, 01 Jan 2013 17:17:44 +0100 |
parents | ed230e947dc6 |
children | 9e552d34bd60 |
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 dump(self): print(self) def setName(self, name): if not self.name and not name: return self.name = name if self.st: pass else: pass