Home
last modified time | relevance | path

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

/external/python/asn1crypto/tests/
Dtest_init.py84 for subast in node.finalbody:
90 for subast in node.finalbody:
/external/tensorflow/tensorflow/python/autograph/converters/
Dreturn_statements.py126 node.finalbody, _ = self._visit_statement_block(node, node.finalbody)
327 node.finalbody = self._visit_statement_block(node, node.finalbody)
Dcontinue_statements.py154 node.finalbody = self._visit_non_loop_body(node.finalbody)
/external/tensorflow/tensorflow/python/autograph/pyct/
Dcfg.py672 if isinstance(node, gast.Try) and node.finalbody:
948 if node.finalbody:
950 for stmt in node.finalbody:
/external/python/cpython2/Parser/
DPython.asdl33 | TryFinally(stmt* body, stmt* finalbody)
/external/python/cpython3/Parser/
DPython.asdl40 | 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/Include/
DPython-ast.h189 asdl_seq *finalbody; member
531 asdl_seq * finalbody, int lineno, int col_offset, int
/external/python/cpython3/Python/
DPython-ast.c170 PyObject *finalbody; member
415 Py_CLEAR(state->finalbody); in _PyAST_Fini()
502 if ((state->finalbody = PyUnicode_InternFromString("finalbody")) == NULL) return 0; in init_identifiers()
2361 finalbody, int lineno, int col_offset, int end_lineno, int end_col_offset, in Try() argument
2372 p->v.Try.finalbody = finalbody; in Try()
3815 value = ast2obj_list(state, o->v.Try.finalbody, ast2obj_stmt); in ast2obj_stmt()
3817 if (PyObject_SetAttr(result, state->finalbody, value) == -1) in ast2obj_stmt()
6552 asdl_seq* finalbody; in obj2ast_stmt() local
6653 if (_PyObject_LookupAttr(obj, state->finalbody, &tmp) < 0) { in obj2ast_stmt()
6669 finalbody = _Py_asdl_seq_new(len, arena); in obj2ast_stmt()
[all …]
Dcompile.c1604 find_ann(st->v.Try.finalbody) || in find_ann()
2998 if (!compiler_push_fblock(c, FINALLY_TRY, body, end, s->v.Try.finalbody)) in compiler_try_finally()
3009 VISIT_SEQ(c, stmt, s->v.Try.finalbody); in compiler_try_finally()
3015 VISIT_SEQ(c, stmt, s->v.Try.finalbody); in compiler_try_finally()
3171 if (s->v.Try.finalbody && asdl_seq_LEN(s->v.Try.finalbody)) in compiler_try()
Dast_opt.c704 CALL_SEQ(astfold_stmt, stmt_ty, node_->v.Try.finalbody); in astfold_stmt()
Dast.c438 !asdl_seq_LEN(stmt->v.Try.finalbody)) { in validate_stmt()
454 return (!asdl_seq_LEN(stmt->v.Try.finalbody) || in validate_stmt()
455 validate_stmts(stmt->v.Try.finalbody)) && in validate_stmt()
Dsymtable.c1306 VISIT_SEQ(st, stmt, s->v.Try.finalbody); in symtable_visit_stmt()
/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/cpython2/Demo/parser/
Dunparse.py210 self.dispatch(t.finalbody)
/external/python/cpython3/Lib/
Dast.py957 if node.finalbody:
960 self.traverse(node.finalbody)
/external/python/cpython3/Doc/library/
Dast.rst1118 .. class:: Try(body, handlers, orelse, finalbody)
1158 finalbody=[
1194 finalbody=[])],
/external/python/cpython3/Tools/c-analyzer/
Dknown.tsv1130 Python/Python-ast.c - PyId_finalbody variable _Py_IDENTIFIER(finalbody)