Home
last modified time | relevance | path

Searched refs:insert_child (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_metaclass.py89 parent.insert_child(i, new_stmt)
181 node.insert_child(3, arglist)
186 node.insert_child(2, Leaf(token.RPAR, u')'))
187 node.insert_child(2, arglist)
188 node.insert_child(2, Leaf(token.LPAR, u'('))
227 suite.insert_child(-1, pass_leaf)
228 suite.insert_child(-1, Leaf(token.NEWLINE, u'\n'))
Dfix_exitfunc.py71 containing_stmt.insert_child(position + 1, Newline())
72 containing_stmt.insert_child(position + 2, new)
Dfix_except.py84 e_suite.insert_child(0, child)
85 e_suite.insert_child(i, assign)
Dfix_paren.py43 target.insert_child(0, lparen)
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_metaclass.py89 parent.insert_child(i, new_stmt)
181 node.insert_child(3, arglist)
186 node.insert_child(2, Leaf(token.RPAR, ')'))
187 node.insert_child(2, arglist)
188 node.insert_child(2, Leaf(token.LPAR, '('))
227 suite.insert_child(-1, pass_leaf)
228 suite.insert_child(-1, Leaf(token.NEWLINE, '\n'))
Dfix_exitfunc.py71 containing_stmt.insert_child(position + 1, Newline())
72 containing_stmt.insert_child(position + 2, new)
Dfix_except.py84 e_suite.insert_child(0, child)
85 e_suite.insert_child(i, assign)
Dfix_paren.py43 target.insert_child(0, lparen)
/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dnode.c411 gpir_node *insert_child) in gpir_node_insert_child() argument
415 gpir_node_replace_pred(dep, insert_child); in gpir_node_insert_child()
416 gpir_node_replace_child(parent, child, insert_child); in gpir_node_insert_child()
Dgpir.h441 void gpir_node_insert_child(gpir_node *parent, gpir_node *child, gpir_node *insert_child);
/external/python/cpython3/Lib/lib2to3/tests/
Dtest_pytree.py296 n1.insert_child(0, l2)
301 n1.insert_child(2, l3)
305 self.assertRaises(Exception, n1.insert_child, 0, list)
/external/yapf/yapf/yapflib/
Dpytree_utils.py208 parent_of_target.insert_child(insertion_index, new_node)
Dsubtype_assigner.py419 node.insert_child(0, lparen)
/external/python/cpython2/Lib/lib2to3/
Dfixer_util.py58 node.insert_child(1, Node(syms.arglist, args))
336 root.insert_child(insert_pos, Node(syms.simple_stmt, children))
Dpytree.py332 def insert_child(self, i, child): member in Node
/external/python/cpython3/Lib/lib2to3/
Dfixer_util.py56 node.insert_child(1, Node(syms.arglist, args))
357 root.insert_child(insert_pos, Node(syms.simple_stmt, children))
Dpytree.py298 def insert_child(self, i, child): member in Node
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_pytree.py318 n1.insert_child(0, l2)
323 n1.insert_child(2, l3)
327 self.assertRaises(Exception, n1.insert_child, 0, list)