orc.ast.extended.expression
Class CatchHandler

java.lang.Object
  extended by orc.ast.extended.expression.CatchHandler
All Implemented Interfaces:
ASTNode, Located

public class CatchHandler
extends java.lang.Object
implements ASTNode


Field Summary
 Expression body
           
 java.util.List<Pattern> catchPattern
           
 
Constructor Summary
CatchHandler(java.util.List<Pattern> formals, Expression body)
           
 
Method Summary
<E> E
accept(Visitor<E> visitor)
           
 SourceLocation getSourceLocation()
           
 void setSourceLocation(SourceLocation location)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

catchPattern

public java.util.List<Pattern> catchPattern

body

public Expression body
Constructor Detail

CatchHandler

public CatchHandler(java.util.List<Pattern> formals,
                    Expression body)
Method Detail

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