public interface Block
extends org.plumelib.util.UniqueId
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | Block.BlockTypeThe types of basic blocks. | 
| Modifier and Type | Method and Description | 
|---|---|
| @Nullable Node | getLastNode()Returns the last node of this block, or null if none. | 
| List<Node> | getNodes()Returns the nodes contained within this basic block. | 
| Set<Block> | getPredecessors()Returns the predecessors of this basic block. | 
| Set<Block> | getSuccessors()Returns the successors of this basic block. | 
| Block.BlockType | getType()Returns the type of this basic block. | 
Block.BlockType getType()
Set<Block> getPredecessors()
Set<Block> getSuccessors()
@Pure List<Node> getNodes()
The following invariant holds.
forall n in getNodes() :: n.getBlock() == this