Mercurial > lcfOS
diff python/ppci/core/value.py @ 95:4a37d6992bd3
movage
author | windel |
---|---|
date | Mon, 24 Dec 2012 13:24:59 +0100 |
parents | python/libs/compiler/core/value.py@35286e8abd03 |
children | ed230e947dc6 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python/ppci/core/value.py Mon Dec 24 13:24:59 2012 +0100 @@ -0,0 +1,18 @@ + +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 +