Lines Matching refs:expr_ty
22 static int validate_expr(expr_ty, expr_context_ty);
178 validate_expr(expr_ty exp, expr_context_ty ctx) in validate_expr()
515 expr_ty expr = asdl_seq_GET(exprs, i); in validate_exprs()
567 static expr_ty ast_for_expr(struct compiling *, const node *);
572 static expr_ty ast_for_testlist(struct compiling *, const node *);
579 static expr_ty ast_for_call(struct compiling *, const node *, expr_ty,
583 static expr_ty parsestrplus(struct compiling *, const node *n);
774 expr_ty ret, arg; in PyAST_FromNodeObject()
837 expr_ty testlist_ast; in PyAST_FromNodeObject()
1022 static expr_ty
1023 copy_location(expr_ty e, const node *n, const node *end) in copy_location()
1035 get_expr_name(expr_ty e) in get_expr_name()
1116 set_context(struct compiling *c, expr_ty e, expr_context_ty ctx, const node *n) in set_context()
1169 if (!set_context(c, (expr_ty)asdl_seq_GET(s, i), ctx, n)) in set_context()
1282 expr_ty expression; in seq_for_testlist()
1308 expr_ty annotation = NULL; in ast_for_arg()
1345 expr_ty expression, annotation; in handle_keywordonly_args()
1564 expr_ty expression = ast_for_expr(c, CHILD(n, i + 2)); in ast_for_arguments()
1679 static expr_ty
1695 expr_ty d; in ast_for_decorators()
1721 expr_ty returns = NULL; in ast_for_funcdef_impl()
1858 static expr_ty
1868 expr_ty target, value; in ast_for_namedexpr()
1893 static expr_ty
1899 expr_ty expression; in ast_for_lambdef()
1922 static expr_ty
1926 expr_ty expression, body, orelse; in ast_for_ifexpr()
2034 expr_ty expression, first; in ast_for_comprehension()
2068 first = (expr_ty)asdl_seq_GET(t, 0); in ast_for_comprehension()
2115 static expr_ty
2120 expr_ty elt; in ast_for_itercomp()
2159 expr_ty *key, expr_ty *value) in ast_for_dictelement()
2161 expr_ty expression; in ast_for_dictelement()
2193 static expr_ty
2196 expr_ty key, value; in ast_for_dictcomp()
2213 static expr_ty
2232 expr_ty key, value; in ast_for_dictdisplay()
2247 static expr_ty
2254 static expr_ty
2261 static expr_ty
2268 static expr_ty
2281 expr_ty expression; in ast_for_setdisplay()
2291 static expr_ty
2324 expr_ty str = parsestrplus(c, n); in ast_for_atom()
2419 expr_ty res; in ast_for_atom()
2462 static expr_ty
2466 expr_ty lower = NULL, upper = NULL, step = NULL; in ast_for_slice()
2522 static expr_ty
2531 expr_ty expr1, expr2, result; in ast_for_binop()
2554 expr_ty tmp_result, tmp; in ast_for_binop()
2577 static expr_ty
2578 ast_for_trailer(struct compiling *c, const node *n, expr_ty left_expr, const node *start) in ast_for_trailer()
2607 expr_ty slc = ast_for_slice(c, CHILD(n, 0)); in ast_for_trailer()
2616 expr_ty slc, e; in ast_for_trailer()
2640 static expr_ty
2643 expr_ty expression; in ast_for_factor()
2668 static expr_ty
2672 expr_ty e; in ast_for_atom_expr()
2716 static expr_ty
2721 expr_ty e; in ast_for_power()
2729 expr_ty f = ast_for_expr(c, CHILD(n, NCH(n) - 1)); in ast_for_power()
2738 static expr_ty
2741 expr_ty tmp; in ast_for_starred()
2757 static expr_ty
2807 expr_ty e = ast_for_expr(c, CHILD(n, i)); in ast_for_expr()
2825 expr_ty expression = ast_for_expr(c, CHILD(n, 1)); in ast_for_expr()
2839 expr_ty expression; in ast_for_expr()
2895 expr_ty exp = NULL; in ast_for_expr()
2931 static expr_ty
2932 ast_for_call(struct compiling *c, const node *n, expr_ty func, in ast_for_call()
2989 expr_ty e; in ast_for_call()
3013 expr_ty starred; in ast_for_call()
3135 static expr_ty
3175 expr_ty e = ast_for_testlist(c, CHILD(n, 0)); in ast_for_expr_stmt()
3183 expr_ty expr1, expr2; in ast_for_expr_stmt()
3225 expr_ty expr1, expr2, expr3; in ast_for_expr_stmt()
3312 expr_ty expression; in ast_for_expr_stmt()
3325 expr_ty e; in ast_for_expr_stmt()
3366 expr_ty e; in ast_for_exprlist()
3424 expr_ty exp = ast_for_expr(c, CHILD(ch, 0)); in ast_for_flow_stmt()
3435 expr_ty expression = ast_for_testlist(c, CHILD(ch, 1)); in ast_for_flow_stmt()
3446 expr_ty cause = NULL; in ast_for_flow_stmt()
3447 expr_ty expression = ast_for_expr(c, CHILD(ch, 1)); in ast_for_flow_stmt()
3750 expr_ty expression = ast_for_expr(c, CHILD(n, 1)); in ast_for_assert_stmt()
3757 expr_ty expr1, expr2; in ast_for_assert_stmt()
3872 expr_ty expression; in ast_for_if_stmt()
3893 expr_ty expression; in ast_for_if_stmt()
3912 expr_ty expression; in ast_for_if_stmt()
4000 expr_ty expression; in ast_for_while_stmt()
4014 expr_ty expression; in ast_for_while_stmt()
4043 expr_ty expression; in ast_for_for_stmt()
4044 expr_ty target, first; in ast_for_for_stmt()
4073 first = (expr_ty)asdl_seq_GET(_target, 0); in ast_for_for_stmt()
4131 expr_ty expression; in ast_for_except_clause()
4148 expr_ty expression; in ast_for_except_clause()
4255 expr_ty context_expr, optional_vars = NULL; in ast_for_with_item()
4333 expr_ty call; in ast_for_classdef()
4374 expr_ty dummy; in ast_for_classdef()
4734 static expr_ty
4886 static expr_ty
4907 PyObject **expr_text, expr_ty *expression, in fstring_find_expr()
4914 expr_ty simple_expression; in fstring_find_expr()
4915 expr_ty format_spec = NULL; /* Optional format specifier. */ in fstring_find_expr()
5211 PyObject **expr_text, expr_ty *expression, in fstring_find_literal_and_expr()
5263 expr_ty *p; /* Pointer to the memory we're actually
5266 expr_ty data[EXPRLIST_N_CACHED];
5297 ExprList_Append(ExprList *l, expr_ty exp) in ExprList_Append()
5309 l->p = PyMem_Malloc(sizeof(expr_ty) * new_size); in ExprList_Append()
5317 expr_ty *tmp = PyMem_Realloc(l->p, sizeof(expr_ty) * new_size); in ExprList_Append()
5446 static expr_ty
5505 expr_ty expression = NULL; in FstringParser_ConcatFstring()
5547 expr_ty str = make_str_node_and_del(&state->last_str, c, n); in FstringParser_ConcatFstring()
5574 static expr_ty
5598 expr_ty str = make_str_node_and_del(&state->last_str, c, n); in FstringParser_Finish()
5620 static expr_ty
5761 static expr_ty
5853 expr_ty e = st->v.Expr.value; in _PyAST_GetDocString()