Home
last modified time | relevance | path

Searched refs:context_expr (Results 1 – 13 of 13) sorted by relevance

/third_party/python/Include/internal/
Dpycore_ast_state.h173 PyObject *context_expr; member
Dpycore_ast.h552 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/
Dlinearize.h150 struct expression *context_expr; member
Dlinearize.c1558 insn->context_expr = context->context; in linearize_call_expression()
2066 insn->context_expr = stmt->context; in linearize_context()
/third_party/python/Parser/
DPython.asdl125 withitem = (expr context_expr, expr? optional_vars)
/third_party/python/Python/
Dast.c751 if (!validate_expr(state, item->context_expr, Load) || in validate_stmt()
762 if (!validate_expr(state, item->context_expr, Load) || in validate_stmt()
DPython-ast.c187 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 …]
Dast_opt.c790 CALL(astfold_expr, expr_ty, node_->context_expr); in astfold_withitem()
Dsymtable.c1928 VISIT(st, expr, item->context_expr); in symtable_visit_withitem()
Dcompile.c5028 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/
DIR.rst426 * .context_expr: unused
/third_party/python/Doc/library/
Dast.rst1214 .. 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/
Dast.py1578 self.traverse(node.context_expr)