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

    • rvals

      protected final int[] rvals
  • Constructor Details

    • AstConsumeInstruction

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

    • getNumberOfDefs

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

      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

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

      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

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

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

      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.