public interface Throw extends Stmt
Throw
is an immutable representation of a throw
statement. Such a statement contains a single Expr
which
evaluates to the object being thrown.Term.Instance
Modifier and Type | Method and Description |
---|---|
Expr |
expr()
The expression to throw.
|
Throw |
expr(Expr expr)
Set the expression to throw.
|
exceptions, exceptions, reachable, reachable
del, del, dump, error, error, ext, ext, ext, ext, isDisambiguated, isTypeChecked, position, position, visit, visitEdge
addDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitList