Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
Dpycore_ast.h34 typedef struct _comprehension *comprehension_ty; typedef
78 comprehension_ty typed_elements[1];
787 comprehension_ty _PyAST_comprehension(expr_ty target, expr_ty iter,
/third_party/python/Python/
Dast_unparse.c388 append_ast_comprehension(_PyUnicodeWriter *writer, comprehension_ty gen) in append_ast_comprehension()
412 APPEND(comprehension, (comprehension_ty)asdl_seq_GET(comprehensions, i)); in append_ast_comprehensions()
Dsymtable.c219 static int symtable_visit_comprehension(struct symtable *st, comprehension_ty);
1991 symtable_visit_comprehension(struct symtable *st, comprehension_ty lc) in symtable_visit_comprehension()
2021 comprehension_ty outermost = ((comprehension_ty) in symtable_handle_comprehension()
Dast_opt.c408 static int astfold_comprehension(comprehension_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
620 astfold_comprehension(comprehension_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) in astfold_comprehension()
Dcompile.c4563 comprehension_ty gen; in compiler_comprehension_generator()
4564 gen = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_comprehension_generator()
4583 comprehension_ty gen; in compiler_sync_comprehension_generator()
4596 gen = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_sync_comprehension_generator()
4699 comprehension_ty gen; in compiler_async_comprehension_generator()
4710 gen = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_async_comprehension_generator()
4797 comprehension_ty outermost; in compiler_comprehension()
4805 outermost = (comprehension_ty) asdl_seq_GET(generators, 0); in compiler_comprehension()
DPython-ast.c363 GENERATE_ASDL_SEQ_CONSTRUCTOR(comprehension, comprehension_ty)
1862 comprehension_ty* out, PyArena* arena);
3222 comprehension_ty
3226 comprehension_ty p; in _PyAST_comprehension()
3237 p = (comprehension_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_comprehension()
4777 comprehension_ty o = (comprehension_ty)_o; in ast2obj_comprehension()
8446 comprehension_ty val; in obj2ast_expr()
8514 comprehension_ty val; in obj2ast_expr()
8600 comprehension_ty val; in obj2ast_expr()
8668 comprehension_ty val; in obj2ast_expr()
[all …]
Dast.c53 comprehension_ty comp = asdl_seq_GET(gens, i); in validate_comprehension()
/third_party/python/Grammar/
Dpython.gram735 for_if_clause[comprehension_ty]:
737 …CHECK_VERSION(comprehension_ty, 6, "Async comprehensions are", _PyAST_comprehension(a, b, c, 1, p-…
833 …RAISE_SYNTAX_ERROR_KNOWN_RANGE(a, PyPegen_last_item(b, comprehension_ty)->target, "Generator expre…
/third_party/python/Parser/
Dpegen.c2565 _PyPegen_get_last_comprehension_item(comprehension_ty comprehension) { in _PyPegen_get_last_comprehension_item()
2587 comprehension_ty last_comprehension = PyPegen_last_item(comprehensions, comprehension_ty); in _PyPegen_nonparen_genexp_in_call()
Dparser.c661 static comprehension_ty for_if_clause_rule(Parser *p);
16057 static comprehension_ty
16068 comprehension_ty _res = NULL; in for_if_clause_rule()
16100 …_res = CHECK_VERSION ( comprehension_ty , 6 , "Async comprehensions are" , _PyAST_comprehension ( … in for_if_clause_rule()
18442 …_res = RAISE_SYNTAX_ERROR_KNOWN_RANGE ( a , PyPegen_last_item ( b , comprehension_ty ) -> target ,… in invalid_arguments_rule()
29533 comprehension_ty for_if_clause_var; in _loop1_120_rule()