Home
last modified time | relevance | path

Searched refs:ExceptHandler (Results 1 – 10 of 10) sorted by relevance

/third_party/libffi/src/arm/
Dsysv_msvc_arm32.S39 NESTED_ENTRY_FFI $FuncName, $AreaName, $ExceptHandler
/third_party/python/Python/
Dast.c810 if ((handler->v.ExceptHandler.type && in validate_stmt()
811 !validate_expr(state, handler->v.ExceptHandler.type, Load)) || in validate_stmt()
812 !validate_body(state, handler->v.ExceptHandler.body, "ExceptHandler")) in validate_stmt()
Dsymtable.c1916 if (eh->v.ExceptHandler.type) in symtable_visit_excepthandler()
1917 VISIT(st, expr, eh->v.ExceptHandler.type); in symtable_visit_excepthandler()
1918 if (eh->v.ExceptHandler.name) in symtable_visit_excepthandler()
1919 if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL, LOCATION(eh))) in symtable_visit_excepthandler()
1921 VISIT_SEQ(st, stmt, eh->v.ExceptHandler.body); in symtable_visit_excepthandler()
Dcompile.c1708 if (find_ann(handler->v.ExceptHandler.body)) { in find_ann()
3189 if (!handler->v.ExceptHandler.type && i < n-1) in compiler_try_except()
3194 if (handler->v.ExceptHandler.type) { in compiler_try_except()
3196 VISIT(c, expr, handler->v.ExceptHandler.type); in compiler_try_except()
3201 if (handler->v.ExceptHandler.name) { in compiler_try_except()
3210 compiler_nameop(c, handler->v.ExceptHandler.name, Store); in compiler_try_except()
3227 … if (!compiler_push_fblock(c, HANDLER_CLEANUP, cleanup_body, NULL, handler->v.ExceptHandler.name)) in compiler_try_except()
3231 VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body); in compiler_try_except()
3238 compiler_nameop(c, handler->v.ExceptHandler.name, Store); in compiler_try_except()
3239 compiler_nameop(c, handler->v.ExceptHandler.name, Del); in compiler_try_except()
[all …]
Dast_opt.c778 CALL_OPT(astfold_expr, expr_ty, node_->v.ExceptHandler.type); in astfold_excepthandler()
779 CALL_SEQ(astfold_stmt, stmt, node_->v.ExceptHandler.body); in astfold_excepthandler()
DPython-ast.c3257 p->v.ExceptHandler.type = type; in _PyAST_ExceptHandler()
3258 p->v.ExceptHandler.name = name; in _PyAST_ExceptHandler()
3259 p->v.ExceptHandler.body = body; in _PyAST_ExceptHandler()
4827 value = ast2obj_expr(state, o->v.ExceptHandler.type); in ast2obj_excepthandler()
4832 value = ast2obj_identifier(state, o->v.ExceptHandler.name); in ast2obj_excepthandler()
4837 value = ast2obj_list(state, (asdl_seq*)o->v.ExceptHandler.body, in ast2obj_excepthandler()
/third_party/python/Parser/
DPython.asdl108 excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)
/third_party/python/Doc/library/
Dast.rst1127 ``handlers``, which is a list of :class:`ExceptHandler` nodes.
1150 ExceptHandler(
1155 ExceptHandler(
1170 .. class:: ExceptHandler(type, name, body)
1195 ExceptHandler(
/third_party/python/Lib/test/
Dtest_ast.py1272 t = ast.Try([p], [ast.ExceptHandler(None, "x", [])], [], [])
1274 e = [ast.ExceptHandler(ast.Name("x", ast.Store()), "y", [p])]
1276 e = [ast.ExceptHandler(None, "x", [p])]
/third_party/python/Include/internal/
Dpycore_ast.h504 } ExceptHandler; member