Lines Matching refs:ctx_
628 static int astfold_mod(mod_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
629 static int astfold_stmt(stmt_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
630 static int astfold_expr(expr_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
631 static int astfold_arguments(arguments_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
632 static int astfold_comprehension(comprehension_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
633 static int astfold_keyword(keyword_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
634 static int astfold_arg(arg_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
635 static int astfold_withitem(withitem_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
636 static int astfold_excepthandler(excepthandler_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
637 static int astfold_match_case(match_case_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
638 static int astfold_pattern(pattern_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
641 if (!FUNC((ARG), ctx_, state)) \
645 if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
653 if (elt != NULL && !FUNC(elt, ctx_, state)) \
660 astfold_body(asdl_stmt_seq *stmts, PyArena *ctx_, _PyASTOptimizeState *state)
666 asdl_expr_seq *values = _Py_asdl_expr_seq_new(1, ctx_);
673 ctx_);
683 astfold_mod(mod_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
705 astfold_expr(expr_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
811 return make_const(node_, PyBool_FromLong(!state->optimize), ctx_);
828 astfold_keyword(keyword_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
835 astfold_comprehension(comprehension_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
846 astfold_arguments(arguments_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
859 astfold_arg(arg_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
868 astfold_stmt(stmt_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
995 astfold_excepthandler(excepthandler_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
1009 astfold_withitem(withitem_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
1017 astfold_pattern(pattern_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)
1063 astfold_match_case(match_case_ty node_, PyArena *ctx_, _PyASTOptimizeState *state)