Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/autograph/converters/
Dreturn_statements.py124 node.finalbody, _ = self._visit_statement_block(node, node.finalbody)
338 node.finalbody = self._visit_statement_block(node, node.finalbody)
Dcontinue_statements.py152 node.finalbody = self._visit_non_loop_body(node.finalbody)
/external/tensorflow/tensorflow/python/autograph/pyct/
Dcfg.py628 if isinstance(node, gast.Try) and node.finalbody:
797 if node.finalbody:
799 for stmt in node.finalbody:
/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, val); in obj2ast_stmt()
4501 *out = TryFinally(body, finalbody, lineno, col_offset, arena); in obj2ast_stmt()
Dsymtable.c1109 VISIT_SEQ(st, stmt, s->v.TryFinally.finalbody); in symtable_visit_stmt()
Dcompile.c1785 VISIT_SEQ(c, stmt, s->v.TryFinally.finalbody); in compiler_try_finally()
/external/python/cpython3/Python/
DPython-ast.c147 _Py_IDENTIFIER(finalbody);
1586 finalbody, int lineno, int col_offset, PyArena *arena) in Try() argument
1596 p->v.Try.finalbody = finalbody; in Try()
2941 value = ast2obj_list(o->v.Try.finalbody, ast2obj_stmt); in ast2obj_stmt()
5326 asdl_seq* finalbody; in obj2ast_stmt() local
5434 finalbody = _Py_asdl_seq_new(len, arena); in obj2ast_stmt()
5435 if (finalbody == NULL) goto failed; in obj2ast_stmt()
5444 asdl_seq_SET(finalbody, i, val); in obj2ast_stmt()
5448 *out = Try(body, handlers, orelse, finalbody, lineno, col_offset, in obj2ast_stmt()
Dast_opt.c759 CALL_SEQ(astfold_stmt, stmt_ty, node_->v.Try.finalbody); in astfold_stmt()
Dcompile.c1460 find_ann(st->v.Try.finalbody) || in find_ann()
2590 VISIT_SEQ(c, stmt, s->v.Try.finalbody); in compiler_try_finally()
2747 if (s->v.Try.finalbody && asdl_seq_LEN(s->v.Try.finalbody)) in compiler_try()
Dast.c464 !asdl_seq_LEN(stmt->v.Try.finalbody)) { in validate_stmt()
480 return (!asdl_seq_LEN(stmt->v.Try.finalbody) || in validate_stmt()
481 validate_stmts(stmt->v.Try.finalbody)) && in validate_stmt()
Dsymtable.c1245 VISIT_SEQ(st, stmt, s->v.Try.finalbody); in symtable_visit_stmt()
/external/python/cpython2/Demo/parser/
Dunparse.py210 self.dispatch(t.finalbody)