Lines Matching refs:Leaf
23 from ..fixer_util import syms, Node, Leaf
39 if isinstance(left_side, Leaf) and \
115 if isinstance(left_node, Leaf) and \
137 if isinstance(node, Leaf) and node.type != token.DEDENT:
186 node.insert_child(2, Leaf(token.RPAR, ')'))
188 node.insert_child(2, Leaf(token.LPAR, '('))
198 arglist.append_child(Leaf(token.COMMA, ','))
217 pass_leaf = Leaf(text_type, 'pass')
220 node.append_child(Leaf(token.NEWLINE, '\n'))
226 pass_leaf = Leaf(text_type, 'pass')
228 suite.insert_child(-1, Leaf(token.NEWLINE, '\n'))