/external/python/cpython3/Python/ |
D | ast.c | 752 (item->optional_vars && !validate_expr(state, item->optional_vars, Store))) in validate_stmt() 763 (item->optional_vars && !validate_expr(state, item->optional_vars, Store))) in validate_stmt()
|
D | Python-ast.c | 235 Py_CLEAR(state->optional_vars); in _PyAST_Fini() 334 if ((state->optional_vars = PyUnicode_InternFromString("optional_vars")) == NULL) return 0; in init_identifiers() 1763 if (PyObject_SetAttr(state->withitem_type, state->optional_vars, Py_None) in init_types() 3355 _PyAST_withitem(expr_ty context_expr, expr_ty optional_vars, PyArena *arena) in _PyAST_withitem() argument 3367 p->optional_vars = optional_vars; in _PyAST_withitem() 5095 value = ast2obj_expr(state, o->optional_vars); in ast2obj_withitem() 5097 if (PyObject_SetAttr(result, state->optional_vars, value) == -1) in ast2obj_withitem() 10818 expr_ty optional_vars; in obj2ast_withitem() local 10837 if (_PyObject_LookupAttr(obj, state->optional_vars, &tmp) < 0) { in obj2ast_withitem() 10842 optional_vars = NULL; in obj2ast_withitem() [all …]
|
D | symtable.c | 1929 if (item->optional_vars) { in symtable_visit_withitem() 1930 VISIT(st, expr, item->optional_vars); in symtable_visit_withitem()
|
D | ast_opt.c | 791 CALL_OPT(astfold_expr, expr_ty, node_->optional_vars); in astfold_withitem()
|
D | compile.c | 5044 if (item->optional_vars) { in compiler_async_with() 5045 VISIT(c, expr, item->optional_vars); in compiler_async_with() 5136 if (item->optional_vars) { in compiler_with() 5137 VISIT(c, expr, item->optional_vars); in compiler_with()
|
/external/python/cpython3/Include/internal/ |
D | pycore_ast_state.h | 221 PyObject *optional_vars; member
|
D | pycore_ast.h | 553 expr_ty optional_vars; member 807 withitem_ty _PyAST_withitem(expr_ty context_expr, expr_ty optional_vars,
|
/external/python/cpython2/Parser/ |
D | Python.asdl | 28 | With(expr context_expr, expr? optional_vars, stmt* body)
|
/external/python/cpython2/Demo/parser/ |
D | unparse.py | 304 if t.optional_vars: 306 self.dispatch(t.optional_vars)
|
/external/python/cpython3/Parser/ |
D | Python.asdl | 125 withitem = (expr context_expr, expr? optional_vars)
|
/external/python/cpython2/Include/ |
D | Python-ast.h | 132 expr_ty optional_vars; member 415 stmt_ty _Py_With(expr_ty context_expr, expr_ty optional_vars, asdl_seq * body,
|
/external/python/cpython2/Python/ |
D | ast.c | 3145 expr_ty context_expr, optional_vars = NULL; in ast_for_with_item() local 3152 optional_vars = ast_for_expr(c, CHILD(n, 2)); in ast_for_with_item() 3154 if (!optional_vars) { in ast_for_with_item() 3157 if (!set_context(c, optional_vars, Store, n)) { in ast_for_with_item() 3162 return With(context_expr, optional_vars, content, LINENO(n), in ast_for_with_item()
|
D | symtable.c | 1180 if (s->v.With.optional_vars) { in symtable_visit_stmt() 1181 VISIT(st, expr, s->v.With.optional_vars); in symtable_visit_stmt()
|
D | Python-ast.c | 1262 With(expr_ty context_expr, expr_ty optional_vars, asdl_seq * body, int lineno, in With() argument 1276 p->v.With.optional_vars = optional_vars; in With() 2391 value = ast2obj_expr(o->v.With.optional_vars); in ast2obj_stmt() 4228 expr_ty optional_vars; in obj2ast_stmt() local 4247 res = obj2ast_expr(tmp, &optional_vars, arena); in obj2ast_stmt() 4252 optional_vars = NULL; in obj2ast_stmt() 4283 *out = With(context_expr, optional_vars, body, lineno, in obj2ast_stmt()
|
D | compile.c | 2926 if (s->v.With.optional_vars) { in compiler_with() 2927 VISIT(c, expr, s->v.With.optional_vars); in compiler_with()
|
/external/python/cpython3/Lib/ |
D | ast.py | 1579 if node.optional_vars: 1581 self.traverse(node.optional_vars)
|
/external/python/cpython3/Doc/library/ |
D | ast.rst | 1214 .. class:: withitem(context_expr, optional_vars) 1217 manager, often a :class:`Call` node. ``optional_vars`` is a :class:`Name`, 1233 optional_vars=Name(id='b', ctx=Store())), 1236 optional_vars=Name(id='d', ctx=Store()))],
|
/external/python/cpython3/Doc/data/ |
D | python3.10.abi | 6833 …<var-decl name='optional_vars' type-id='type-id-16' visibility='default' filepath='./Include/inter… 14090 …<var-decl name='optional_vars' type-id='type-id-569' visibility='default' filepath='./Include/inte…
|