comparison 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
comparison
equal deleted inserted replaced
94:1be00bcfaabb 95:4a37d6992bd3
1
2 class Value:
3 def __init__(self, vty):
4 self.valueType = ty
5 self.name = None
6 def getContext(self):
7 return self.valueType.context
8
9 def setName(self, name):
10 if not self.name and not name:
11 return
12 self.name = name
13
14 if self.st:
15 pass
16 else:
17 pass
18