Home
last modified time | relevance | path

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

/third_party/python/Python/
Dast.c758 if (!validate_nonempty_seq(stmt->v.AsyncWith.items, "items", "AsyncWith")) in validate_stmt()
760 for (i = 0; i < asdl_seq_LEN(stmt->v.AsyncWith.items); i++) { in validate_stmt()
761 withitem_ty item = asdl_seq_GET(stmt->v.AsyncWith.items, i); in validate_stmt()
766 ret = validate_body(state, stmt->v.AsyncWith.body, "AsyncWith"); in validate_stmt()
Dast_opt.c733 CALL_SEQ(astfold_withitem, withitem, node_->v.AsyncWith.items); in astfold_stmt()
734 CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncWith.body); in astfold_stmt()
Dsymtable.c1466 VISIT_SEQ(st, withitem, s->v.AsyncWith.items); in symtable_visit_stmt()
1467 VISIT_SEQ(st, stmt, s->v.AsyncWith.body); in symtable_visit_stmt()
Dcompile.c1702 res = find_ann(st->v.AsyncWith.body); in find_ann()
5012 withitem_ty item = asdl_seq_GET(s->v.AsyncWith.items, pos); in compiler_async_with()
5052 if (pos == asdl_seq_LEN(s->v.AsyncWith.items)) in compiler_async_with()
5054 VISIT_SEQ(c, stmt, s->v.AsyncWith.body) in compiler_async_with()
DPython-ast.c2307 p->v.AsyncWith.items = items; in _PyAST_AsyncWith()
2308 p->v.AsyncWith.body = body; in _PyAST_AsyncWith()
2309 p->v.AsyncWith.type_comment = type_comment; in _PyAST_AsyncWith()
3973 value = ast2obj_list(state, (asdl_seq*)o->v.AsyncWith.items, in ast2obj_stmt()
3979 value = ast2obj_list(state, (asdl_seq*)o->v.AsyncWith.body, in ast2obj_stmt()
3985 value = ast2obj_string(state, o->v.AsyncWith.type_comment); in ast2obj_stmt()
/third_party/python/Parser/
DPython.asdl37 | AsyncWith(withitem* items, stmt* body, string? type_comment)
/third_party/python/Include/internal/
Dpycore_ast.h279 } AsyncWith; member
/third_party/python/Doc/library/
Dast.rst1874 AsyncWith(items, body, type_comment)
/third_party/python/Misc/NEWS.d/
D3.8.0a1.rst1718 ``ast.AsyncFunctionDef``, and ``ast.AsyncWith``. Previously, ``col_offset``