pt.compiler.parser.ast.stmt
Class TryStmt
java.lang.Object
pt.compiler.parser.ast.Node
pt.compiler.parser.ast.stmt.Statement
pt.compiler.parser.ast.stmt.TryStmt
public final class TryStmt
- extends Statement
- Author:
- Julio Vilmar Gesser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TryStmt
public TryStmt(int line,
int column,
BlockStmt tryBlock,
java.util.List<CatchClause> catchs,
BlockStmt finallyBlock)
getTryBlock
public BlockStmt getTryBlock()
getCatchs
public java.util.List<CatchClause> getCatchs()
getFinallyBlock
public BlockStmt getFinallyBlock()
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