Interface ConditionalBlock

All Superinterfaces:
Block, org.plumelib.util.UniqueId
All Known Implementing Classes:
ConditionalBlockImpl

public interface ConditionalBlock extends Block
Represents a conditional basic block.
  • Method Details Link icon

    • getThenSuccessor Link icon

      Block getThenSuccessor()
      Returns the entry block of the then branch.
      Returns:
      the entry block of the then branch
    • getElseSuccessor Link icon

      Block getElseSuccessor()
      Returns the entry block of the else branch.
      Returns:
      the entry block of the else branch
    • getThenFlowRule Link icon

      Store.FlowRule getThenFlowRule()
      Returns the flow rule for information flowing from this block to its then successor.
      Returns:
      the flow rule for information flowing from this block to its then successor
    • getElseFlowRule Link icon

      Store.FlowRule getElseFlowRule()
      Returns the flow rule for information flowing from this block to its else successor.
      Returns:
      the flow rule for information flowing from this block to its else successor
    • setThenFlowRule Link icon

      void setThenFlowRule(Store.FlowRule rule)
      Set the flow rule for information flowing from this block to its then successor.
      Parameters:
      rule - the new flow rule for information flowing from this block to its then successor
    • setElseFlowRule Link icon

      void setElseFlowRule(Store.FlowRule rule)
      Set the flow rule for information flowing from this block to its else successor.
      Parameters:
      rule - the new flow rule for information flowing from this block to its else successor