jltools.ast
Interface Block

All Superinterfaces:
java.lang.Cloneable, Copy, Node, java.io.Serializable, Stmt
All Known Subinterfaces:
SwitchBlock

public interface Block
extends Stmt

A Block represents a Java block statement -- an immutable sequence of statements.


Method Summary
 Block append(Stmt stmt)
           
 java.util.List statements()
           
 Block statements(java.util.List statements)
           
 
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

statements

public java.util.List statements()

statements

public Block statements(java.util.List statements)

append

public Block append(Stmt stmt)