/external/python/cpython2/Demo/parser/ |
D | unparse.py | 192 if t.orelse: 195 self.dispatch(t.orelse) 261 if t.orelse: 264 self.dispatch(t.orelse) 274 while (t.orelse and len(t.orelse) == 1 and 275 isinstance(t.orelse[0], ast.If)): 276 t = t.orelse[0] 283 if t.orelse: 286 self.dispatch(t.orelse) 295 if t.orelse: [all …]
|
/external/python/cpython2/Parser/ |
D | Python.asdl | 24 -- use 'orelse' because else is a keyword in target languages 25 | For(expr target, expr iter, stmt* body, stmt* orelse) 26 | While(expr test, stmt* body, stmt* orelse) 27 | If(expr test, stmt* body, stmt* orelse) 32 | TryExcept(stmt* body, excepthandler* handlers, stmt* orelse) 57 | IfExp(expr test, expr body, expr orelse)
|
/external/python/cpython2/Include/ |
D | Python-ast.h | 115 asdl_seq *orelse; member 121 asdl_seq *orelse; member 127 asdl_seq *orelse; member 145 asdl_seq *orelse; member 220 expr_ty orelse; member 407 orelse, int lineno, int col_offset, PyArena *arena); 409 stmt_ty _Py_While(expr_ty test, asdl_seq * body, asdl_seq * orelse, int lineno, 412 stmt_ty _Py_If(expr_ty test, asdl_seq * body, asdl_seq * orelse, int lineno, 421 stmt_ty _Py_TryExcept(asdl_seq * body, asdl_seq * handlers, asdl_seq * orelse, 462 expr_ty _Py_IfExp(expr_ty test, expr_ty body, expr_ty orelse, int lineno, int
|
/external/python/cpython2/Python/ |
D | Python-ast.c | 1190 For(expr_ty target, expr_ty iter, asdl_seq * body, asdl_seq * orelse, int in For() argument 1211 p->v.For.orelse = orelse; in For() 1218 While(expr_ty test, asdl_seq * body, asdl_seq * orelse, int lineno, int in While() argument 1233 p->v.While.orelse = orelse; in While() 1240 If(expr_ty test, asdl_seq * body, asdl_seq * orelse, int lineno, int in If() argument 1255 p->v.If.orelse = orelse; in If() 1301 TryExcept(asdl_seq * body, asdl_seq * handlers, asdl_seq * orelse, int lineno, in TryExcept() argument 1311 p->v.TryExcept.orelse = orelse; in TryExcept() 1584 IfExp(expr_ty test, expr_ty body, expr_ty orelse, int lineno, int col_offset, in IfExp() argument 1598 if (!orelse) { in IfExp() [all …]
|
D | compile.c | 1478 VISIT(c, expr, e->v.IfExp.orelse); in compiler_ifexp() 1581 if (s->v.If.orelse) in compiler_if() 1582 VISIT_SEQ(c, stmt, s->v.If.orelse); in compiler_if() 1586 if (s->v.If.orelse) { in compiler_if() 1597 if (s->v.If.orelse) { in compiler_if() 1599 VISIT_SEQ(c, stmt, s->v.If.orelse); in compiler_if() 1629 VISIT_SEQ(c, stmt, s->v.For.orelse); in compiler_for() 1637 basicblock *loop, *orelse, *end, *anchor = NULL; in compiler_while() local 1641 if (s->v.While.orelse) in compiler_while() 1642 VISIT_SEQ(c, stmt, s->v.While.orelse); in compiler_while() [all …]
|
D | ast.c | 980 expr_ty expression, body, orelse; in ast_for_ifexpr() local 989 orelse = ast_for_expr(c, CHILD(n, 4)); in ast_for_ifexpr() 990 if (!orelse) in ast_for_ifexpr() 992 return IfExp(expression, body, orelse, LINENO(n), n->n_col_offset, in ast_for_ifexpr() 2856 asdl_seq *orelse = NULL; in ast_for_if_stmt() local 2870 orelse = asdl_seq_new(1, c->c_arena); in ast_for_if_stmt() 2871 if (!orelse) in ast_for_if_stmt() 2883 asdl_seq_SET(orelse, 0, in ast_for_if_stmt() 2905 If(expression, suite_seq, orelse, in ast_for_if_stmt() 2908 orelse = newobj; in ast_for_if_stmt() [all …]
|
D | symtable.c | 1070 if (s->v.For.orelse) in symtable_visit_stmt() 1071 VISIT_SEQ(st, stmt, s->v.For.orelse); in symtable_visit_stmt() 1076 if (s->v.While.orelse) in symtable_visit_stmt() 1077 VISIT_SEQ(st, stmt, s->v.While.orelse); in symtable_visit_stmt() 1083 if (s->v.If.orelse) in symtable_visit_stmt() 1084 VISIT_SEQ(st, stmt, s->v.If.orelse); in symtable_visit_stmt() 1098 VISIT_SEQ(st, stmt, s->v.TryExcept.orelse); in symtable_visit_stmt() 1214 VISIT(st, expr, e->v.IfExp.orelse); in symtable_visit_expr()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/ |
D | _ast_util.py | 384 if node.orelse: 387 self.body(node.orelse) 502 else_ = node.orelse 806 self.visit(node.orelse)
|
D | pyparser.py | 141 for statement in node.orelse:
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 2713 ], orelse=[])
|