Interface BranchInstruction

All Superinterfaces:
org.eclipse.emf.ecore.EObject, Instruction, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
Enditerate, Goto, If, Ifn, Iterate
All Known Implementing Classes:
BranchInstructionImpl, EnditerateImpl, GotoImpl, IfImpl, IfnImpl, IterateImpl

public interface BranchInstruction extends Instruction
A representation of the model object 'Branch Instruction'.
See Also:
  • Method Details

    • getOffset

      int getOffset()
      Returns the value of the 'Offset' attribute. The default value is "-1".

      Represents the instruction offset to jump to.

      Returns:
      the value of the 'Offset' attribute.
      See Also:
    • setOffset

      void setOffset(int value)
      Sets the value of the 'Offset' attribute. Represents the instruction offset to jump to.
      Parameters:
      value - the new value of the 'Offset' attribute.
      See Also:
    • getTarget

      Instruction getTarget()
      Returns the value of the 'Target' reference.

      Represents the 'Target' instruction to jump over, i.e. the 'Offset' corresponds to the instruction following 'Target'.

      Returns:
      the value of the 'Target' reference.
      See Also:
    • setTarget

      void setTarget(Instruction value)
      Sets the value of the 'Target' reference.

      Represents the 'Target' instruction to jump over, i.e. the 'Offset' corresponds to the instruction following 'Target'.

      Parameters:
      value - the new value of the 'Target' reference.
      See Also: