Searched refs:expr_stmt (Results 1 - 18 of 18) sorted by relevance

/external/python/cpython2/Lib/lib2to3/fixes/
H A Dfix_metaclass.py29 1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta')
30 2) clsdef => simple_stmt => expr_stmt => Leaf('__meta')
37 if expr_node.type == syms.expr_stmt and expr_node.children:
83 new_expr = Node(syms.expr_stmt, [])
108 # look for simple_stmt[ expr_stmt[ Leaf('__metaclass__') ] ]
112 if expr_node.type == syms.expr_stmt and expr_node.children:
204 expr_stmt = last_metaclass.children[0]
205 assert expr_stmt.type == syms.expr_stmt
206 expr_stmt
[all...]
H A Dfix_next.py94 if node.type == syms.expr_stmt:
/external/python/cpython3/Lib/lib2to3/fixes/
H A Dfix_metaclass.py29 1) clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta')
30 2) clsdef => simple_stmt => expr_stmt => Leaf('__meta')
37 if expr_node.type == syms.expr_stmt and expr_node.children:
83 new_expr = Node(syms.expr_stmt, [])
108 # look for simple_stmt[ expr_stmt[ Leaf('__metaclass__') ] ]
112 if expr_node.type == syms.expr_stmt and expr_node.children:
204 expr_stmt = last_metaclass.children[0]
205 assert expr_stmt.type == syms.expr_stmt
206 expr_stmt
[all...]
H A Dfix_next.py94 if node.type == syms.expr_stmt:
/external/python/cpython2/Include/
H A Dgraminit.h17 #define expr_stmt 270 macro
/external/python/cpython2/Lib/
H A Dsymbol.py27 expr_stmt = 270 variable
/external/python/cpython3/Include/
H A Dgraminit.h19 #define expr_stmt 272 macro
/external/python/cpython3/Lib/
H A Dsymbol.py29 expr_stmt = 272 variable
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
H A DPython.g132 small_stmt: expr_stmt
143 expr_stmt
/external/python/cpython2/Demo/parser/
H A Dexample.py172 (symbol.expr_stmt,
/external/python/cpython2/Lib/lib2to3/
H A Dfixer_util.py238 if parent.type == syms.expr_stmt and parent.children[0] is node:
371 elif child.type == syms.expr_stmt:
/external/python/cpython3/Lib/lib2to3/
H A Dfixer_util.py259 if parent.type == syms.expr_stmt and parent.children[0] is node:
392 elif child.type == syms.expr_stmt:
/external/python/cpython2/Lib/compiler/
H A Dtransformer.py362 def expr_stmt(self, nodelist): member in class:Transformer
1426 symbol.expr_stmt,
1464 symbol.expr_stmt,
/external/python/cpython2/Modules/
H A Dparsermodule.c948 VALIDATER(expr_stmt); VALIDATER(power); variable
1565 if ( (ntype == expr_stmt)
1636 int res = (validate_ntype(tree, expr_stmt)
3135 * expr_stmt | print_stmt | del_stmt | pass_stmt | flow_stmt
3167 case expr_stmt:
/external/v8/src/asmjs/
H A Dasm-typer.cc596 auto* expr_stmt = statement->AsExpressionStatement(); local
597 if (expr_stmt == nullptr) {
601 auto* assign = expr_stmt->expression()->AsAssignment();
/external/autotest/contrib/
H A Dcoverage.py629 return tree[0] == symbol.stmt and tree[1][1][1][0] == symbol.expr_stmt
/external/python/cpython2/Python/
H A Dast.c2176 REQ(n, expr_stmt);
2177 /* expr_stmt: testlist (augassign (yield_expr|testlist)
3261 /* small_stmt: expr_stmt | print_stmt | del_stmt | pass_stmt
3266 case expr_stmt:
/external/python/cpython3/Python/
H A Dast.c2897 REQ(n, expr_stmt);
2898 /* expr_stmt: testlist_star_expr (annassign | augassign (yield_expr|testlist) |
3980 /* small_stmt: expr_stmt | del_stmt | pass_stmt | flow_stmt
3984 case expr_stmt:

Completed in 9124 milliseconds