Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dreaching_definitions_test.py224 self.assertHasDefs(fn_body[0].items[0].context_expr.func, 0)
225 self.assertHasDefs(fn_body[0].items[0].context_expr.args[0], 1)
Dtype_info.py203 item.context_expr,
Dtype_info_test.py125 constructor_call = node.body[0].items[0].context_expr
/external/python/cpython2/Parser/
DPython.asdl28 | With(expr context_expr, expr? optional_vars, stmt* body)
/external/python/cpython3/Parser/
DPython.asdl130 withitem = (expr context_expr, expr? optional_vars)
/external/python/cpython2/Include/
DPython-ast.h131 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/
DPython-ast.h437 expr_ty context_expr; member
632 withitem_ty _Py_withitem(expr_ty context_expr, expr_ty optional_vars, PyArena
/external/tensorflow/tensorflow/python/autograph/pyct/
Dcfg.py78 return compiler.ast_to_source(self.ast_node.context_expr).strip()
/external/python/cpython3/Python/
Dast.c435 if (!validate_expr(item->context_expr, Load) || in validate_stmt()
445 if (!validate_expr(item->context_expr, Load) || in validate_stmt()
3852 expr_ty context_expr, optional_vars = NULL; in ast_for_with_item() local
3855 context_expr = ast_for_expr(c, CHILD(n, 0)); in ast_for_with_item()
3856 if (!context_expr) in ast_for_with_item()
3869 return withitem(context_expr, optional_vars, c->c_arena); in ast_for_with_item()
DPython-ast.c499 _Py_IDENTIFIER(context_expr);
2551 withitem(expr_ty context_expr, expr_ty optional_vars, PyArena *arena) in withitem() argument
2554 if (!context_expr) { in withitem()
2562 p->context_expr = context_expr; in withitem()
3924 value = ast2obj_expr(o->context_expr); in ast2obj_withitem()
8112 expr_ty context_expr; in obj2ast_withitem() local
8124 res = obj2ast_expr(tmp, &context_expr, arena); in obj2ast_withitem()
8141 *out = withitem(context_expr, optional_vars, arena); in obj2ast_withitem()
Dast_opt.c791 CALL(astfold_expr, expr_ty, node_->context_expr); in astfold_withitem()
Dsymtable.c1614 VISIT(st, expr, item->context_expr); in symtable_visit_withitem()
Dcompile.c4250 VISIT(c, expr, item->context_expr); in compiler_async_with()
4344 VISIT(c, expr, item->context_expr); in compiler_with()
/external/python/cpython2/Demo/parser/
Dunparse.py303 self.dispatch(t.context_expr)
/external/python/cpython2/Python/
Dast.c3145 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()
DPython-ast.c1262 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()
Dsymtable.c1179 VISIT(st, expr, s->v.With.context_expr); in symtable_visit_stmt()
Dcompile.c2914 VISIT(c, expr, s->v.With.context_expr); in compiler_with()
/external/python/cpython3/Tools/parser/
Dunparse.py664 self.dispatch(t.context_expr)