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

    • getThenSuccessor

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

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

      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

      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

      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

      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