scala.reflect.internal

BaseTypeSeqs

trait BaseTypeSeqs extends AnyRef

A base type sequence (BaseTypeSeq) is an ordered sequence spanning all the base types of a type. It characterized by the following two laws:

(1) Each element of tp.baseTypeSeq is a basetype of tp (2) For each basetype bt1 of tp there is an element bt in tp.baseTypeSeq such that

bt.typeSymbol = bt1.typeSymbol bt <: bt1

(3) The type symbols of different elements are different.

Elements in the sequence are ordered by Symbol.isLess.

Self Type
SymbolTable
Source
BaseTypeSeqs.scala
Note

base type sequences were called closures up to 2.7.1. The name has been changed to avoid confusion with function closures.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BaseTypeSeqs
  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

Type Members

  1. class BaseTypeSeq extends AnyRef

    Note: constructor is protected to force everyone to use the factory method newBaseTypeSeq instead.

  2. class MappedBaseTypeSeq extends BaseTypeSeq

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 BaseTypeSeqs to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (BaseTypeSeqs, B)

    Implicit information
    This member is added by an implicit conversion from BaseTypeSeqs to ArrowAssoc[BaseTypeSeqs] 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. val CyclicInheritance: Throwable

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def baseTypeSingletonSeq(tp: Type): BaseTypeSeq

    Create a base type sequence consisting of a single type

  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def compoundBaseTypeSeq(tp: Type): BaseTypeSeq

    Create the base type sequence of a compound type wuth given tp.

    Create the base type sequence of a compound type wuth given tp.parents

  13. def ensuring(cond: (BaseTypeSeqs) ⇒ Boolean, msg: ⇒ Any): BaseTypeSeqs

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  25. def newBaseTypeSeq(parents: List[Type], elems: Array[Type]): BaseTypeSeq

    Attributes
    protected
  26. final def notify(): Unit

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

    Definition Classes
    AnyRef
  28. val self: Any

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

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

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. val undetBaseTypeSeq: BaseTypeSeq

    A merker object for a base type sequence that's no yet computed.

    A merker object for a base type sequence that's no yet computed. used to catch inheritance cycles

  33. final def wait(): Unit

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

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

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

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

Deprecated Value Members

  1. def x: BaseTypeSeqs

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

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: BaseTypeSeqs

    Implicit information
    This member is added by an implicit conversion from BaseTypeSeqs to Ensuring[BaseTypeSeqs] 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 BaseTypeSeqs to StringFormat

Inherited by implicit conversion any2stringadd from BaseTypeSeqs to StringAdd

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

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