Lines Matching refs:syms
23 from ..fixer_util import syms, Node, Leaf
33 if node.type == syms.suite:
35 elif node.type == syms.simple_stmt and node.children:
37 if expr_node.type == syms.expr_stmt and expr_node.children:
50 if node.type == syms.suite:
62 suite = Node(syms.suite, [])
83 new_expr = Node(syms.expr_stmt, [])
84 new_stmt = Node(syms.simple_stmt, [new_expr])
103 if node.type == syms.suite:
110 if simple_node.type == syms.simple_stmt and simple_node.children:
112 if expr_node.type == syms.expr_stmt and expr_node.children:
170 if node.children[3].type == syms.arglist:
175 arglist = Node(syms.arglist, [parent])
180 arglist = Node(syms.arglist, [])
185 arglist = Node(syms.arglist, [])
205 assert expr_stmt.type == syms.expr_stmt