dotty.tools.dotc.typer

Variances

Related Doc: package typer

object Variances

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Variances
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Variance = FlagSet

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. val Bivariant: FlagSet

  5. val Invariant: FlagSet

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def compose(v: Variance, boundsVariance: Int): Variance

  9. def cut(v: Variance): Variance

    Map everything below Bivariant to Invariant

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flip(v: Variance): Variance

    Flip between covariant and contravariant

  14. final def getClass(): 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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. def varianceInAnnot(annot: Annotation)(tparam: Symbol)(implicit ctx: Context): Variance

    Compute variance of type parameter tparam' in type annotation annot'.

  23. def varianceInAnnots(annots: List[Annotation])(tparam: Symbol)(implicit ctx: Context): Variance

    Compute variance of type parameter tparam' in all type annotations annots'.

  24. def varianceInArgs(tps: List[Type], tparams1: List[Symbol])(tparam: Symbol)(implicit ctx: Context): Variance

    Compute variance of type parameter tparam' in all type arguments tps which correspond to formal type parameters tparams1'.

  25. def varianceInSym(sym: Symbol)(tparam: Symbol)(implicit ctx: Context): Variance

    Compute variance of type parameter tparam' in type of symbol sym'.

  26. def varianceInSyms(syms: List[Symbol])(tparam: Symbol)(implicit ctx: Context): Variance

    Compute variance of type parameter tparam' in types of all symbols sym'.

  27. def varianceInType(tp: Type)(tparam: Symbol)(implicit ctx: Context): Variance

    Compute variance of type parameter tparam in type tp.

    Compute variance of type parameter tparam in type tp.

  28. def varianceInTypes(tps: List[Type])(tparam: Symbol)(implicit ctx: Context): Variance

    Compute variance of type parameter tparam' in all types tps'.

  29. def varianceString(v: Int): String

  30. def varianceString(v: Variance): String

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped