public final class TryStmt extends Statement
| Constructor and Description | 
|---|
| TryStmt() | 
| TryStmt(BlockStmt tryBlock,
       List<CatchClause> catchs,
       BlockStmt finallyBlock) | 
| TryStmt(int beginLine,
       int beginColumn,
       int endLine,
       int endColumn,
       BlockStmt tryBlock,
       List<CatchClause> catchs,
       BlockStmt finallyBlock) | 
| Modifier and Type | Method and Description | 
|---|---|
| <R,A> R | accept(GenericVisitor<R,A> v,
      A arg)Accept method for visitor support. | 
| <A> void | accept(VoidVisitor<A> v,
      A arg)Accept method for visitor support. | 
| List<CatchClause> | getCatchs() | 
| BlockStmt | getFinallyBlock() | 
| BlockStmt | getTryBlock() | 
| void | setCatchs(List<CatchClause> catchs) | 
| void | setFinallyBlock(BlockStmt finallyBlock) | 
| void | setTryBlock(BlockStmt tryBlock) | 
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toStringpublic TryStmt()
public TryStmt(BlockStmt tryBlock, List<CatchClause> catchs, BlockStmt finallyBlock)
public TryStmt(int beginLine,
               int beginColumn,
               int endLine,
               int endColumn,
               BlockStmt tryBlock,
               List<CatchClause> catchs,
               BlockStmt finallyBlock)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic List<CatchClause> getCatchs()
public BlockStmt getFinallyBlock()
public BlockStmt getTryBlock()
public void setCatchs(List<CatchClause> catchs)
public void setFinallyBlock(BlockStmt finallyBlock)
public void setTryBlock(BlockStmt tryBlock)