Searched refs:IfExp (Results 1 – 10 of 10) sorted by relevance
/third_party/python/Python/ |
D | ast_unparse.c | 299 APPEND_EXPR(e->v.IfExp.body, PR_TEST + 1); in append_ast_ifexp() 301 APPEND_EXPR(e->v.IfExp.test, PR_TEST + 1); in append_ast_ifexp() 303 APPEND_EXPR(e->v.IfExp.orelse, PR_TEST); in append_ast_ifexp()
|
D | ast.c | 255 ret = validate_expr(state, exp->v.IfExp.test, Load) && in validate_expr() 256 validate_expr(state, exp->v.IfExp.body, Load) && in validate_expr() 257 validate_expr(state, exp->v.IfExp.orelse, Load); in validate_expr()
|
D | ast_opt.c | 515 CALL(astfold_expr, expr_ty, node_->v.IfExp.test); in astfold_expr() 516 CALL(astfold_expr, expr_ty, node_->v.IfExp.body); in astfold_expr() 517 CALL(astfold_expr, expr_ty, node_->v.IfExp.orelse); in astfold_expr()
|
D | symtable.c | 1624 VISIT(st, expr, e->v.IfExp.test); in symtable_visit_expr() 1625 VISIT(st, expr, e->v.IfExp.body); in symtable_visit_expr() 1626 VISIT(st, expr, e->v.IfExp.orelse); in symtable_visit_expr()
|
D | compile.c | 2681 if (!compiler_jump_if(c, e->v.IfExp.test, next2, 0)) in compiler_jump_if() 2683 if (!compiler_jump_if(c, e->v.IfExp.body, next, cond)) in compiler_jump_if() 2687 if (!compiler_jump_if(c, e->v.IfExp.orelse, next, cond)) in compiler_jump_if() 2754 if (!compiler_jump_if(c, e->v.IfExp.test, next, 0)) in compiler_ifexp() 2756 VISIT(c, expr, e->v.IfExp.body); in compiler_ifexp() 2759 VISIT(c, expr, e->v.IfExp.orelse); in compiler_ifexp()
|
D | Python-ast.c | 2708 p->v.IfExp.test = test; in _PyAST_IfExp() 2709 p->v.IfExp.body = body; in _PyAST_IfExp() 2710 p->v.IfExp.orelse = orelse; in _PyAST_IfExp() 4266 value = ast2obj_expr(state, o->v.IfExp.test); in ast2obj_expr() 4271 value = ast2obj_expr(state, o->v.IfExp.body); in ast2obj_expr() 4276 value = ast2obj_expr(state, o->v.IfExp.orelse); in ast2obj_expr()
|
/third_party/python/Parser/ |
D | Python.asdl | 62 | IfExp(expr test, expr body, expr orelse)
|
/third_party/python/Include/internal/ |
D | pycore_ast.h | 373 } IfExp; member
|
/third_party/python/Doc/library/ |
D | ast.rst | 521 .. class:: IfExp(test, body, orelse) 530 body=IfExp(
|
/third_party/python/Lib/test/ |
D | test_ast.py | 1341 self.expr(ast.IfExp(*args), "must have Load context")
|