orc.ast.extended.expression
Class CatchHandler
java.lang.Object
orc.ast.extended.expression.CatchHandler
- All Implemented Interfaces:
- ASTNode, Located
public class CatchHandler
- extends java.lang.Object
- implements ASTNode
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
catchPattern
public java.util.List<Pattern> catchPattern
body
public Expression body
CatchHandler
public CatchHandler(java.util.List<Pattern> formals,
Expression body)
setSourceLocation
public void setSourceLocation(SourceLocation location)
getSourceLocation
public SourceLocation getSourceLocation()
- Specified by:
getSourceLocation
in interface ASTNode
- Specified by:
getSourceLocation
in interface Located
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
accept
public <E> E accept(Visitor<E> visitor)
- Specified by:
accept
in interface ASTNode