Lines Matching refs:expr1
1607 expr_ty expr1, expr2, result; in ast_for_binop() local
1610 expr1 = ast_for_expr(c, CHILD(n, 0)); in ast_for_binop()
1611 if (!expr1) in ast_for_binop()
1622 result = BinOp(expr1, newoperator, expr2, LINENO(n), n->n_col_offset, in ast_for_binop()
2193 expr_ty expr1, expr2; in ast_for_expr_stmt() local
2197 expr1 = ast_for_testlist(c, ch); in ast_for_expr_stmt()
2198 if (!expr1) in ast_for_expr_stmt()
2200 if(!set_context(c, expr1, Store, ch)) in ast_for_expr_stmt()
2206 switch (expr1->kind) { in ast_for_expr_stmt()
2228 return AugAssign(expr1, newoperator, expr2, LINENO(n), n->n_col_offset, in ast_for_expr_stmt()
2392 expr_ty expr1, expr2; in ast_for_flow_stmt() local
2394 expr1 = ast_for_expr(c, CHILD(ch, 1)); in ast_for_flow_stmt()
2395 if (!expr1) in ast_for_flow_stmt()
2401 return Raise(expr1, expr2, NULL, LINENO(n), n->n_col_offset, in ast_for_flow_stmt()
2405 expr_ty expr1, expr2, expr3; in ast_for_flow_stmt() local
2407 expr1 = ast_for_expr(c, CHILD(ch, 1)); in ast_for_flow_stmt()
2408 if (!expr1) in ast_for_flow_stmt()
2417 return Raise(expr1, expr2, expr3, LINENO(n), n->n_col_offset, in ast_for_flow_stmt()
2670 expr_ty expr1, globals = NULL, locals = NULL; in ast_for_exec_stmt() local
2681 expr1 = ast_for_expr(c, CHILD(n, 1)); in ast_for_exec_stmt()
2682 if (!expr1) in ast_for_exec_stmt()
2685 if (expr1->kind == Tuple_kind && n_children < 4 && in ast_for_exec_stmt()
2686 (asdl_seq_LEN(expr1->v.Tuple.elts) == 2 || in ast_for_exec_stmt()
2687 asdl_seq_LEN(expr1->v.Tuple.elts) == 3)) { in ast_for_exec_stmt()
2689 globals = asdl_seq_GET(expr1->v.Tuple.elts, 1); in ast_for_exec_stmt()
2690 if (asdl_seq_LEN(expr1->v.Tuple.elts) == 3) { in ast_for_exec_stmt()
2691 locals = asdl_seq_GET(expr1->v.Tuple.elts, 2); in ast_for_exec_stmt()
2693 expr1 = asdl_seq_GET(expr1->v.Tuple.elts, 0); in ast_for_exec_stmt()
2707 return Exec(expr1, globals, locals, LINENO(n), n->n_col_offset, in ast_for_exec_stmt()
2724 expr_ty expr1, expr2; in ast_for_assert_stmt() local
2726 expr1 = ast_for_expr(c, CHILD(n, 1)); in ast_for_assert_stmt()
2727 if (!expr1) in ast_for_assert_stmt()
2733 return Assert(expr1, expr2, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_assert_stmt()