Lines Matching refs:APPEND_EXPR
52 #define APPEND_EXPR(expr, pr) do { \ macro
131 APPEND_EXPR((expr_ty)asdl_seq_GET(values, i), pr + 1); in append_ast_boolop()
166 APPEND_EXPR(e->v.BinOp.left, pr + rassoc); in append_ast_binop()
168 APPEND_EXPR(e->v.BinOp.right, pr + !rassoc); in append_ast_binop()
192 APPEND_EXPR(e->v.UnaryOp.operand, pr); in append_ast_unaryop()
205 APPEND_EXPR(arg->annotation, PR_TEST); in append_ast_arg()
233 APPEND_EXPR((expr_ty)asdl_seq_GET(args->defaults, di), PR_TEST); in append_ast_args()
261 APPEND_EXPR(default_, PR_TEST); in append_ast_args()
285 APPEND_EXPR(e->v.Lambda.body, PR_TEST); in append_ast_lambda()
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()
316 APPEND_EXPR(key_node, PR_TEST); in append_ast_dict()
318 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Dict.values, i), PR_TEST); in append_ast_dict()
322 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Dict.values, i), PR_EXPR); in append_ast_dict()
338 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Set.elts, i), PR_TEST); in append_ast_set()
353 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.List.elts, i), PR_TEST); in append_ast_list()
374 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Tuple.elts, i), PR_TEST); in append_ast_tuple()
388 APPEND_EXPR(gen->target, PR_TUPLE); in append_ast_comprehension()
390 APPEND_EXPR(gen->iter, PR_TEST + 1); in append_ast_comprehension()
395 APPEND_EXPR((expr_ty)asdl_seq_GET(gen->ifs, i), PR_TEST + 1); in append_ast_comprehension()
417 APPEND_EXPR(e->v.GeneratorExp.elt, PR_TEST); in append_ast_genexp()
426 APPEND_EXPR(e->v.ListComp.elt, PR_TEST); in append_ast_listcomp()
435 APPEND_EXPR(e->v.SetComp.elt, PR_TEST); in append_ast_setcomp()
444 APPEND_EXPR(e->v.DictComp.key, PR_TEST); in append_ast_dictcomp()
446 APPEND_EXPR(e->v.DictComp.value, PR_TEST); in append_ast_dictcomp()
467 APPEND_EXPR(e->v.Compare.left, PR_CMP + 1); in append_ast_compare()
508 APPEND_EXPR((expr_ty)asdl_seq_GET(comparators, i), PR_CMP + 1); in append_ast_compare()
529 APPEND_EXPR(kw->value, PR_TEST); in append_ast_keyword()
540 APPEND_EXPR(e->v.Call.func, PR_ATOM); in append_ast_call()
557 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Call.args, i), PR_TEST); in append_ast_call()
745 APPEND_EXPR(v, PR_ATOM); in append_ast_attribute()
764 APPEND_EXPR(e->v.Slice.lower, PR_TEST); in append_ast_slice()
770 APPEND_EXPR(e->v.Slice.upper, PR_TEST); in append_ast_slice()
775 APPEND_EXPR(e->v.Slice.step, PR_TEST); in append_ast_slice()
783 APPEND_EXPR(e->v.Subscript.value, PR_ATOM); in append_ast_subscript()
796 APPEND_EXPR(e->v.Subscript.slice, level); in append_ast_subscript()
804 APPEND_EXPR(e->v.Starred.value, PR_EXPR); in append_ast_starred()
816 APPEND_EXPR(e->v.Yield.value, PR_TEST); in append_ast_yield()
824 APPEND_EXPR(e->v.YieldFrom.value, PR_TEST); in append_ast_yield_from()
833 APPEND_EXPR(e->v.Await.value, PR_ATOM); in append_ast_await()
842 APPEND_EXPR(e->v.NamedExpr.target, PR_ATOM); in append_named_expr()
844 APPEND_EXPR(e->v.NamedExpr.value, PR_ATOM); in append_named_expr()