scala.reflect.internal.Types

TypeMap

abstract class TypeMap extends (Type) ⇒ Type

A prototype for mapping a function over all possible types

Source
Types.scala
Linear Supertypes
(Type) ⇒ Type, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. TypeMap
  2. Function1
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypeMap()

Type Members

  1. class TypeMapTransformer extends Transformer

    This transformer leaves the tree alone except to remap its types.

Abstract Value Members

  1. abstract def apply(tp: Type): Type

    Definition Classes
    TypeMap → Function1

Concrete 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. def andThen[A](g: (Type) ⇒ A): (Type) ⇒ A

    Definition Classes
    Function1
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def compose[A](g: (A) ⇒ Type): (A) ⇒ Type

    Definition Classes
    Function1
  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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  16. def mapOver(tree: Tree, giveup: () ⇒ Nothing): Tree

    Map a tree that is part of an annotation argument.

    Map a tree that is part of an annotation argument. If the tree cannot be mapped, then invoke giveup(). The default is to transform the tree with TypeMapTransformer.

  17. def mapOver(tree: Tree): Tree

  18. def mapOver(annot: AnnotationInfo): AnnotationInfo

  19. def mapOver(origSyms: List[Symbol]): List[Symbol]

    Map this function over given list of symbols

  20. def mapOver(scope: Scope): Scope

    Map this function over given scope

  21. def mapOver(tp: Type): Type

    Map this function over given type

  22. def mapOverAnnotArgs(args: List[Tree]): List[Tree]

    Map over a set of annotation arguments.

    Map over a set of annotation arguments. If any of the arguments cannot be mapped, then return Nil.

  23. def mapOverAnnotations(annots: List[AnnotationInfo]): List[AnnotationInfo]

  24. def mapOverArgs(args: List[Type], tparams: List[Symbol]): List[Type]

    Attributes
    protected
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def noChangeToSymbols(origSyms: List[Symbol]): Boolean

    Called by mapOver to determine whether the original symbols can be returned, or whether they must be cloned.

    Called by mapOver to determine whether the original symbols can be returned, or whether they must be cloned. Overridden in VariantTypeMap.

    Attributes
    protected
  27. final def notify(): Unit

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

    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  31. def variance: Int

    Mix in VariantTypeMap if you want variances to be significant.

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from (Type) ⇒ Type

Inherited from AnyRef

Inherited from Any