Class AstConsumeInstruction

java.lang.Object
com.ibm.wala.ssa.SSAInstruction
com.ibm.wala.cast.ir.ssa.AstConsumeInstruction
Direct Known Subclasses:
AstEchoInstruction, AstYieldInstruction

public abstract class AstConsumeInstruction extends SSAInstruction
  • Field Details Link icon

    • rvals Link icon

      protected final int[] rvals
  • Constructor Details Link icon

    • AstConsumeInstruction Link icon

      public AstConsumeInstruction(int iindex, int[] rvals)
  • Method Details Link icon

    • getNumberOfDefs Link icon

      public int getNumberOfDefs()
      Overrides:
      getNumberOfDefs in class SSAInstruction
    • getDef Link icon

      public int getDef(int i)
      Description copied from class: SSAInstruction
      Return the ith def
      Overrides:
      getDef in class SSAInstruction
      Parameters:
      i - number of the def, starting at 0.
    • getNumberOfUses Link icon

      public int getNumberOfUses()
      Overrides:
      getNumberOfUses in class SSAInstruction
    • getUse Link icon

      public int getUse(int i)
      Overrides:
      getUse in class SSAInstruction
      Returns:
      value number representing the jth use in this instruction. -1 means TOP (i.e., the value doesn't matter)
    • hashCode Link icon

      public int hashCode()
      Specified by:
      hashCode in class SSAInstruction
    • isFallThrough Link icon

      public boolean isFallThrough()
      Specified by:
      isFallThrough in class SSAInstruction
      Returns:
      true iff this instruction may fall through to the next
    • getExceptionTypes Link icon

      public Collection<TypeReference> getExceptionTypes()
      Description copied from class: SSAInstruction
      This method should never return null.
      Overrides:
      getExceptionTypes in class SSAInstruction
      Returns:
      the set of exception types that an instruction might throw ... disregarding athrows and invokes.