Searched refs:asdl_arg_seq (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Parser/ |
D | pegen.c | 1946 _PyPegen_slash_with_default(Parser *p, asdl_arg_seq *plain_names, asdl_seq *names_with_defaults) in _PyPegen_slash_with_default() 1992 static asdl_arg_seq* 1996 asdl_arg_seq *seq = _Py_asdl_arg_seq_new(len, p->arena); in _get_names() 2024 asdl_arg_seq *slash_without_default, in _make_posonlyargs() 2026 asdl_arg_seq **posonlyargs) { in _make_posonlyargs() 2031 asdl_arg_seq *slash_with_default_names = in _make_posonlyargs() 2036 *posonlyargs = (asdl_arg_seq*)_PyPegen_join_sequences( in _make_posonlyargs() 2049 asdl_arg_seq *plain_names, in _make_posargs() 2051 asdl_arg_seq **posargs) { in _make_posargs() 2053 asdl_arg_seq *names_with_default_names = _get_names(p, names_with_default); in _make_posargs() [all …]
|
D | pegen.h | 102 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 *);
|
D | parser.c | 585 static asdl_arg_seq* slash_no_default_rule(Parser *p); 611 static asdl_arg_seq* lambda_slash_no_default_rule(Parser *p); 8975 asdl_arg_seq* a; in parameters_rule() 8976 asdl_arg_seq* b; in parameters_rule() 8982 (b = (asdl_arg_seq*)_loop0_70_rule(p)) // param_no_default* in parameters_rule() 9038 asdl_arg_seq* a; in parameters_rule() 9042 (a = (asdl_arg_seq*)_loop1_73_rule(p)) // param_no_default+ in parameters_rule() 9120 static asdl_arg_seq* 9131 asdl_arg_seq* _res = NULL; in slash_no_default_rule() 9141 asdl_arg_seq* a; in slash_no_default_rule() [all …]
|
/third_party/python/Include/internal/ |
D | pycore_ast.h | 102 } 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,
|
/third_party/python/Grammar/ |
D | python.gram | 427 | 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 …]
|
/third_party/python/Python/ |
D | symtable.c | 221 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()
|
D | ast.c | 73 validate_args(struct validator *state, asdl_arg_seq *args) in validate_args()
|
D | Python-ast.c | 3268 _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()
|
D | compile.c | 2084 compiler_visit_kwonlydefaults(struct compiler *c, asdl_arg_seq *kwonlyargs, in compiler_visit_kwonlydefaults() 2173 compiler_visit_argannotations(struct compiler *c, asdl_arg_seq* args, in compiler_visit_argannotations() 2289 compiler_check_debug_args_seq(struct compiler *c, asdl_arg_seq *args) in compiler_check_debug_args_seq()
|