Ejemplo n.º 1
0
 def __init__(self, source_section, expr_or_sequence, arg_mapping,
              number_of_local_temps, number_of_context_temps, universe):
     Node.__init__(self, source_section)
     self._expr_or_sequence = self.adopt_child(expr_or_sequence)
     self._universe = universe
     assert isinstance(arg_mapping, list)
     self._arg_mapping = arg_mapping
     self._num_local_temps = number_of_local_temps
     self._num_context_temps = number_of_context_temps
Ejemplo n.º 2
0
 def __init__(self, source_section, expr_or_sequence,
              arg_mapping, number_of_local_temps, number_of_context_temps,
              universe):
     Node.__init__(self, source_section)
     self._expr_or_sequence  = self.adopt_child(expr_or_sequence)
     self._universe          = universe
     assert isinstance(arg_mapping, list)
     self._arg_mapping = arg_mapping
     self._num_local_temps   = number_of_local_temps
     self._num_context_temps = number_of_context_temps
Ejemplo n.º 3
0
 def __init__(self, field_idx, depth):
     Node.__init__(self)
     self._field_idx = field_idx
     self._depth = depth
Ejemplo n.º 4
0
 def __init__(self, universe):
     Node.__init__(self, None)
     self._universe = universe
Ejemplo n.º 5
0
 def __init__(self, value):
     Node.__init__(self)
     self._value = value
Ejemplo n.º 6
0
 def __init__(self, child_nodes = None, value = None):
     Node.__init__(self)
     assert isinstance(child_nodes, list)
     self._child_nodes = self.adopt_children(child_nodes)
     self._value = value
Ejemplo n.º 7
0
 def __init__(self, child_node1 = None, child_node2 = None, value = None):
     Node.__init__(self)
     self._child_node1 = self.adopt_child(child_node1)
     self._child_node2 = self.adopt_child(child_node2)
     self._value = value
Ejemplo n.º 8
0
 def __init__(self, source_section):
     Node.__init__(self, source_section)
Ejemplo n.º 9
0
 def __init__(self, source_section):
     Node.__init__(self, source_section)
Ejemplo n.º 10
0
 def __init__(self, field_idx, depth):
     Node.__init__(self)
     self._field_idx = field_idx
     self._depth     = depth
Ejemplo n.º 11
0
 def __init__(self, value):
     Node.__init__(self)
     self._value = value
Ejemplo n.º 12
0
 def __init__(self, child_nodes=None, value=None):
     Node.__init__(self)
     assert isinstance(child_nodes, list)
     self._child_nodes = self.adopt_children(child_nodes)
     self._value = value
Ejemplo n.º 13
0
 def __init__(self, child_node1=None, child_node2=None, value=None):
     Node.__init__(self)
     self._child_node1 = self.adopt_child(child_node1)
     self._child_node2 = self.adopt_child(child_node2)
     self._value = value