/external/python/cpython2/Tools/compiler/ |
D | ast.txt | 25 IfExp: test, then, else_
|
/external/python/cpython3/Python/ |
D | ast_unparse.c | 294 APPEND_EXPR(e->v.IfExp.body, PR_TEST + 1); in append_ast_ifexp() 296 APPEND_EXPR(e->v.IfExp.test, PR_TEST + 1); in append_ast_ifexp() 298 APPEND_EXPR(e->v.IfExp.orelse, PR_TEST); in append_ast_ifexp()
|
D | ast_opt.c | 488 CALL(astfold_expr, expr_ty, node_->v.IfExp.test); in astfold_expr() 489 CALL(astfold_expr, expr_ty, node_->v.IfExp.body); in astfold_expr() 490 CALL(astfold_expr, expr_ty, node_->v.IfExp.orelse); in astfold_expr()
|
D | symtable.c | 1568 VISIT(st, expr, e->v.IfExp.test); in symtable_visit_expr() 1569 VISIT(st, expr, e->v.IfExp.body); in symtable_visit_expr() 1570 VISIT(st, expr, e->v.IfExp.orelse); in symtable_visit_expr()
|
D | compile.c | 2559 if (!compiler_jump_if(c, e->v.IfExp.test, next2, 0)) in compiler_jump_if() 2561 if (!compiler_jump_if(c, e->v.IfExp.body, next, cond)) in compiler_jump_if() 2565 if (!compiler_jump_if(c, e->v.IfExp.orelse, next, cond)) in compiler_jump_if() 2630 if (!compiler_jump_if(c, e->v.IfExp.test, next, 0)) in compiler_ifexp() 2632 VISIT(c, expr, e->v.IfExp.body); in compiler_ifexp() 2635 VISIT(c, expr, e->v.IfExp.orelse); in compiler_ifexp()
|
D | ast.c | 239 return validate_expr(exp->v.IfExp.test, Load) && in validate_expr() 240 validate_expr(exp->v.IfExp.body, Load) && in validate_expr() 241 validate_expr(exp->v.IfExp.orelse, Load); in validate_expr() 1938 return IfExp(expression, body, orelse, LINENO(n), n->n_col_offset, in ast_for_ifexpr()
|
D | Python-ast.c | 2685 IfExp(expr_ty test, expr_ty body, expr_ty orelse, int lineno, int col_offset, in IfExp() function 2708 p->v.IfExp.test = test; in IfExp() 2709 p->v.IfExp.body = body; in IfExp() 2710 p->v.IfExp.orelse = orelse; in IfExp() 4033 value = ast2obj_expr(state, o->v.IfExp.test); in ast2obj_expr() 4038 value = ast2obj_expr(state, o->v.IfExp.body); in ast2obj_expr() 4043 value = ast2obj_expr(state, o->v.IfExp.orelse); in ast2obj_expr() 7360 *out = IfExp(test, body, orelse, lineno, col_offset, end_lineno, in obj2ast_expr()
|
/external/python/cpython2/Parser/ |
D | Python.asdl | 57 | IfExp(expr test, expr body, expr orelse)
|
/external/python/cpython3/Parser/ |
D | Python.asdl | 60 | IfExp(expr test, expr body, expr orelse)
|
/external/python/cpython2/Include/ |
D | Python-ast.h | 221 } IfExp; member 461 #define IfExp(a0, a1, a2, a3, a4, a5) _Py_IfExp(a0, a1, a2, a3, a4, a5) macro
|
/external/python/cpython2/Python/ |
D | symtable.c | 1218 VISIT(st, expr, e->v.IfExp.test); in symtable_visit_expr() 1219 VISIT(st, expr, e->v.IfExp.body); in symtable_visit_expr() 1220 VISIT(st, expr, e->v.IfExp.orelse); in symtable_visit_expr()
|
D | Python-ast.c | 1584 IfExp(expr_ty test, expr_ty body, expr_ty orelse, int lineno, int col_offset, in IfExp() function 1607 p->v.IfExp.test = test; in IfExp() 1608 p->v.IfExp.body = body; in IfExp() 1609 p->v.IfExp.orelse = orelse; in IfExp() 2640 value = ast2obj_expr(o->v.IfExp.test); in ast2obj_expr() 2645 value = ast2obj_expr(o->v.IfExp.body); in ast2obj_expr() 2650 value = ast2obj_expr(o->v.IfExp.orelse); in ast2obj_expr() 5050 *out = IfExp(test, body, orelse, lineno, col_offset, arena); in obj2ast_expr()
|
D | compile.c | 1482 VISIT(c, expr, e->v.IfExp.test); in compiler_ifexp() 1484 VISIT(c, expr, e->v.IfExp.body); in compiler_ifexp() 1487 VISIT(c, expr, e->v.IfExp.orelse); in compiler_ifexp()
|
D | ast.c | 992 return IfExp(expression, body, orelse, LINENO(n), n->n_col_offset, in ast_for_ifexpr()
|
/external/python/cpython3/Include/ |
D | Python-ast.h | 267 } IfExp; member 578 #define IfExp(a0, a1, a2, a3, a4, a5, a6, a7) _Py_IfExp(a0, a1, a2, a3, a4, a5, a6, a7) macro
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 714 "IfExp"
|
/external/tensorflow/tensorflow/tools/compatibility/ |
D | tf_upgrade_v2.py | 2041 new_value = ast.IfExp(body=uniform, test=old_value, orelse=gaussian)
|
/external/python/cpython2/Lib/compiler/ |
D | transformer.py | 603 return IfExp(test, then, else_, lineno=nodelist[1][2])
|
D | ast.py | 713 class IfExp(Node): class
|
/external/python/cpython3/Doc/library/ |
D | ast.rst | 515 .. class:: IfExp(test, body, orelse) 524 body=IfExp(
|
/external/python/cpython3/Lib/test/ |
D | test_ast.py | 1269 self.expr(ast.IfExp(*args), "must have Load context")
|