Home
last modified time | relevance | path

Searched refs:keyword_ty (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Include/internal/
Dpycore_ast.h42 typedef struct _keyword *keyword_ty; typedef
108 keyword_ty typed_elements[1];
801 keyword_ty _PyAST_keyword(identifier arg, expr_ty value, int lineno, int
/third_party/python/Python/
Dast_unparse.c521 append_ast_keyword(_PyUnicodeWriter *writer, keyword_ty kw) in append_ast_keyword()
567 APPEND(keyword, (keyword_ty)asdl_seq_GET(e->v.Call.keywords, i)); in append_ast_call()
Dast_opt.c409 static int astfold_keyword(keyword_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
613 astfold_keyword(keyword_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) in astfold_keyword()
Dcompile.c273 static int compiler_visit_keyword(struct compiler *, keyword_ty);
4273 keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i)); in validate_keywords()
4281 keyword_ty other = ((keyword_ty)asdl_seq_GET(keywords, j)); in validate_keywords()
4387 keyword_ty kw; in compiler_subkwargs()
4401 key = ((keyword_ty) asdl_seq_GET(keywords, i))->arg; in compiler_subkwargs()
4452 keyword_ty kw = asdl_seq_GET(keywords, i); in compiler_call_helper()
4472 keyword_ty kw = asdl_seq_GET(keywords, i); in compiler_call_helper()
4502 keyword_ty kw = asdl_seq_GET(keywords, i); in compiler_call_helper()
4954 compiler_visit_keyword(struct compiler *c, keyword_ty k) in compiler_visit_keyword()
Dsymtable.c220 static int symtable_visit_keyword(struct symtable *st, keyword_ty);
2008 symtable_visit_keyword(struct symtable *st, keyword_ty k) in symtable_visit_keyword()
DPython-ast.c367 GENERATE_ASDL_SEQ_CONSTRUCTOR(keyword, keyword_ty)
1869 static int obj2ast_keyword(struct ast_state *state, PyObject* obj, keyword_ty*
3310 keyword_ty
3314 keyword_ty p; in _PyAST_keyword()
3320 p = (keyword_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_keyword()
4983 keyword_ty o = (keyword_ty)_o; in ast2obj_keyword()
6074 keyword_ty val; in obj2ast_stmt()
8970 keyword_ty val; in obj2ast_expr()
10569 obj2ast_keyword(struct ast_state *state, PyObject* obj, keyword_ty* out, in obj2ast_keyword()
/third_party/python/Grammar/
Dpython.gram766 … _PyPegen_keyword_or_starred(p, CHECK(keyword_ty, _PyAST_keyword(a->v.Name.id, b, EXTRA)), 1) }
771 … _PyPegen_keyword_or_starred(p, CHECK(keyword_ty, _PyAST_keyword(a->v.Name.id, b, EXTRA)), 1) }
772 …| '**' a=expression { _PyPegen_keyword_or_starred(p, CHECK(keyword_ty, _PyAST_keyword(NULL, a, EXT…
/third_party/python/Parser/
Dpegen.c2524 keyword_ty keyword = asdl_seq_GET(e->v.Call.keywords, i); in _PyPegen_arguments_parsing_error()
Dparser.c16687 …_res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id … in kwarg_or_starred_rule()
16798 …_res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id … in kwarg_or_double_starred_rule()
16834 …_res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( NULL , a , EXTRA ) … in kwarg_or_double_starred_rule()