Lines Matching refs:ast_error
651 ast_error(struct compiling *c, const node *n, const char *errmsg, ...) in ast_error() function
978 ast_error(c, n, in get_operator()
1015 ast_error(c, n, "cannot assign to %U", name); in forbidden_name()
1154 ast_error(c, n, "cannot %s %s", in set_context()
1210 ast_error(c, n, in ast_for_augassign()
1351 ast_error(c, CHILD(n, start), "named arguments must follow bare *"); in handle_keywordonly_args()
1405 ast_error(c, ch, "unexpected node"); in handle_keywordonly_args()
1573 ast_error(c, n, in ast_for_arguments()
1601 ast_error(c, CHILD(n, i), in ast_for_arguments()
1611 ast_error(c, CHILD(n, i), in ast_for_arguments()
1728 ast_error(c, n, in ast_for_funcdef_impl()
1766 ast_error(c, n, "Cannot have two type comments on def"); in ast_for_funcdef_impl()
1881 ast_error(c, n, "cannot use assignment expressions with %s", expr_name); in ast_for_namedexpr()
2053 ast_error(c, n, in ast_for_comprehension()
2131 ast_error(c, ch, "iterable unpacking cannot be used in comprehension"); in ast_for_itercomp()
2336 ast_error(c, n, "(%s) %U", errtype, errstr); in ast_for_atom()
2341 ast_error(c, n, "(%s) unknown error", errtype); in ast_for_atom()
2356 ast_error(c, ch, in ast_for_atom()
2443 ast_error(c, n, in ast_for_atom()
2679 ast_error(c, n, in ast_for_atom_expr()
2957 ast_error(c, ch, "invalid syntax"); in ast_for_call()
2961 ast_error(c, ch, "Generator expression must be parenthesized"); in ast_for_call()
2995 ast_error(c, chch, in ast_for_call()
3000 ast_error(c, chch, in ast_for_call()
3015 ast_error(c, chch, in ast_for_call()
3055 ast_error(c, chch, in ast_for_call()
3060 ast_error(c, chch, in ast_for_call()
3106 ast_error(c, chch, in ast_for_call()
3199 ast_error(c, ch, "'%s' is an illegal expression for augmented assignment", in ast_for_expr_stmt()
3232 ast_error(c, ch, in ast_for_expr_stmt()
3266 ast_error(c, ch, in ast_for_expr_stmt()
3270 ast_error(c, ch, in ast_for_expr_stmt()
3274 ast_error(c, ch, in ast_for_expr_stmt()
3328 ast_error(c, ch, "assignment to yield expression not possible"); in ast_for_expr_stmt()
3658 ast_error(c, n, in ast_for_import_stmt()
3665 ast_error(c, n, "Unexpected node-type in from-import"); in ast_for_import_stmt()
4051 ast_error(c, n, in ast_for_for_stmt()
4214 ast_error(c, n, "malformed 'try' statement"); in ast_for_try_stmt()
4285 ast_error(c, n, in ast_for_with_stmt()
4576 ast_error(c, n, "%U", msg); in warn_invalid_escape_sequence()
4763 ast_error(c, n, "f-string: empty expression not allowed"); in fstring_compile_expr()
4856 ast_error(c, n, "f-string: single '}' is not allowed"); in fstring_find_literal()
4936 ast_error(c, n, "f-string: expressions nested too deeply"); in fstring_find_expr()
4962 ast_error(c, n, in fstring_find_expr()
5009 ast_error(c, n, "f-string: too many nested parenthesis"); in fstring_find_expr()
5017 ast_error(c, n, "f-string expression part cannot include '#'"); in fstring_find_expr()
5048 ast_error(c, n, "f-string: unmatched '%c'", ch); in fstring_find_expr()
5057 ast_error(c, n, in fstring_find_expr()
5073 ast_error(c, n, "f-string: unterminated string"); in fstring_find_expr()
5078 ast_error(c, n, "f-string: unmatched '%c'", opening); in fstring_find_expr()
5096 ast_error(c, n, in fstring_find_expr()
5128 ast_error(c, n, in fstring_find_expr()
5176 ast_error(c, n, "f-string: expecting '}'"); in fstring_find_expr()
5560 ast_error(c, n, "f-string: unexpected end of string"); in FstringParser_ConcatFstring()
5564 ast_error(c, n, "f-string: expecting '}'"); in FstringParser_ConcatFstring()
5680 ast_error(c, n, "Format strings are only supported in Python 3.6 and greater"); in parsestr()
5734 ast_error(c, n, in parsestr()
5785 ast_error(c, n, "cannot mix bytes and nonbytes literals"); in parsestrplus()