Home
last modified time | relevance | path

Searched refs:optional_vars (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Parser/
DPython.asdl28 | With(expr context_expr, expr? optional_vars, stmt* body)
/external/python/cpython2/Demo/parser/
Dunparse.py304 if t.optional_vars:
306 self.dispatch(t.optional_vars)
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
D_ast_util.py536 if node.optional_vars is not None:
538 self.visit(node.optional_vars)
/external/python/cpython2/Include/
DPython-ast.h132 expr_ty optional_vars; member
415 stmt_ty _Py_With(expr_ty context_expr, expr_ty optional_vars, asdl_seq * body,
/external/python/cpython2/Python/
Dast.c3143 expr_ty context_expr, optional_vars = NULL; in ast_for_with_item() local
3150 optional_vars = ast_for_expr(c, CHILD(n, 2)); in ast_for_with_item()
3152 if (!optional_vars) { in ast_for_with_item()
3155 if (!set_context(c, optional_vars, Store, n)) { in ast_for_with_item()
3160 return With(context_expr, optional_vars, content, LINENO(n), in ast_for_with_item()
Dsymtable.c1174 if (s->v.With.optional_vars) { in symtable_visit_stmt()
1175 VISIT(st, expr, s->v.With.optional_vars); in symtable_visit_stmt()
DPython-ast.c1262 With(expr_ty context_expr, expr_ty optional_vars, asdl_seq * body, int lineno, in With() argument
1276 p->v.With.optional_vars = optional_vars; in With()
2391 value = ast2obj_expr(o->v.With.optional_vars); in ast2obj_stmt()
4228 expr_ty optional_vars; in obj2ast_stmt() local
4247 res = obj2ast_expr(tmp, &optional_vars, arena); in obj2ast_stmt()
4252 optional_vars = NULL; in obj2ast_stmt()
4283 *out = With(context_expr, optional_vars, body, lineno, in obj2ast_stmt()
Dcompile.c2925 if (s->v.With.optional_vars) { in compiler_with()
2926 VISIT(c, expr, s->v.With.optional_vars); in compiler_with()