scala.tools.nsc.backend.icode.Opcodes

Instruction

abstract class Instruction extends Cloneable

This class represents an instruction of the intermediate code. Each case subclass will represent a specific operation.

Source
Opcodes.scala
Linear Supertypes
Cloneable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Instruction
  2. Cloneable
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Instruction()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): Instruction

    Clone this instruction.

    Clone this instruction.

    Definition Classes
    Instruction → AnyRef
  8. def consumed: Int

    This abstract method returns the number of used elements on the stack

  9. def consumedTypes: List[TypeKind]

    This instruction consumes these types from the top of the stack, the first element in the list is the deepest element on the stack.

  10. def difference: Int

    This method returns the difference of size of the stack when the instruction is used

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def pos: Position

  21. def produced: Int

    This abstract method returns the number of produced elements on the stack

  22. def producedTypes: List[TypeKind]

    This instruction produces these types on top of the stack.

  23. def setPos(p: Position): Instruction.this.type

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. var useful: Boolean

    Used by dead code elimination.

  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Cloneable

Inherited from AnyRef

Inherited from Any