dk.brics.string.intermediate
Class ExceptionalReturn
java.lang.Object
dk.brics.string.intermediate.Statement
dk.brics.string.intermediate.ExceptionalReturn
- All Implemented Interfaces:
- Comparable<Statement>
public class ExceptionalReturn
- extends Statement
Method returns by throwing an exception. Every method has exactly
one exceptional return statement. A statement that might throw an
exception should have an edge to the exceptional return.
The exceptional return cannot be reached by normal control flow.
- Author:
- Asger
ExceptionalReturn
public ExceptionalReturn()
visitBy
public void visitBy(StatementVisitor v)
- Description copied from class:
Statement
- Visit this statement by the given statement visitor.
This will invoke the corresponding method in the visitor.
- Specified by:
visitBy
in class Statement
- Parameters:
v
- the visitor.
Copyright © 2003-2009 Anders Møller, Aske Simon Christensen, Asger Feldthaus.