/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/ |
D | reaching_definitions_test.py | 295 self.assertHasDefs(fn_body[0].items[0].context_expr.func, 0) 296 self.assertHasDefs(fn_body[0].items[0].context_expr.args[0], 1)
|
/external/python/cpython2/Parser/ |
D | Python.asdl | 28 | With(expr context_expr, expr? optional_vars, stmt* body)
|
/external/python/cpython3/Parser/ |
D | Python.asdl | 122 withitem = (expr context_expr, expr? optional_vars)
|
/external/python/cpython2/Include/ |
D | Python-ast.h | 131 expr_ty context_expr; member 415 stmt_ty _Py_With(expr_ty context_expr, expr_ty optional_vars, asdl_seq * body,
|
/external/python/cpython3/Include/ |
D | Python-ast.h | 442 expr_ty context_expr; member 684 withitem_ty _Py_withitem(expr_ty context_expr, expr_ty optional_vars, PyArena
|
/external/python/cpython2/Demo/parser/ |
D | unparse.py | 303 self.dispatch(t.context_expr)
|
/external/python/cpython3/Python/ |
D | ast.c | 409 if (!validate_expr(item->context_expr, Load) || in validate_stmt() 419 if (!validate_expr(item->context_expr, Load) || in validate_stmt() 4255 expr_ty context_expr, optional_vars = NULL; in ast_for_with_item() local 4258 context_expr = ast_for_expr(c, CHILD(n, 0)); in ast_for_with_item() 4259 if (!context_expr) in ast_for_with_item() 4272 return withitem(context_expr, optional_vars, c->c_arena); in ast_for_with_item()
|
D | Python-ast.c | 157 PyObject *context_expr; member 402 Py_CLEAR(state->context_expr); in _PyAST_Fini() 492 if ((state->context_expr = PyUnicode_InternFromString("context_expr")) == NULL) return 0; in init_identifiers() 3340 withitem(expr_ty context_expr, expr_ty optional_vars, PyArena *arena) in withitem() argument 3343 if (!context_expr) { in withitem() 3351 p->context_expr = context_expr; in withitem() 4833 value = ast2obj_expr(state, o->context_expr); in ast2obj_withitem() 4835 if (PyObject_SetAttr(result, state->context_expr, value) == -1) in ast2obj_withitem() 9536 expr_ty context_expr; in obj2ast_withitem() local 9539 if (_PyObject_LookupAttr(obj, state->context_expr, &tmp) < 0) { in obj2ast_withitem() [all …]
|
D | ast_opt.c | 736 CALL(astfold_expr, expr_ty, node_->context_expr); in astfold_withitem()
|
D | symtable.c | 1778 VISIT(st, expr, item->context_expr); in symtable_visit_withitem()
|
D | compile.c | 4845 VISIT(c, expr, item->context_expr); in compiler_async_with() 4942 VISIT(c, expr, item->context_expr); in compiler_with()
|
/external/python/cpython2/Python/ |
D | ast.c | 3145 expr_ty context_expr, optional_vars = NULL; in ast_for_with_item() local 3148 context_expr = ast_for_expr(c, CHILD(n, 0)); in ast_for_with_item() 3149 if (!context_expr) in ast_for_with_item() 3162 return With(context_expr, optional_vars, content, LINENO(n), in ast_for_with_item()
|
D | Python-ast.c | 1262 With(expr_ty context_expr, expr_ty optional_vars, asdl_seq * body, int lineno, in With() argument 1266 if (!context_expr) { in With() 1275 p->v.With.context_expr = context_expr; in With() 2386 value = ast2obj_expr(o->v.With.context_expr); in ast2obj_stmt() 4227 expr_ty context_expr; in obj2ast_stmt() local 4235 res = obj2ast_expr(tmp, &context_expr, arena); in obj2ast_stmt() 4283 *out = With(context_expr, optional_vars, body, lineno, in obj2ast_stmt()
|
D | symtable.c | 1179 VISIT(st, expr, s->v.With.context_expr); in symtable_visit_stmt()
|
D | compile.c | 2914 VISIT(c, expr, s->v.With.context_expr); in compiler_with()
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | cfg.py | 91 self.ast_node.context_expr, include_encoding_marker=False).strip()
|
/external/python/cpython3/Doc/library/ |
D | ast.rst | 1208 .. class:: withitem(context_expr, optional_vars) 1210 A single context manager in a ``with`` block. ``context_expr`` is the context 1226 context_expr=Name(id='a', ctx=Load()), 1229 context_expr=Name(id='c', ctx=Load()),
|
/external/python/cpython3/Lib/ |
D | ast.py | 1557 self.traverse(node.context_expr)
|
/external/python/cpython3/Tools/c-analyzer/ |
D | known.tsv | 1070 Python/Python-ast.c - PyId_context_expr variable _Py_IDENTIFIER(context_expr)
|