Searched refs:arg_ty (Results 1 – 12 of 12) sorted by relevance
/third_party/python/Parser/ |
D | pegen.h | 97 arg_ty arg; 107 arg_ty vararg; 109 arg_ty kwarg; 248 arg_ty _PyPegen_add_type_comment_to_arg(Parser *, arg_ty, Token *); 275 NameDefaultPair *_PyPegen_name_default_pair(Parser *, arg_ty, expr_ty, Token *); 277 StarEtc *_PyPegen_star_etc(Parser *, arg_ty, asdl_seq *, arg_ty);
|
D | pegen.c | 23 arg_ty 24 _PyPegen_add_type_comment_to_arg(Parser *p, arg_ty a, Token *tc) in _PyPegen_add_type_comment_to_arg() 1933 _PyPegen_name_default_pair(Parser *p, arg_ty arg, expr_ty value, Token *tc) in _PyPegen_name_default_pair() 1959 _PyPegen_star_etc(Parser *p, arg_ty vararg, asdl_seq *kwonlyargs, arg_ty kwarg) in _PyPegen_star_etc() 2154 arg_ty vararg = NULL; in _PyPegen_make_arguments() 2165 arg_ty kwarg = NULL; in _PyPegen_make_arguments()
|
D | parser.c | 588 static arg_ty kwds_rule(Parser *p); 589 static arg_ty param_no_default_rule(Parser *p); 592 static arg_ty param_rule(Parser *p); 614 static arg_ty lambda_kwds_rule(Parser *p); 615 static arg_ty lambda_param_no_default_rule(Parser *p); 618 static arg_ty lambda_param_rule(Parser *p); 9310 arg_ty a; in star_etc_rule() 9375 arg_ty a; in star_etc_rule() 9419 static arg_ty 9430 arg_ty _res = NULL; in kwds_rule() [all …]
|
/third_party/python/Include/internal/ |
D | pycore_ast.h | 40 typedef struct _arg *arg_ty; typedef 101 arg_ty typed_elements[1]; 516 arg_ty vararg; 519 arg_ty kwarg; 795 arg_ty vararg, asdl_arg_seq * kwonlyargs, 796 asdl_expr_seq * kw_defaults, arg_ty kwarg, 798 arg_ty _PyAST_arg(identifier arg, expr_ty annotation, string type_comment, int
|
/third_party/python/Python/ |
D | ast_unparse.c | 203 append_ast_arg(_PyUnicodeWriter *writer, arg_ty arg) in append_ast_arg() 230 APPEND(arg, (arg_ty)asdl_seq_GET(args->posonlyargs, i)); in append_ast_args() 232 APPEND(arg, (arg_ty)asdl_seq_GET(args->args, i-posonlyarg_count)); in append_ast_args() 259 APPEND(arg, (arg_ty)asdl_seq_GET(args->kwonlyargs, i)); in append_ast_args()
|
D | ast_opt.c | 410 static int astfold_arg(arg_ty node_, PyArena *ctx_, _PyASTOptimizeState *state); 635 CALL_OPT(astfold_arg, arg_ty, node_->vararg); in astfold_arguments() 638 CALL_OPT(astfold_arg, arg_ty, node_->kwarg); in astfold_arguments() 644 astfold_arg(arg_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) in astfold_arg()
|
D | symtable.c | 1815 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in symtable_visit_params() 1850 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in symtable_visit_argannotations()
|
D | Python-ast.c | 366 GENERATE_ASDL_SEQ_CONSTRUCTOR(arg, arg_ty) 1867 static int obj2ast_arg(struct ast_state *state, PyObject* obj, arg_ty* out, 3268 _PyAST_arguments(asdl_arg_seq * posonlyargs, asdl_arg_seq * args, arg_ty in _PyAST_arguments() 3270 kw_defaults, arg_ty kwarg, asdl_expr_seq * defaults, PyArena in _PyAST_arguments() 3287 arg_ty 3291 arg_ty p; in _PyAST_arg() 3297 p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_arg() 4929 arg_ty o = (arg_ty)_o; in ast2obj_arg() 10196 arg_ty vararg; in obj2ast_arguments() 10199 arg_ty kwarg; in obj2ast_arguments() [all …]
|
D | ast.c | 77 arg_ty arg = asdl_seq_GET(args, i); in validate_args()
|
D | compile.c | 2095 arg_ty arg = asdl_seq_GET(kwonlyargs, i); in compiler_visit_kwonlydefaults() 2178 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in compiler_visit_argannotations() 2279 compiler_check_debug_one_arg(struct compiler *c, arg_ty arg) in compiler_check_debug_one_arg()
|
/third_party/python/Grammar/ |
D | python.gram | 454 kwds[arg_ty]: '**' a=param_no_default { a } 468 param_no_default[arg_ty]: 477 param[arg_ty]: a=NAME b=annotation? { _PyAST_arg(a->v.Name.id, b, NULL, EXTRA) } 574 lambda_kwds[arg_ty]: '**' a=lambda_param_no_default { a } 576 lambda_param_no_default[arg_ty]: 585 lambda_param[arg_ty]: a=NAME { _PyAST_arg(a->v.Name.id, NULL, NULL, EXTRA) }
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver.h | 199 const sem::Type* arg_ty);
|