pt.compiler.parser.ast.stmt
Class CatchClause

java.lang.Object
  extended by pt.compiler.parser.ast.Node
      extended by pt.compiler.parser.ast.stmt.CatchClause

public final class CatchClause
extends Node

Author:
Julio Vilmar Gesser

Constructor Summary
CatchClause(int line, int column, Parameter except, BlockStmt catchBlock)
           
 
Method Summary
<R,A> R
accept(GenericVisitor<R,A> v, A arg)
           
<A> void
accept(VoidVisitor<A> v, A arg)
           
 BlockStmt getCatchBlock()
           
 Parameter getExcept()
           
 
Methods inherited from class pt.compiler.parser.ast.Node
getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CatchClause

public CatchClause(int line,
                   int column,
                   Parameter except,
                   BlockStmt catchBlock)
Method Detail

getExcept

public Parameter getExcept()

getCatchBlock

public BlockStmt getCatchBlock()

accept

public <A> void accept(VoidVisitor<A> v,
                       A arg)
Overrides:
accept in class Node

accept

public <R,A> R accept(GenericVisitor<R,A> v,
                      A arg)
Overrides:
accept in class Node