Searched refs:optional_vars (Results 1 – 10 of 10) sorted by relevance
/third_party/python/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 | 5043 if (item->optional_vars) { in compiler_async_with() 5044 VISIT(c, expr, item->optional_vars); in compiler_async_with() 5135 if (item->optional_vars) { in compiler_with() 5136 VISIT(c, expr, item->optional_vars); in compiler_with()
|
/third_party/python/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,
|
/third_party/python/Parser/ |
D | Python.asdl | 125 withitem = (expr context_expr, expr? optional_vars)
|
/third_party/python/Lib/ |
D | ast.py | 1579 if node.optional_vars: 1581 self.traverse(node.optional_vars)
|
/third_party/python/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()))],
|