Searched refs:ExceptHandler (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Python/ |
D | symtable.c | 1388 if (eh->v.ExceptHandler.type) in symtable_visit_excepthandler() 1389 VISIT(st, expr, eh->v.ExceptHandler.type); in symtable_visit_excepthandler() 1390 if (eh->v.ExceptHandler.name) in symtable_visit_excepthandler() 1391 VISIT(st, expr, eh->v.ExceptHandler.name); in symtable_visit_excepthandler() 1392 VISIT_SEQ(st, stmt, eh->v.ExceptHandler.body); in symtable_visit_excepthandler()
|
D | compile.c | 1839 if (!handler->v.ExceptHandler.type && i < n-1) in compiler_try_except() 1846 if (handler->v.ExceptHandler.type) { in compiler_try_except() 1848 VISIT(c, expr, handler->v.ExceptHandler.type); in compiler_try_except() 1853 if (handler->v.ExceptHandler.name) { in compiler_try_except() 1854 VISIT(c, expr, handler->v.ExceptHandler.name); in compiler_try_except() 1860 VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body); in compiler_try_except()
|
D | Python-ast.c | 2062 ExceptHandler(expr_ty type, expr_ty name, asdl_seq * body, int lineno, int in ExceptHandler() function 2070 p->v.ExceptHandler.type = type; in ExceptHandler() 2071 p->v.ExceptHandler.name = name; in ExceptHandler() 2072 p->v.ExceptHandler.body = body; in ExceptHandler() 3187 value = ast2obj_expr(o->v.ExceptHandler.type); in ast2obj_excepthandler() 3192 value = ast2obj_expr(o->v.ExceptHandler.name); in ast2obj_excepthandler() 3197 value = ast2obj_list(o->v.ExceptHandler.body, ast2obj_stmt); in ast2obj_excepthandler() 6573 *out = ExceptHandler(type, name, body, lineno, col_offset, in obj2ast_excepthandler()
|
D | ast.c | 3019 return ExceptHandler(NULL, NULL, suite_seq, LINENO(exc), in ast_for_except_clause() 3033 return ExceptHandler(expression, NULL, suite_seq, LINENO(exc), in ast_for_except_clause() 3051 return ExceptHandler(expression, e, suite_seq, LINENO(exc), in ast_for_except_clause()
|
/external/python/cpython2/Parser/ |
D | Python.asdl | 104 excepthandler = ExceptHandler(expr? type, expr? name, stmt* body)
|
/external/python/cpython2/Include/ |
D | Python-ast.h | 350 } ExceptHandler; member 522 #define ExceptHandler(a0, a1, a2, a3, a4, a5) _Py_ExceptHandler(a0, a1, a2, a3, a4, a5) macro
|