Home
last modified time | relevance | path

Searched refs:asdl_arg_seq (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Parser/
Dpegen.c1971 _PyPegen_slash_with_default(Parser *p, asdl_arg_seq *plain_names, asdl_seq *names_with_defaults) in _PyPegen_slash_with_default()
2017 static asdl_arg_seq*
2021 asdl_arg_seq *seq = _Py_asdl_arg_seq_new(len, p->arena); in _get_names()
2049 asdl_arg_seq *slash_without_default, in _make_posonlyargs()
2051 asdl_arg_seq **posonlyargs) { in _make_posonlyargs()
2056 asdl_arg_seq *slash_with_default_names = in _make_posonlyargs()
2061 *posonlyargs = (asdl_arg_seq*)_PyPegen_join_sequences( in _make_posonlyargs()
2074 asdl_arg_seq *plain_names, in _make_posargs()
2076 asdl_arg_seq **posargs) { in _make_posargs()
2078 asdl_arg_seq *names_with_default_names = _get_names(p, names_with_default); in _make_posargs()
[all …]
Dpegen.h102 asdl_arg_seq *plain_names;
276 SlashWithDefault *_PyPegen_slash_with_default(Parser *, asdl_arg_seq *, asdl_seq *);
278 arguments_ty _PyPegen_make_arguments(Parser *, asdl_arg_seq *, SlashWithDefault *,
279 asdl_arg_seq *, asdl_seq *, StarEtc *);
Dparser.c585 static asdl_arg_seq* slash_no_default_rule(Parser *p);
611 static asdl_arg_seq* lambda_slash_no_default_rule(Parser *p);
8971 asdl_arg_seq* a; in parameters_rule()
8972 asdl_arg_seq* b; in parameters_rule()
8978 (b = (asdl_arg_seq*)_loop0_70_rule(p)) // param_no_default* in parameters_rule()
9034 asdl_arg_seq* a; in parameters_rule()
9038 (a = (asdl_arg_seq*)_loop1_73_rule(p)) // param_no_default+ in parameters_rule()
9116 static asdl_arg_seq*
9127 asdl_arg_seq* _res = NULL; in slash_no_default_rule()
9137 asdl_arg_seq* a; in slash_no_default_rule()
[all …]
/external/python/cpython3/Include/internal/
Dpycore_ast.h102 } asdl_arg_seq; typedef
104 asdl_arg_seq *_Py_asdl_arg_seq_new(Py_ssize_t size, PyArena *arena);
514 asdl_arg_seq *posonlyargs;
515 asdl_arg_seq *args;
517 asdl_arg_seq *kwonlyargs;
794 arguments_ty _PyAST_arguments(asdl_arg_seq * posonlyargs, asdl_arg_seq * args,
795 arg_ty vararg, asdl_arg_seq * kwonlyargs,
/external/python/cpython3/Grammar/
Dpython.gram427 | a=slash_no_default b[asdl_arg_seq*]=param_no_default* c=param_with_default* d=[star_etc] {
431 | a[asdl_arg_seq*]=param_no_default+ b=param_with_default* c=[star_etc] {
439 slash_no_default[asdl_arg_seq*]:
440 | a[asdl_arg_seq*]=param_no_default+ '/' ',' { a }
441 | a[asdl_arg_seq*]=param_no_default+ '/' &')' { a }
443 …_no_default* b=param_with_default+ '/' ',' { _PyPegen_slash_with_default(p, (asdl_arg_seq *)a, b) }
444 …no_default* b=param_with_default+ '/' &')' { _PyPegen_slash_with_default(p, (asdl_arg_seq *)a, b) }
550 …| a=lambda_slash_no_default b[asdl_arg_seq*]=lambda_param_no_default* c=lambda_param_with_default*…
554 | a[asdl_arg_seq*]=lambda_param_no_default+ b=lambda_param_with_default* c=[lambda_star_etc] {
559 lambda_slash_no_default[asdl_arg_seq*]:
[all …]
/external/python/cpython3/Python/
Dsymtable.c221 static int symtable_visit_params(struct symtable *st, asdl_arg_seq *args);
223 static int symtable_visit_argannotations(struct symtable *st, asdl_arg_seq *args);
1807 symtable_visit_params(struct symtable *st, asdl_arg_seq *args) in symtable_visit_params()
1842 symtable_visit_argannotations(struct symtable *st, asdl_arg_seq *args) in symtable_visit_argannotations()
Dast.c73 validate_args(struct validator *state, asdl_arg_seq *args) in validate_args()
DPython-ast.c3268 _PyAST_arguments(asdl_arg_seq * posonlyargs, asdl_arg_seq * args, arg_ty in _PyAST_arguments()
3269 vararg, asdl_arg_seq * kwonlyargs, asdl_expr_seq * in _PyAST_arguments()
10194 asdl_arg_seq* posonlyargs; in obj2ast_arguments()
10195 asdl_arg_seq* args; in obj2ast_arguments()
10197 asdl_arg_seq* kwonlyargs; in obj2ast_arguments()
Dcompile.c2086 compiler_visit_kwonlydefaults(struct compiler *c, asdl_arg_seq *kwonlyargs, in compiler_visit_kwonlydefaults()
2175 compiler_visit_argannotations(struct compiler *c, asdl_arg_seq* args, in compiler_visit_argannotations()
2291 compiler_check_debug_args_seq(struct compiler *c, asdl_arg_seq *args) in compiler_check_debug_args_seq()
/external/python/cpython3/Doc/data/
Dpython3.10.abi13973 …<typedef-decl name='asdl_arg_seq' type-id='type-id-575' filepath='./Include/internal/pycore_ast.h'…