view python/ppci/core/value.py @ 104:ed230e947dc6

Added hexviewer
author windel
date Sun, 30 Dec 2012 22:31:55 +0100
parents 4a37d6992bd3
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