• Home
  • Raw
  • Download

Lines Matching refs:nodes

21 nodes = {}  variable
40 nodes["expression"] = "Expression"
69 def __init__(self, nodes, lineno=None): argument
70 self.nodes = nodes
74 return tuple(flatten(self.nodes))
78 nodelist.extend(flatten_nodes(self.nodes))
82 return "And(%s)" % (repr(self.nodes),)
101 def __init__(self, nodes, lineno=None): argument
102 self.nodes = nodes
106 return tuple(flatten(self.nodes))
110 nodelist.extend(flatten_nodes(self.nodes))
114 return "AssList(%s)" % (repr(self.nodes),)
132 def __init__(self, nodes, lineno=None): argument
133 self.nodes = nodes
137 return tuple(flatten(self.nodes))
141 nodelist.extend(flatten_nodes(self.nodes))
145 return "AssTuple(%s)" % (repr(self.nodes),)
170 def __init__(self, nodes, expr, lineno=None): argument
171 self.nodes = nodes
177 children.extend(flatten(self.nodes))
183 nodelist.extend(flatten_nodes(self.nodes))
188 return "Assign(%s, %s)" % (repr(self.nodes), repr(self.expr))
221 def __init__(self, nodes, lineno=None): argument
222 self.nodes = nodes
226 return tuple(flatten(self.nodes))
230 nodelist.extend(flatten_nodes(self.nodes))
234 return "Bitand(%s)" % (repr(self.nodes),)
237 def __init__(self, nodes, lineno=None): argument
238 self.nodes = nodes
242 return tuple(flatten(self.nodes))
246 nodelist.extend(flatten_nodes(self.nodes))
250 return "Bitor(%s)" % (repr(self.nodes),)
253 def __init__(self, nodes, lineno=None): argument
254 self.nodes = nodes
258 return tuple(flatten(self.nodes))
262 nodelist.extend(flatten_nodes(self.nodes))
266 return "Bitxor(%s)" % (repr(self.nodes),)
388 def __init__(self, nodes, lineno=None): argument
389 self.nodes = nodes
393 return tuple(flatten(self.nodes))
397 nodelist.extend(flatten_nodes(self.nodes))
401 return "Decorators(%s)" % (repr(self.nodes),)
819 def __init__(self, nodes, lineno=None): argument
820 self.nodes = nodes
824 return tuple(flatten(self.nodes))
828 nodelist.extend(flatten_nodes(self.nodes))
832 return "List(%s)" % (repr(self.nodes),)
1012 def __init__(self, nodes, lineno=None): argument
1013 self.nodes = nodes
1017 return tuple(flatten(self.nodes))
1021 nodelist.extend(flatten_nodes(self.nodes))
1025 return "Or(%s)" % (repr(self.nodes),)
1056 def __init__(self, nodes, dest, lineno=None): argument
1057 self.nodes = nodes
1063 children.extend(flatten(self.nodes))
1069 nodelist.extend(flatten_nodes(self.nodes))
1075 return "Print(%s, %s)" % (repr(self.nodes), repr(self.dest))
1078 def __init__(self, nodes, dest, lineno=None): argument
1079 self.nodes = nodes
1085 children.extend(flatten(self.nodes))
1091 nodelist.extend(flatten_nodes(self.nodes))
1097 return "Printnl(%s, %s)" % (repr(self.nodes), repr(self.dest))
1156 def __init__(self, nodes, lineno=None): argument
1157 self.nodes = nodes
1161 return tuple(flatten(self.nodes))
1165 nodelist.extend(flatten_nodes(self.nodes))
1169 return "Set(%s)" % (repr(self.nodes),)
1200 def __init__(self, nodes, lineno=None): argument
1201 self.nodes = nodes
1205 return tuple(flatten(self.nodes))
1209 nodelist.extend(flatten_nodes(self.nodes))
1213 return "Sliceobj(%s)" % (repr(self.nodes),)
1216 def __init__(self, nodes, lineno=None): argument
1217 self.nodes = nodes
1221 return tuple(flatten(self.nodes))
1225 nodelist.extend(flatten_nodes(self.nodes))
1229 return "Stmt(%s)" % (repr(self.nodes),)
1310 def __init__(self, nodes, lineno=None): argument
1311 self.nodes = nodes
1315 return tuple(flatten(self.nodes))
1319 nodelist.extend(flatten_nodes(self.nodes))
1323 return "Tuple(%s)" % (repr(self.nodes),)
1419 nodes[name.lower()] = obj