scala.tools.nsc.backend.icode.TypeStacks

TypeStack

class TypeStack extends AnyRef

Source
TypeStacks.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TypeStack
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypeStack(that: TypeStack)

  2. new TypeStack()

  3. new TypeStack(types: Rep)

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from TypeStack to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (TypeStack, B)

    Implicit information
    This member is added by an implicit conversion from TypeStack to ArrowAssoc[TypeStack] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. def agreesWith(other: TypeStack): Boolean

    A TypeStack agrees with another one if they have the same length and each type kind agrees position-wise.

    A TypeStack agrees with another one if they have the same length and each type kind agrees position-wise. Two types agree if one is a subtype of the other.

  9. def apply(n: Int): TypeKind

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def ensuring(cond: (TypeStack) ⇒ Boolean, msg: ⇒ Any): TypeStack

    Implicit information
    This member is added by an implicit conversion from TypeStack to Ensuring[TypeStack] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (TypeStack) ⇒ Boolean): TypeStack

    Implicit information
    This member is added by an implicit conversion from TypeStack to Ensuring[TypeStack] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: ⇒ Any): TypeStack

    Implicit information
    This member is added by an implicit conversion from TypeStack to Ensuring[TypeStack] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): TypeStack

    Implicit information
    This member is added by an implicit conversion from TypeStack to Ensuring[TypeStack] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(other: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from TypeStack to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

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

    Definition Classes
    TypeStack → AnyRef → Any
  22. def head: TypeKind

  23. def isEmpty: Boolean

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. def length: Int

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def nonEmpty: Boolean

  28. final def notify(): Unit

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

    Definition Classes
    AnyRef
  30. def pop(n: Int): List[TypeKind]

    Drop the first n elements of the stack.

  31. def pop: TypeKind

    Removes the value on top of the stack, and returns it.

    Removes the value on top of the stack, and returns it. It assumes the stack contains at least one element.

  32. def pop2: (TypeKind, TypeKind)

    Return the topmost two values on the stack.

    Return the topmost two values on the stack. It assumes the stack is large enough. Topmost element first.

  33. def pop3: (TypeKind, TypeKind, TypeKind)

    Return the topmost three values on the stack.

    Return the topmost three values on the stack. It assumes the stack is large enough. Topmost element first.

  34. def push(t: TypeKind): Unit

    Push a type on the type stack.

    Push a type on the type stack. UNITs are ignored.

  35. val self: Any

    Implicit information
    This member is added by an implicit conversion from TypeStack to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  36. val self: Any

    Implicit information
    This member is added by an implicit conversion from TypeStack to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toString(): String

    Definition Classes
    TypeStack → AnyRef → Any
  39. var types: Rep

  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  43. def [B](y: B): (TypeStack, B)

    Implicit information
    This member is added by an implicit conversion from TypeStack to ArrowAssoc[TypeStack] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: TypeStack

    Implicit information
    This member is added by an implicit conversion from TypeStack to ArrowAssoc[TypeStack] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: TypeStack

    Implicit information
    This member is added by an implicit conversion from TypeStack to Ensuring[TypeStack] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from TypeStack to StringFormat

Inherited by implicit conversion any2stringadd from TypeStack to StringAdd

Inherited by implicit conversion any2ArrowAssoc from TypeStack to ArrowAssoc[TypeStack]

Inherited by implicit conversion any2Ensuring from TypeStack to Ensuring[TypeStack]