Beispiel #1
0
	def __init__(self, name, initial_number = 0):
		Value.__init__(self, "GLOBAL_%s"%(name))
		
		self.constant = False
		self.volatile = False
		
		self.initial_number = initial_number
Beispiel #2
0
    def __init__(self, number):
        # Name this constant automatically based on it's number.
        Value.__init__(self, "CONST_0x%x" % (number))

        self.constant = True
        self.volatile = False
        self.number = number
Beispiel #3
0
	def __init__(self, name, location):
		Value.__init__(self, "VOLATILE_%s"%(name))
		
		self.constant = False
		self.volatile = True
		
		self.location = location
Beispiel #4
0
	def __init__(self, number):
		# Name this constant automatically based on it's number.
		Value.__init__(self, "CONST_0x%x"%(number))
		
		self.constant = True
		self.volatile = False
		self.number   = number
Beispiel #5
0
    def __init__(self, name, location):
        Value.__init__(self, "VOLATILE_%s" % (name))

        self.constant = False
        self.volatile = True

        self.location = location
Beispiel #6
0
    def __init__(self, name, initial_number=0):
        Value.__init__(self, "GLOBAL_%s" % (name))

        self.constant = False
        self.volatile = False

        self.initial_number = initial_number
Beispiel #7
0
 def __init__(self, end_node, prec, tree_index, linear_index):
     Value.__init__(self, end_node, prec, tree_index, linear_index)
Beispiel #8
0
	def __init__(self, name):
		Value.__init__(self, "LOCAL_%s"%(name))
		
		self.constant = False
		self.volatile = False
Beispiel #9
0
	def __init__(self, *args, **kwargs):
		Value.__init__(self, *args, **kwargs)
		
		self.constant = False
		self.volatile = False
		self.number   = None
Beispiel #10
0
 def __init__(self, end_node, prec, tree_index, linear_index, val):
     Value.__init__(self, end_node, prec, tree_index, linear_index)
     self._value = val
Beispiel #11
0
    def __init__(self, name):
        Value.__init__(self, "LOCAL_%s" % (name))

        self.constant = False
        self.volatile = False