java.lang.Object
org.htmlunit.corejs.javascript.interpreterv2.instruction.Instruction
org.htmlunit.corejs.javascript.interpreterv2.instruction.JumpInstruction

public abstract class JumpInstruction extends Instruction
  • Constructor Details

    • JumpInstruction

      public JumpInstruction()
  • Method Details

    • setOffset

      public void setOffset(int offset)
    • getOffset

      public final int getOffset()
    • getTargets

      public abstract Set<Integer> getTargets(int fromPC)
      Returns all possible jump targets from this instruction.
      Parameters:
      fromPC - the PC of this instruction
      Returns:
      set of all possible target PCs
    • toDebugString

      public String toDebugString()
      Overrides:
      toDebugString in class Instruction