Searched refs:AsyncWith (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Parser/ |
D | Python.asdl | 40 | AsyncWith(withitem* items, stmt* body)
|
/external/python/cpython3/Python/ |
D | ast_opt.c | 748 CALL_SEQ(astfold_withitem, withitem_ty, node_->v.AsyncWith.items); in astfold_stmt() 749 CALL_SEQ(astfold_stmt, stmt_ty, node_->v.AsyncWith.body); in astfold_stmt()
|
D | ast.c | 441 if (!validate_nonempty_seq(stmt->v.AsyncWith.items, "items", "AsyncWith")) in validate_stmt() 443 for (i = 0; i < asdl_seq_LEN(stmt->v.AsyncWith.items); i++) { in validate_stmt() 444 withitem_ty item = asdl_seq_GET(stmt->v.AsyncWith.items, i); in validate_stmt() 449 return validate_body(stmt->v.AsyncWith.body, "AsyncWith"); in validate_stmt() 3898 return AsyncWith(items, body, LINENO(n0), n0->n_col_offset, c->c_arena); in ast_for_with_stmt()
|
D | symtable.c | 1359 VISIT_SEQ(st, withitem, s->v.AsyncWith.items); in symtable_visit_stmt() 1360 VISIT_SEQ(st, stmt, s->v.AsyncWith.body); in symtable_visit_stmt()
|
D | compile.c | 1449 res = find_ann(st->v.AsyncWith.body); in find_ann() 4237 withitem_ty item = asdl_seq_GET(s->v.AsyncWith.items, pos); in compiler_async_with() 4274 if (pos == asdl_seq_LEN(s->v.AsyncWith.items)) in compiler_async_with() 4276 VISIT_SEQ(c, stmt, s->v.AsyncWith.body) in compiler_async_with()
|
D | Python-ast.c | 1554 AsyncWith(asdl_seq * items, asdl_seq * body, int lineno, int col_offset, in AsyncWith() function 1562 p->v.AsyncWith.items = items; in AsyncWith() 1563 p->v.AsyncWith.body = body; in AsyncWith() 2898 value = ast2obj_list(o->v.AsyncWith.items, ast2obj_withitem); in ast2obj_stmt() 2903 value = ast2obj_list(o->v.AsyncWith.body, ast2obj_stmt); in ast2obj_stmt() 5276 *out = AsyncWith(items, body, lineno, col_offset, arena); in obj2ast_stmt()
|
/external/python/cpython3/Include/ |
D | Python-ast.h | 161 } AsyncWith; member 491 #define AsyncWith(a0, a1, a2, a3, a4) _Py_AsyncWith(a0, a1, a2, a3, a4) macro
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.1rc1.rst | 296 ``ast.AsyncFunctionDef``, and ``ast.AsyncWith``. Previously, ``col_offset``
|