jltools.ast
Interface Try

All Superinterfaces:
java.lang.Cloneable, Copy, Node, java.io.Serializable, Stmt
All Known Implementing Classes:
Try_c

public interface Try
extends Stmt

An immutable representation of a try block, one or more catch blocks, and an optional finally block.


Method Summary
 java.util.List catchBlocks()
           
 Try catchBlocks(java.util.List catchBlocks)
           
 Block finallyBlock()
           
 Try finallyBlock(Block finallyBlock)
           
 Block tryBlock()
           
 Try tryBlock(Block tryBlock)
           
 
Methods inherited from interface jltools.ast.Node
buildTypes_, buildTypesOverride_, copy, disambiguate_, disambiguateOverride_, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, translate_, typeCheck_, typeCheckOverride_, visit, visitChildren
 

Method Detail

tryBlock

public Block tryBlock()

tryBlock

public Try tryBlock(Block tryBlock)

catchBlocks

public java.util.List catchBlocks()

catchBlocks

public Try catchBlocks(java.util.List catchBlocks)

finallyBlock

public Block finallyBlock()

finallyBlock

public Try finallyBlock(Block finallyBlock)