public interface ConditionalBlock extends Block
Block.BlockType
Modifier and Type | Method and Description |
---|---|
Store.FlowRule |
getElseFlowRule()
Returns the flow rule for information flowing from this block to its else successor.
|
Block |
getElseSuccessor()
Returns the entry block of the else branch.
|
Store.FlowRule |
getThenFlowRule()
Returns the flow rule for information flowing from this block to its then successor.
|
Block |
getThenSuccessor()
Returns the entry block of the then branch.
|
void |
setElseFlowRule(Store.FlowRule rule)
Set the flow rule for information flowing from this block to its else successor.
|
void |
setThenFlowRule(Store.FlowRule rule)
Set the flow rule for information flowing from this block to its then successor.
|
getLastNode, getNodes, getPredecessors, getSuccessors, getType
Block getThenSuccessor()
Block getElseSuccessor()
Store.FlowRule getThenFlowRule()
Store.FlowRule getElseFlowRule()
void setThenFlowRule(Store.FlowRule rule)
rule
- the new flow rule for information flowing from this block to its then successorvoid setElseFlowRule(Store.FlowRule rule)
rule
- the new flow rule for information flowing from this block to its else successor