Searched refs:insert_child (Results 1 - 14 of 14) sorted by relevance

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
H A Dfix_paren.py43 target.insert_child(0, lparen)
H A 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'))
H A Dfix_except.py84 e_suite.insert_child(0, child)
85 e_suite.insert_child(i, assign)
H A Dfix_exitfunc.py71 containing_stmt.insert_child(position + 1, Newline())
72 containing_stmt.insert_child(position + 2, new)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
H A Dfix_paren.py43 target.insert_child(0, lparen)
H A 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'))
H A Dfix_except.py84 e_suite.insert_child(0, child)
85 e_suite.insert_child(i, assign)
H A Dfix_exitfunc.py71 containing_stmt.insert_child(position + 1, Newline())
72 containing_stmt.insert_child(position + 2, new)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
H A Dfixer_util.py58 node.insert_child(1, Node(syms.arglist, args))
336 root.insert_child(insert_pos, Node(syms.simple_stmt, children))
H A Dpytree.py332 def insert_child(self, i, child): member in class:Node
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
H A Dfixer_util.py58 node.insert_child(1, Node(syms.arglist, args))
336 root.insert_child(insert_pos, Node(syms.simple_stmt, children))
H A Dpytree.py332 def insert_child(self, i, child): member in class:Node
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
H A Dtest_pytree.py318 n1.insert_child(0, l2)
323 n1.insert_child(2, l3)
327 self.assertRaises(Exception, n1.insert_child, 0, list)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
H A Dtest_pytree.py318 n1.insert_child(0, l2)
323 n1.insert_child(2, l3)
327 self.assertRaises(Exception, n1.insert_child, 0, list)

Completed in 162 milliseconds