Lines Matching refs:APPEND_EXPR
49 #define APPEND_EXPR(expr, pr) do { \ macro
113 APPEND_EXPR((expr_ty)asdl_seq_GET(values, i), pr + 1); in append_ast_boolop()
148 APPEND_EXPR(e->v.BinOp.left, pr + rassoc); in append_ast_binop()
150 APPEND_EXPR(e->v.BinOp.right, pr + !rassoc); in append_ast_binop()
174 APPEND_EXPR(e->v.UnaryOp.operand, pr); in append_ast_unaryop()
187 APPEND_EXPR(arg->annotation, PR_TEST); in append_ast_arg()
210 APPEND_EXPR((expr_ty)asdl_seq_GET(args->defaults, di), PR_TEST); in append_ast_args()
235 APPEND_EXPR(default_, PR_TEST); in append_ast_args()
257 APPEND_EXPR(e->v.Lambda.body, PR_TEST); in append_ast_lambda()
266 APPEND_EXPR(e->v.IfExp.body, PR_TEST + 1); in append_ast_ifexp()
268 APPEND_EXPR(e->v.IfExp.test, PR_TEST + 1); in append_ast_ifexp()
270 APPEND_EXPR(e->v.IfExp.orelse, PR_TEST); in append_ast_ifexp()
288 APPEND_EXPR(key_node, PR_TEST); in append_ast_dict()
290 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Dict.values, i), PR_TEST); in append_ast_dict()
294 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Dict.values, i), PR_EXPR); in append_ast_dict()
310 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Set.elts, i), PR_TEST); in append_ast_set()
325 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.List.elts, i), PR_TEST); in append_ast_list()
346 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Tuple.elts, i), PR_TEST); in append_ast_tuple()
360 APPEND_EXPR(gen->target, PR_TUPLE); in append_ast_comprehension()
362 APPEND_EXPR(gen->iter, PR_TEST + 1); in append_ast_comprehension()
367 APPEND_EXPR((expr_ty)asdl_seq_GET(gen->ifs, i), PR_TEST + 1); in append_ast_comprehension()
389 APPEND_EXPR(e->v.GeneratorExp.elt, PR_TEST); in append_ast_genexp()
398 APPEND_EXPR(e->v.ListComp.elt, PR_TEST); in append_ast_listcomp()
407 APPEND_EXPR(e->v.SetComp.elt, PR_TEST); in append_ast_setcomp()
416 APPEND_EXPR(e->v.DictComp.key, PR_TEST); in append_ast_dictcomp()
418 APPEND_EXPR(e->v.DictComp.value, PR_TEST); in append_ast_dictcomp()
439 APPEND_EXPR(e->v.Compare.left, PR_CMP + 1); in append_ast_compare()
480 APPEND_EXPR((expr_ty)asdl_seq_GET(comparators, i), PR_CMP + 1); in append_ast_compare()
501 APPEND_EXPR(kw->value, PR_TEST); in append_ast_keyword()
512 APPEND_EXPR(e->v.Call.func, PR_ATOM); in append_ast_call()
529 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Call.args, i), PR_TEST); in append_ast_call()
696 APPEND_EXPR(e->v.Attribute.value, PR_ATOM); in append_ast_attribute()
717 APPEND_EXPR(slice->v.Slice.lower, PR_TEST); in append_ast_simple_slice()
723 APPEND_EXPR(slice->v.Slice.upper, PR_TEST); in append_ast_simple_slice()
728 APPEND_EXPR(slice->v.Slice.step, PR_TEST); in append_ast_simple_slice()
754 APPEND_EXPR(slice->v.Index.value, PR_TUPLE); in append_ast_slice()
766 APPEND_EXPR(e->v.Subscript.value, PR_ATOM); in append_ast_subscript()
776 APPEND_EXPR(e->v.Starred.value, PR_EXPR); in append_ast_starred()
788 APPEND_EXPR(e->v.Yield.value, PR_TEST); in append_ast_yield()
796 APPEND_EXPR(e->v.YieldFrom.value, PR_TEST); in append_ast_yield_from()
805 APPEND_EXPR(e->v.Await.value, PR_ATOM); in append_ast_await()