view 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 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