Lines Matching refs:arena
1012 static int obj2ast_object(struct ast_state *Py_UNUSED(state), PyObject* obj, PyObject** out, PyArena* arena)
1017 if (_PyArena_AddPyObject(arena, obj) < 0) {
1027 static int obj2ast_constant(struct ast_state *Py_UNUSED(state), PyObject* obj, PyObject** out, PyArena* arena)
1029 if (_PyArena_AddPyObject(arena, obj) < 0) {
1038 static int obj2ast_identifier(struct ast_state *state, PyObject* obj, PyObject** out, PyArena* arena)
1044 return obj2ast_object(state, obj, out, arena);
1047 static int obj2ast_string(struct ast_state *state, PyObject* obj, PyObject** out, PyArena* arena)
1053 return obj2ast_object(state, obj, out, arena);
1056 static int obj2ast_int(struct ast_state* Py_UNUSED(state), PyObject* obj, int* out, PyArena* arena)
1861 PyArena* arena);
1863 PyArena* arena);
1865 PyArena* arena);
1867 expr_context_ty* out, PyArena* arena);
1869 out, PyArena* arena);
1871 operator_ty* out, PyArena* arena);
1873 out, PyArena* arena);
1875 PyArena* arena);
1877 comprehension_ty* out, PyArena* arena);
1879 excepthandler_ty* out, PyArena* arena);
1881 arguments_ty* out, PyArena* arena);
1883 PyArena* arena);
1885 out, PyArena* arena);
1887 PyArena* arena);
1889 withitem_ty* out, PyArena* arena);
1891 match_case_ty* out, PyArena* arena);
1893 out, PyArena* arena);
1895 type_ignore_ty* out, PyArena* arena);
1899 PyArena *arena)
1902 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
1912 _PyAST_Interactive(asdl_stmt_seq * body, PyArena *arena)
1915 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
1924 _PyAST_Expression(expr_ty body, PyArena *arena)
1932 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
1941 _PyAST_FunctionType(asdl_expr_seq * argtypes, expr_ty returns, PyArena *arena)
1949 p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
1962 int end_col_offset, PyArena *arena)
1975 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
1996 end_lineno, int end_col_offset, PyArena *arena)
2009 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2030 PyArena *arena)
2038 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2056 end_col_offset, PyArena *arena)
2059 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2073 end_lineno, int end_col_offset, PyArena *arena)
2076 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2091 PyArena *arena)
2099 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2115 col_offset, int end_lineno, int end_col_offset, PyArena *arena)
2133 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2150 end_col_offset, PyArena *arena)
2163 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2181 end_lineno, int end_col_offset, PyArena *arena)
2194 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2213 col_offset, int end_lineno, int end_col_offset, PyArena *arena)
2226 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2245 PyArena *arena)
2253 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2270 *arena)
2278 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2295 end_col_offset, PyArena *arena)
2298 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2315 end_col_offset, PyArena *arena)
2318 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2334 col_offset, int end_lineno, int end_col_offset, PyArena *arena)
2342 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2357 end_lineno, int end_col_offset, PyArena *arena)
2360 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2376 col_offset, int end_lineno, int end_col_offset, PyArena *arena)
2379 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2398 *arena)
2401 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2418 end_lineno, int end_col_offset, PyArena *arena)
2426 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2441 end_lineno, int end_col_offset, PyArena *arena)
2444 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2459 PyArena *arena)
2462 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2478 end_lineno, int end_col_offset, PyArena *arena)
2481 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2495 end_lineno, int end_col_offset, PyArena *arena)
2498 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2512 end_col_offset, PyArena *arena)
2520 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2534 PyArena *arena)
2537 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2550 PyArena *arena)
2553 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2566 PyArena *arena)
2569 p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
2582 int end_lineno, int end_col_offset, PyArena *arena)
2590 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2605 end_lineno, int end_col_offset, PyArena *arena)
2618 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2633 col_offset, int end_lineno, int end_col_offset, PyArena *arena)
2651 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2667 end_lineno, int end_col_offset, PyArena *arena)
2680 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2695 end_lineno, int end_col_offset, PyArena *arena)
2708 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2723 col_offset, int end_lineno, int end_col_offset, PyArena *arena)
2741 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2757 col_offset, int end_lineno, int end_col_offset, PyArena *arena)
2760 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2775 int end_col_offset, PyArena *arena)
2778 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2793 *arena)
2801 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2817 *arena)
2825 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2841 end_col_offset, PyArena *arena)
2854 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2871 PyArena *arena)
2879 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2894 end_col_offset, PyArena *arena)
2902 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2916 end_col_offset, PyArena *arena)
2919 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2933 end_col_offset, PyArena *arena)
2941 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2956 PyArena *arena)
2964 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
2981 PyArena *arena)
2989 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3006 end_col_offset, PyArena *arena)
3014 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3030 end_lineno, int end_col_offset, PyArena *arena)
3033 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3047 end_lineno, int end_col_offset, PyArena *arena)
3055 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3071 PyArena *arena)
3089 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3106 *arena)
3124 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3140 int end_lineno, int end_col_offset, PyArena *arena)
3153 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3168 end_lineno, int end_col_offset, PyArena *arena)
3181 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3196 col_offset, int end_lineno, int end_col_offset, PyArena *arena)
3204 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3219 col_offset, int end_lineno, int end_col_offset, PyArena *arena)
3227 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3242 col_offset, int end_lineno, int end_col_offset, PyArena *arena)
3245 p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
3261 is_async, PyArena *arena)
3274 p = (comprehension_ty)_PyArena_Malloc(arena, sizeof(*p));
3287 end_col_offset, PyArena *arena)
3290 p = (excepthandler_ty)_PyArena_Malloc(arena, sizeof(*p));
3308 *arena)
3311 p = (arguments_ty)_PyArena_Malloc(arena, sizeof(*p));
3326 int col_offset, int end_lineno, int end_col_offset, PyArena *arena)
3334 p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p));
3349 end_lineno, int end_col_offset, PyArena *arena)
3357 p = (keyword_ty)_PyArena_Malloc(arena, sizeof(*p));
3371 int end_lineno, int end_col_offset, PyArena *arena)
3379 p = (alias_ty)_PyArena_Malloc(arena, sizeof(*p));
3392 _PyAST_withitem(expr_ty context_expr, expr_ty optional_vars, PyArena *arena)
3400 p = (withitem_ty)_PyArena_Malloc(arena, sizeof(*p));
3410 PyArena *arena)
3418 p = (match_case_ty)_PyArena_Malloc(arena, sizeof(*p));
3429 int end_col_offset, PyArena *arena)
3437 p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
3451 end_lineno, int end_col_offset, PyArena *arena)
3459 p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
3473 int end_lineno, int end_col_offset, PyArena *arena)
3476 p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
3491 end_lineno, int end_col_offset, PyArena *arena)
3494 p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
3512 *arena)
3520 p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
3537 int end_col_offset, PyArena *arena)
3540 p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
3554 int end_lineno, int end_col_offset, PyArena *arena)
3557 p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
3572 end_lineno, int end_col_offset, PyArena *arena)
3575 p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
3588 _PyAST_TypeIgnore(int lineno, string tag, PyArena *arena)
3596 p = (type_ignore_ty)_PyArena_Malloc(arena, sizeof(*p));
5474 obj2ast_mod(struct ast_state *state, PyObject* obj, mod_ty* out, PyArena* arena)
5510 body = _Py_asdl_stmt_seq_new(len, arena);
5519 res = obj2ast_stmt(state, tmp2, &val, arena);
5547 type_ignores = _Py_asdl_type_ignore_seq_new(len, arena);
5556 res = obj2ast_type_ignore(state, tmp2, &val, arena);
5568 *out = _PyAST_Module(body, type_ignores, arena);
5596 body = _Py_asdl_stmt_seq_new(len, arena);
5605 res = obj2ast_stmt(state, tmp2, &val, arena);
5617 *out = _PyAST_Interactive(body, arena);
5641 res = obj2ast_expr(state, tmp, &body, arena);
5646 *out = _PyAST_Expression(body, arena);
5675 argtypes = _Py_asdl_expr_seq_new(len, arena);
5684 res = obj2ast_expr(state, tmp2, &val, arena);
5708 res = obj2ast_expr(state, tmp, &returns, arena);
5713 *out = _PyAST_FunctionType(argtypes, returns, arena);
5726 arena)
5753 res = obj2ast_int(state, tmp, &lineno, arena);
5770 res = obj2ast_int(state, tmp, &col_offset, arena);
5787 res = obj2ast_int(state, tmp, &end_lineno, arena);
5804 res = obj2ast_int(state, tmp, &end_col_offset, arena);
5834 res = obj2ast_identifier(state, tmp, &name, arena);
5851 res = obj2ast_arguments(state, tmp, &args, arena);
5872 body = _Py_asdl_stmt_seq_new(len, arena);
5881 res = obj2ast_stmt(state, tmp2, &val, arena);
5909 decorator_list = _Py_asdl_expr_seq_new(len, arena);
5918 res = obj2ast_expr(state, tmp2, &val, arena);
5942 res = obj2ast_expr(state, tmp, &returns, arena);
5959 res = obj2ast_string(state, tmp, &type_comment, arena);
5966 end_col_offset, arena);
5995 res = obj2ast_identifier(state, tmp, &name, arena);
6012 res = obj2ast_arguments(state, tmp, &args, arena);
6033 body = _Py_asdl_stmt_seq_new(len, arena);
6042 res = obj2ast_stmt(state, tmp2, &val, arena);
6070 decorator_list = _Py_asdl_expr_seq_new(len, arena);
6079 res = obj2ast_expr(state, tmp2, &val, arena);
6103 res = obj2ast_expr(state, tmp, &returns, arena);
6120 res = obj2ast_string(state, tmp, &type_comment, arena);
6128 arena);
6156 res = obj2ast_identifier(state, tmp, &name, arena);
6177 bases = _Py_asdl_expr_seq_new(len, arena);
6186 res = obj2ast_expr(state, tmp2, &val, arena);
6214 keywords = _Py_asdl_keyword_seq_new(len, arena);
6223 res = obj2ast_keyword(state, tmp2, &val, arena);
6251 body = _Py_asdl_stmt_seq_new(len, arena);
6260 res = obj2ast_stmt(state, tmp2, &val, arena);
6288 decorator_list = _Py_asdl_expr_seq_new(len, arena);
6297 res = obj2ast_expr(state, tmp2, &val, arena);
6311 arena);
6335 res = obj2ast_expr(state, tmp, &value, arena);
6341 end_col_offset, arena);
6369 targets = _Py_asdl_expr_seq_new(len, arena);
6378 res = obj2ast_expr(state, tmp2, &val, arena);
6391 end_col_offset, arena);
6421 targets = _Py_asdl_expr_seq_new(len, arena);
6430 res = obj2ast_expr(state, tmp2, &val, arena);
6454 res = obj2ast_expr(state, tmp, &value, arena);
6471 res = obj2ast_string(state, tmp, &type_comment, arena);
6477 end_lineno, end_col_offset, arena);
6503 res = obj2ast_expr(state, tmp, &target, arena);
6520 res = obj2ast_operator(state, tmp, &op, arena);
6537 res = obj2ast_expr(state, tmp, &value, arena);
6543 end_lineno, end_col_offset, arena);
6570 res = obj2ast_expr(state, tmp, &target, arena);
6587 res = obj2ast_expr(state, tmp, &annotation, arena);
6604 res = obj2ast_expr(state, tmp, &value, arena);
6621 res = obj2ast_int(state, tmp, &simple, arena);
6627 col_offset, end_lineno, end_col_offset, arena);
6655 res = obj2ast_expr(state, tmp, &target, arena);
6672 res = obj2ast_expr(state, tmp, &iter, arena);
6693 body = _Py_asdl_stmt_seq_new(len, arena);
6702 res = obj2ast_stmt(state, tmp2, &val, arena);
6730 orelse = _Py_asdl_stmt_seq_new(len, arena);
6739 res = obj2ast_stmt(state, tmp2, &val, arena);
6763 res = obj2ast_string(state, tmp, &type_comment, arena);
6769 col_offset, end_lineno, end_col_offset, arena);
6797 res = obj2ast_expr(state, tmp, &target, arena);
6814 res = obj2ast_expr(state, tmp, &iter, arena);
6835 body = _Py_asdl_stmt_seq_new(len, arena);
6844 res = obj2ast_stmt(state, tmp2, &val, arena);
6872 orelse = _Py_asdl_stmt_seq_new(len, arena);
6881 res = obj2ast_stmt(state, tmp2, &val, arena);
6905 res = obj2ast_string(state, tmp, &type_comment, arena);
6912 arena);
6938 res = obj2ast_expr(state, tmp, &test, arena);
6959 body = _Py_asdl_stmt_seq_new(len, arena);
6968 res = obj2ast_stmt(state, tmp2, &val, arena);
6996 orelse = _Py_asdl_stmt_seq_new(len, arena);
7005 res = obj2ast_stmt(state, tmp2, &val, arena);
7018 end_col_offset, arena);
7044 res = obj2ast_expr(state, tmp, &test, arena);
7065 body = _Py_asdl_stmt_seq_new(len, arena);
7074 res = obj2ast_stmt(state, tmp2, &val, arena);
7102 orelse = _Py_asdl_stmt_seq_new(len, arena);
7111 res = obj2ast_stmt(state, tmp2, &val, arena);
7124 end_col_offset, arena);
7154 items = _Py_asdl_withitem_seq_new(len, arena);
7163 res = obj2ast_withitem(state, tmp2, &val, arena);
7191 body = _Py_asdl_stmt_seq_new(len, arena);
7200 res = obj2ast_stmt(state, tmp2, &val, arena);
7224 res = obj2ast_string(state, tmp, &type_comment, arena);
7230 end_lineno, end_col_offset, arena);
7260 items = _Py_asdl_withitem_seq_new(len, arena);
7269 res = obj2ast_withitem(state, tmp2, &val, arena);
7297 body = _Py_asdl_stmt_seq_new(len, arena);
7306 res = obj2ast_stmt(state, tmp2, &val, arena);
7330 res = obj2ast_string(state, tmp, &type_comment, arena);
7336 end_lineno, end_col_offset, arena);
7361 res = obj2ast_expr(state, tmp, &subject, arena);
7382 cases = _Py_asdl_match_case_seq_new(len, arena);
7391 res = obj2ast_match_case(state, tmp2, &val, arena);
7404 end_col_offset, arena);
7429 res = obj2ast_expr(state, tmp, &exc, arena);
7446 res = obj2ast_expr(state, tmp, &cause, arena);
7452 end_col_offset, arena);
7483 body = _Py_asdl_stmt_seq_new(len, arena);
7492 res = obj2ast_stmt(state, tmp2, &val, arena);
7520 handlers = _Py_asdl_excepthandler_seq_new(len, arena);
7529 res = obj2ast_excepthandler(state, tmp2, &val, arena);
7557 orelse = _Py_asdl_stmt_seq_new(len, arena);
7566 res = obj2ast_stmt(state, tmp2, &val, arena);
7594 finalbody = _Py_asdl_stmt_seq_new(len, arena);
7603 res = obj2ast_stmt(state, tmp2, &val, arena);
7616 col_offset, end_lineno, end_col_offset, arena);
7647 body = _Py_asdl_stmt_seq_new(len, arena);
7656 res = obj2ast_stmt(state, tmp2, &val, arena);
7684 handlers = _Py_asdl_excepthandler_seq_new(len, arena);
7693 res = obj2ast_excepthandler(state, tmp2, &val, arena);
7721 orelse = _Py_asdl_stmt_seq_new(len, arena);
7730 res = obj2ast_stmt(state, tmp2, &val, arena);
7758 finalbody = _Py_asdl_stmt_seq_new(len, arena);
7767 res = obj2ast_stmt(state, tmp2, &val, arena);
7780 col_offset, end_lineno, end_col_offset, arena);
7805 res = obj2ast_expr(state, tmp, &test, arena);
7822 res = obj2ast_expr(state, tmp, &msg, arena);
7828 end_col_offset, arena);
7856 names = _Py_asdl_alias_seq_new(len, arena);
7865 res = obj2ast_alias(state, tmp2, &val, arena);
7878 end_col_offset, arena);
7904 res = obj2ast_identifier(state, tmp, &module, arena);
7925 names = _Py_asdl_alias_seq_new(len, arena);
7934 res = obj2ast_alias(state, tmp2, &val, arena);
7958 res = obj2ast_int(state, tmp, &level, arena);
7964 end_lineno, end_col_offset, arena);
7992 names = _Py_asdl_identifier_seq_new(len, arena);
8001 res = obj2ast_identifier(state, tmp2, &val, arena);
8014 end_col_offset, arena);
8042 names = _Py_asdl_identifier_seq_new(len, arena);
8051 res = obj2ast_identifier(state, tmp2, &val, arena);
8064 end_col_offset, arena);
8088 res = obj2ast_expr(state, tmp, &value, arena);
8094 end_col_offset, arena);
8106 arena);
8118 arena);
8130 arena);
8143 arena)
8170 res = obj2ast_int(state, tmp, &lineno, arena);
8187 res = obj2ast_int(state, tmp, &col_offset, arena);
8204 res = obj2ast_int(state, tmp, &end_lineno, arena);
8221 res = obj2ast_int(state, tmp, &end_col_offset, arena);
8247 res = obj2ast_boolop(state, tmp, &op, arena);
8268 values = _Py_asdl_expr_seq_new(len, arena);
8277 res = obj2ast_expr(state, tmp2, &val, arena);
8290 end_col_offset, arena);
8315 res = obj2ast_expr(state, tmp, &target, arena);
8332 res = obj2ast_expr(state, tmp, &value, arena);
8338 end_col_offset, arena);
8364 res = obj2ast_expr(state, tmp, &left, arena);
8381 res = obj2ast_operator(state, tmp, &op, arena);
8398 res = obj2ast_expr(state, tmp, &right, arena);
8404 end_col_offset, arena);
8429 res = obj2ast_unaryop(state, tmp, &op, arena);
8446 res = obj2ast_expr(state, tmp, &operand, arena);
8452 end_col_offset, arena);
8477 res = obj2ast_arguments(state, tmp, &args, arena);
8494 res = obj2ast_expr(state, tmp, &body, arena);
8500 end_col_offset, arena);
8526 res = obj2ast_expr(state, tmp, &test, arena);
8543 res = obj2ast_expr(state, tmp, &body, arena);
8560 res = obj2ast_expr(state, tmp, &orelse, arena);
8566 end_col_offset, arena);
8595 keys = _Py_asdl_expr_seq_new(len, arena);
8604 res = obj2ast_expr(state, tmp2, &val, arena);
8632 values = _Py_asdl_expr_seq_new(len, arena);
8641 res = obj2ast_expr(state, tmp2, &val, arena);
8654 end_col_offset, arena);
8682 elts = _Py_asdl_expr_seq_new(len, arena);
8691 res = obj2ast_expr(state, tmp2, &val, arena);
8704 arena);
8729 res = obj2ast_expr(state, tmp, &elt, arena);
8750 generators = _Py_asdl_comprehension_seq_new(len, arena);
8759 res = obj2ast_comprehension(state, tmp2, &val, arena);
8772 end_col_offset, arena);
8797 res = obj2ast_expr(state, tmp, &elt, arena);
8818 generators = _Py_asdl_comprehension_seq_new(len, arena);
8827 res = obj2ast_comprehension(state, tmp2, &val, arena);
8840 end_col_offset, arena);
8866 res = obj2ast_expr(state, tmp, &key, arena);
8883 res = obj2ast_expr(state, tmp, &value, arena);
8904 generators = _Py_asdl_comprehension_seq_new(len, arena);
8913 res = obj2ast_comprehension(state, tmp2, &val, arena);
8926 end_lineno, end_col_offset, arena);
8951 res = obj2ast_expr(state, tmp, &elt, arena);
8972 generators = _Py_asdl_comprehension_seq_new(len, arena);
8981 res = obj2ast_comprehension(state, tmp2, &val, arena);
8994 end_lineno, end_col_offset, arena);
9018 res = obj2ast_expr(state, tmp, &value, arena);
9024 end_col_offset, arena);
9048 res = obj2ast_expr(state, tmp, &value, arena);
9054 end_col_offset, arena);
9078 res = obj2ast_expr(state, tmp, &value, arena);
9084 end_col_offset, arena);
9110 res = obj2ast_expr(state, tmp, &left, arena);
9131 ops = _Py_asdl_int_seq_new(len, arena);
9140 res = obj2ast_cmpop(state, tmp2, &val, arena);
9168 comparators = _Py_asdl_expr_seq_new(len, arena);
9177 res = obj2ast_expr(state, tmp2, &val, arena);
9190 end_lineno, end_col_offset, arena);
9216 res = obj2ast_expr(state, tmp, &func, arena);
9237 args = _Py_asdl_expr_seq_new(len, arena);
9246 res = obj2ast_expr(state, tmp2, &val, arena);
9274 keywords = _Py_asdl_keyword_seq_new(len, arena);
9283 res = obj2ast_keyword(state, tmp2, &val, arena);
9296 end_lineno, end_col_offset, arena);
9322 res = obj2ast_expr(state, tmp, &value, arena);
9339 res = obj2ast_int(state, tmp, &conversion, arena);
9356 res = obj2ast_expr(state, tmp, &format_spec, arena);
9363 arena);
9391 values = _Py_asdl_expr_seq_new(len, arena);
9400 res = obj2ast_expr(state, tmp2, &val, arena);
9413 end_col_offset, arena);
9438 res = obj2ast_constant(state, tmp, &value, arena);
9455 res = obj2ast_string(state, tmp, &kind, arena);
9461 end_col_offset, arena);
9487 res = obj2ast_expr(state, tmp, &value, arena);
9504 res = obj2ast_identifier(state, tmp, &attr, arena);
9521 res = obj2ast_expr_context(state, tmp, &ctx, arena);
9527 end_lineno, end_col_offset, arena);
9553 res = obj2ast_expr(state, tmp, &value, arena);
9570 res = obj2ast_expr(state, tmp, &slice, arena);
9587 res = obj2ast_expr_context(state, tmp, &ctx, arena);
9593 end_lineno, end_col_offset, arena);
9618 res = obj2ast_expr(state, tmp, &value, arena);
9635 res = obj2ast_expr_context(state, tmp, &ctx, arena);
9641 end_col_offset, arena);
9666 res = obj2ast_identifier(state, tmp, &id, arena);
9683 res = obj2ast_expr_context(state, tmp, &ctx, arena);
9689 end_col_offset, arena);
9718 elts = _Py_asdl_expr_seq_new(len, arena);
9727 res = obj2ast_expr(state, tmp2, &val, arena);
9751 res = obj2ast_expr_context(state, tmp, &ctx, arena);
9757 end_col_offset, arena);
9786 elts = _Py_asdl_expr_seq_new(len, arena);
9795 res = obj2ast_expr(state, tmp2, &val, arena);
9819 res = obj2ast_expr_context(state, tmp, &ctx, arena);
9825 end_col_offset, arena);
9851 res = obj2ast_expr(state, tmp, &lower, arena);
9868 res = obj2ast_expr(state, tmp, &upper, arena);
9885 res = obj2ast_expr(state, tmp, &step, arena);
9891 end_col_offset, arena);
9904 out, PyArena* arena)
9939 arena)
9966 PyArena* arena)
10081 PyArena* arena)
10124 arena)
10215 out, PyArena* arena)
10235 res = obj2ast_expr(state, tmp, &target, arena);
10252 res = obj2ast_expr(state, tmp, &iter, arena);
10273 ifs = _Py_asdl_expr_seq_new(len, arena);
10282 res = obj2ast_expr(state, tmp2, &val, arena);
10306 res = obj2ast_int(state, tmp, &is_async, arena);
10311 *out = _PyAST_comprehension(target, iter, ifs, is_async, arena);
10320 out, PyArena* arena)
10347 res = obj2ast_int(state, tmp, &lineno, arena);
10364 res = obj2ast_int(state, tmp, &col_offset, arena);
10381 res = obj2ast_int(state, tmp, &end_lineno, arena);
10398 res = obj2ast_int(state, tmp, &end_col_offset, arena);
10425 res = obj2ast_expr(state, tmp, &type, arena);
10442 res = obj2ast_identifier(state, tmp, &name, arena);
10463 body = _Py_asdl_stmt_seq_new(len, arena);
10472 res = obj2ast_stmt(state, tmp2, &val, arena);
10485 end_lineno, end_col_offset, arena);
10498 PyArena* arena)
10525 posonlyargs = _Py_asdl_arg_seq_new(len, arena);
10534 res = obj2ast_arg(state, tmp2, &val, arena);
10562 args = _Py_asdl_arg_seq_new(len, arena);
10571 res = obj2ast_arg(state, tmp2, &val, arena);
10595 res = obj2ast_arg(state, tmp, &vararg, arena);
10616 kwonlyargs = _Py_asdl_arg_seq_new(len, arena);
10625 res = obj2ast_arg(state, tmp2, &val, arena);
10653 kw_defaults = _Py_asdl_expr_seq_new(len, arena);
10662 res = obj2ast_expr(state, tmp2, &val, arena);
10686 res = obj2ast_arg(state, tmp, &kwarg, arena);
10707 defaults = _Py_asdl_expr_seq_new(len, arena);
10716 res = obj2ast_expr(state, tmp2, &val, arena);
10729 kwarg, defaults, arena);
10737 obj2ast_arg(struct ast_state *state, PyObject* obj, arg_ty* out, PyArena* arena)
10760 res = obj2ast_identifier(state, tmp, &arg, arena);
10777 res = obj2ast_expr(state, tmp, &annotation, arena);
10794 res = obj2ast_string(state, tmp, &type_comment, arena);
10811 res = obj2ast_int(state, tmp, &lineno, arena);
10828 res = obj2ast_int(state, tmp, &col_offset, arena);
10845 res = obj2ast_int(state, tmp, &end_lineno, arena);
10862 res = obj2ast_int(state, tmp, &end_col_offset, arena);
10868 end_lineno, end_col_offset, arena);
10877 PyArena* arena)
10899 res = obj2ast_identifier(state, tmp, &arg, arena);
10916 res = obj2ast_expr(state, tmp, &value, arena);
10933 res = obj2ast_int(state, tmp, &lineno, arena);
10950 res = obj2ast_int(state, tmp, &col_offset, arena);
10967 res = obj2ast_int(state, tmp, &end_lineno, arena);
10984 res = obj2ast_int(state, tmp, &end_col_offset, arena);
10990 end_col_offset, arena);
10999 arena)
11021 res = obj2ast_identifier(state, tmp, &name, arena);
11038 res = obj2ast_identifier(state, tmp, &asname, arena);
11055 res = obj2ast_int(state, tmp, &lineno, arena);
11072 res = obj2ast_int(state, tmp, &col_offset, arena);
11089 res = obj2ast_int(state, tmp, &end_lineno, arena);
11106 res = obj2ast_int(state, tmp, &end_col_offset, arena);
11112 end_col_offset, arena);
11121 PyArena* arena)
11139 res = obj2ast_expr(state, tmp, &context_expr, arena);
11156 res = obj2ast_expr(state, tmp, &optional_vars, arena);
11161 *out = _PyAST_withitem(context_expr, optional_vars, arena);
11170 PyArena* arena)
11189 res = obj2ast_pattern(state, tmp, &pattern, arena);
11206 res = obj2ast_expr(state, tmp, &guard, arena);
11227 body = _Py_asdl_stmt_seq_new(len, arena);
11236 res = obj2ast_stmt(state, tmp2, &val, arena);
11248 *out = _PyAST_match_case(pattern, guard, body, arena);
11257 PyArena* arena)
11284 res = obj2ast_int(state, tmp, &lineno, arena);
11301 res = obj2ast_int(state, tmp, &col_offset, arena);
11318 res = obj2ast_int(state, tmp, &end_lineno, arena);
11335 res = obj2ast_int(state, tmp, &end_col_offset, arena);
11360 res = obj2ast_expr(state, tmp, &value, arena);
11366 end_col_offset, arena);
11390 res = obj2ast_constant(state, tmp, &value, arena);
11396 end_col_offset, arena);
11424 patterns = _Py_asdl_pattern_seq_new(len, arena);
11433 res = obj2ast_pattern(state, tmp2, &val, arena);
11446 end_col_offset, arena);
11476 keys = _Py_asdl_expr_seq_new(len, arena);
11485 res = obj2ast_expr(state, tmp2, &val, arena);
11513 patterns = _Py_asdl_pattern_seq_new(len, arena);
11522 res = obj2ast_pattern(state, tmp2, &val, arena);
11546 res = obj2ast_identifier(state, tmp, &rest, arena);
11552 end_lineno, end_col_offset, arena);
11579 res = obj2ast_expr(state, tmp, &cls, arena);
11600 patterns = _Py_asdl_pattern_seq_new(len, arena);
11609 res = obj2ast_pattern(state, tmp2, &val, arena);
11637 kwd_attrs = _Py_asdl_identifier_seq_new(len, arena);
11646 res = obj2ast_identifier(state, tmp2, &val, arena);
11674 kwd_patterns = _Py_asdl_pattern_seq_new(len, arena);
11683 res = obj2ast_pattern(state, tmp2, &val, arena);
11697 end_col_offset, arena);
11721 res = obj2ast_identifier(state, tmp, &name, arena);
11727 end_col_offset, arena);
11752 res = obj2ast_pattern(state, tmp, &pattern, arena);
11769 res = obj2ast_identifier(state, tmp, &name, arena);
11775 end_col_offset, arena);
11803 patterns = _Py_asdl_pattern_seq_new(len, arena);
11812 res = obj2ast_pattern(state, tmp2, &val, arena);
11825 end_col_offset, arena);
11838 out, PyArena* arena)
11870 res = obj2ast_int(state, tmp, &lineno, arena);
11887 res = obj2ast_string(state, tmp, &tag, arena);
11892 *out = _PyAST_TypeIgnore(lineno, tag, arena);
12346 mod_ty PyAST_obj2mod(PyObject* ast, PyArena* arena, int mode)
12377 if (obj2ast_mod(state, ast, &res, arena) != 0)