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
def __init__(self, field_idx, depth): Node.__init__(self) self._field_idx = field_idx self._depth = depth
def __init__(self, universe): Node.__init__(self, None) self._universe = universe
def __init__(self, value): Node.__init__(self) self._value = value
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
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
def __init__(self, source_section): Node.__init__(self, source_section)
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
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