Home
last modified time | relevance | path

Searched refs:append_child (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_metaclass.py65 suite.append_child(move_node.clone())
67 cls_node.append_child(suite)
87 new_expr.append_child(move_node.clone())
198 arglist.append_child(Leaf(token.COMMA, ','))
209 arglist.append_child(last_metaclass)
219 node.append_child(pass_leaf)
220 node.append_child(Leaf(token.NEWLINE, '\n'))
Dfix_exitfunc.py61 names.append_child(Comma())
62 names.append_child(Name("atexit", " "))
Dfix_paren.py44 target.append_child(RParen())
Dfix_xrange.py51 list_call.append_child(n)
Dfix_idioms.py148 list_call.parent.append_child(end_line)
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_metaclass.py65 suite.append_child(move_node.clone())
67 cls_node.append_child(suite)
87 new_expr.append_child(move_node.clone())
198 arglist.append_child(Leaf(token.COMMA, u','))
209 arglist.append_child(last_metaclass)
219 node.append_child(pass_leaf)
220 node.append_child(Leaf(token.NEWLINE, u'\n'))
Dfix_exitfunc.py61 names.append_child(Comma())
62 names.append_child(Name(u"atexit", u" "))
Dfix_paren.py44 target.append_child(RParen())
Dfix_xrange.py51 list_call.append_child(n)
Dfix_idioms.py148 list_call.parent.append_child(end_line)
/external/python/cpython3/Lib/lib2to3/tests/
Dtest_pytree.py311 n1.append_child(l1)
316 n1.append_child(l2)
321 self.assertRaises(Exception, n1.append_child, list)
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_pytree.py333 n1.append_child(l1)
338 n1.append_child(l2)
343 self.assertRaises(Exception, n1.append_child, list)
/external/yapf/yapf/yapflib/
Dsubtype_assigner.py420 node.append_child(rparen)
422 node.append_child(comment_node)
/external/python/cpython3/Lib/lib2to3/
Dpytree.py307 def append_child(self, child): member in Node
/external/python/cpython2/Lib/lib2to3/
Dpytree.py341 def append_child(self, child): member in Node