Searched refs:Raise (Results 1 - 9 of 9) sorted by relevance
/third_party/python/Python/ |
H A D | ast.c | 826 if (stmt->v.Raise.exc) { in validate_stmt() 827 ret = validate_expr(state, stmt->v.Raise.exc, Load) && in validate_stmt() 828 (!stmt->v.Raise.cause || validate_expr(state, stmt->v.Raise.cause, Load)); in validate_stmt() 831 if (stmt->v.Raise.cause) { in validate_stmt() 832 PyErr_SetString(PyExc_ValueError, "Raise with cause but no exception"); in validate_stmt()
|
H A D | symtable.c | 1323 if (s->v.Raise.exc) { in symtable_visit_stmt() 1324 VISIT(st, expr, s->v.Raise.exc); in symtable_visit_stmt() 1325 if (s->v.Raise.cause) { in symtable_visit_stmt() 1326 VISIT(st, expr, s->v.Raise.cause); in symtable_visit_stmt()
|
H A D | ast_opt.c | 952 CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.exc); in astfold_stmt() 953 CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.cause); in astfold_stmt()
|
H A D | compile.c | 4119 if (s->v.Raise.exc) { in compiler_visit_stmt() 4120 VISIT(c, expr, s->v.Raise.exc); in compiler_visit_stmt() 4122 if (s->v.Raise.cause) { in compiler_visit_stmt() 4123 VISIT(c, expr, s->v.Raise.cause); in compiler_visit_stmt() 9144 Raise SystemError if CFG is malformed. */ in normalize_basic_block()
|
H A D | Python-ast.c | 1148 " | Raise(expr? exc, expr? cause)\n" in init_types() 1255 state->Raise_type = make_type(state, "Raise", state->stmt_type, in init_types() 1257 "Raise(expr? exc, expr? cause)"); in init_types() 2364 p->v.Raise.exc = exc; in _PyAST_Raise() 2365 p->v.Raise.cause = cause; in _PyAST_Raise() 4059 value = ast2obj_expr(state, o->v.Raise.exc); in ast2obj_stmt() 4064 value = ast2obj_expr(state, o->v.Raise.cause); in ast2obj_stmt() 7426 if (_Py_EnterRecursiveCall(" while traversing 'Raise' node")) { in obj2ast_stmt() 7443 if (_Py_EnterRecursiveCall(" while traversing 'Raise' node")) { in obj2ast_stmt() 11988 if (PyModule_AddObjectRef(m, "Raise", stat in astmodule_exec() [all...] |
/third_party/python/Lib/test/ |
H A D | test_ast.py | 97 # Raise 964 node = ast.Raise(lineno=3, col_offset=4) 966 "Raise()" 969 "Raise(lineno=3, col_offset=4)" 971 node = ast.Raise(exc=ast.Name(id='e', ctx=ast.Load()), lineno=3, col_offset=4) 973 "Raise(exc=Name(id='e', ctx=Load()))" 976 "Raise(Name('e', Load()))" 979 "Raise(exc=Name(id='e', ctx=Load()), lineno=3, col_offset=4)" 982 "Raise(Name('e', Load()), lineno=3, col_offset=4)" 984 node = ast.Raise(caus [all...] |
H A D | test_unparse.py | 407 self.check_invalid(ast.Raise(exc=None, cause=ast.Name(id="X")))
|
/third_party/python/Include/internal/ |
H A D | pycore_ast.h | 289 } Raise; member
|
/third_party/libabigail/tools/ |
H A D | fedabipkgdiff | 1527 help='Raise error instead of warning')
|
Completed in 37 milliseconds