Home
last modified time | relevance | path

Searched refs:finalbody (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Parser/
DPython.asdl33 | TryFinally(stmt* body, stmt* finalbody)
/external/python/cpython3/Parser/
DPython.asdl43 | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)
/external/python/cpython2/Include/
DPython-ast.h150 asdl_seq *finalbody; member
424 stmt_ty _Py_TryFinally(asdl_seq * body, asdl_seq * finalbody, int lineno, int
/external/python/cpython3/Tools/parser/
Dunparse.py201 if t.finalbody:
204 self.dispatch(t.finalbody)
/external/python/cpython3/Include/
DPython-ast.h172 asdl_seq *finalbody; member
499 asdl_seq * finalbody, int lineno, int col_offset, PyArena
/external/python/cpython2/Python/
DPython-ast.c1318 TryFinally(asdl_seq * body, asdl_seq * finalbody, int lineno, int col_offset, in TryFinally() argument
1327 p->v.TryFinally.finalbody = finalbody; in TryFinally()
2450 value = ast2obj_list(o->v.TryFinally.finalbody, ast2obj_stmt); in ast2obj_stmt()
4441 asdl_seq* finalbody; in obj2ast_stmt() local
4483 finalbody = asdl_seq_new(len, arena); in obj2ast_stmt()
4484 if (finalbody == NULL) goto failed; in obj2ast_stmt()
4493 asdl_seq_SET(finalbody, i, value); in obj2ast_stmt()
4501 *out = TryFinally(body, finalbody, lineno, col_offset, arena); in obj2ast_stmt()
Dsymtable.c1103 VISIT_SEQ(st, stmt, s->v.TryFinally.finalbody); in symtable_visit_stmt()
Dcompile.c1776 VISIT_SEQ(c, stmt, s->v.TryFinally.finalbody); in compiler_try_finally()
/external/python/cpython3/Python/
DPython-ast.c147 _Py_IDENTIFIER(finalbody);
1598 finalbody, int lineno, int col_offset, PyArena *arena) in Try() argument
1608 p->v.Try.finalbody = finalbody; in Try()
2955 value = ast2obj_list(o->v.Try.finalbody, ast2obj_stmt); in ast2obj_stmt()
5239 asdl_seq* finalbody; in obj2ast_stmt() local
5336 finalbody = _Py_asdl_seq_new(len, arena); in obj2ast_stmt()
5337 if (finalbody == NULL) goto failed; in obj2ast_stmt()
5346 asdl_seq_SET(finalbody, i, value); in obj2ast_stmt()
5353 *out = Try(body, handlers, orelse, finalbody, lineno, col_offset, in obj2ast_stmt()
Dcompile.c1417 find_ann(st->v.Try.finalbody) || in find_ann()
2414 VISIT_SEQ(c, stmt, s->v.Try.finalbody); in compiler_try_finally()
2570 if (s->v.Try.finalbody && asdl_seq_LEN(s->v.Try.finalbody)) in compiler_try()
Dast.c463 !asdl_seq_LEN(stmt->v.Try.finalbody)) { in validate_stmt()
479 return (!asdl_seq_LEN(stmt->v.Try.finalbody) || in validate_stmt()
480 validate_stmts(stmt->v.Try.finalbody)) && in validate_stmt()
Dsymtable.c1262 VISIT_SEQ(st, stmt, s->v.Try.finalbody); in symtable_visit_stmt()
/external/python/cpython2/Demo/parser/
Dunparse.py210 self.dispatch(t.finalbody)
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
D_ast_util.py584 self.body(node.finalbody)