Searched refs:context_expr (Results 1 – 13 of 13) sorted by relevance
/third_party/python/Include/internal/ |
D | pycore_ast_state.h | 173 PyObject *context_expr; member
|
D | pycore_ast.h | 552 expr_ty context_expr; member 807 withitem_ty _PyAST_withitem(expr_ty context_expr, expr_ty optional_vars,
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | linearize.h | 150 struct expression *context_expr; member
|
D | linearize.c | 1558 insn->context_expr = context->context; in linearize_call_expression() 2066 insn->context_expr = stmt->context; in linearize_context()
|
/third_party/python/Parser/ |
D | Python.asdl | 125 withitem = (expr context_expr, expr? optional_vars)
|
/third_party/python/Python/ |
D | ast.c | 751 if (!validate_expr(state, item->context_expr, Load) || in validate_stmt() 762 if (!validate_expr(state, item->context_expr, Load) || in validate_stmt()
|
D | Python-ast.c | 187 Py_CLEAR(state->context_expr); in _PyAST_Fini() 293 if ((state->context_expr = PyUnicode_InternFromString("context_expr")) == NULL) return 0; in init_identifiers() 3355 _PyAST_withitem(expr_ty context_expr, expr_ty optional_vars, PyArena *arena) in _PyAST_withitem() argument 3358 if (!context_expr) { in _PyAST_withitem() 3366 p->context_expr = context_expr; in _PyAST_withitem() 5090 value = ast2obj_expr(state, o->context_expr); in ast2obj_withitem() 5092 if (PyObject_SetAttr(result, state->context_expr, value) == -1) in ast2obj_withitem() 10817 expr_ty context_expr; in obj2ast_withitem() local 10820 if (_PyObject_LookupAttr(obj, state->context_expr, &tmp) < 0) { in obj2ast_withitem() 10832 res = obj2ast_expr(state, tmp, &context_expr, arena); in obj2ast_withitem() [all …]
|
D | ast_opt.c | 790 CALL(astfold_expr, expr_ty, node_->context_expr); in astfold_withitem()
|
D | symtable.c | 1928 VISIT(st, expr, item->context_expr); in symtable_visit_withitem()
|
D | compile.c | 5028 VISIT(c, expr, item->context_expr); in compiler_async_with() 5125 VISIT(c, expr, item->context_expr); in compiler_with()
|
/third_party/ltp/tools/sparse/sparse-src/Documentation/ |
D | IR.rst | 426 * .context_expr: unused
|
/third_party/python/Doc/library/ |
D | ast.rst | 1214 .. class:: withitem(context_expr, optional_vars) 1216 A single context manager in a ``with`` block. ``context_expr`` is the context 1232 context_expr=Name(id='a', ctx=Load()), 1235 context_expr=Name(id='c', ctx=Load()),
|
/third_party/python/Lib/ |
D | ast.py | 1578 self.traverse(node.context_expr)
|