scala.tools.nsc.symtab.Types

TypeMap

class TypeMap extends (Type) ⇒ Type

A prototype for mapping a function over all possible types

Attributes
abstract
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. def apply (v1: Type): Type

    Attributes
    abstract
    Definition Classes
    Function1

Concrete Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. def allEq [T <: AnyRef] (l1: List[T], l2: List[T]): Boolean

    Check whether two lists have elements that are eq-equal

  7. def andThen [A] (g: (Type) ⇒ A): (Type) ⇒ A

    Definition Classes
    Function1
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def coevolveSym (pre: Type, pre1: Type, sym: Symbol): Symbol

    Attributes
    protected
  11. def compose [A] (g: (A) ⇒ Type): (A) ⇒ Type

    Definition Classes
    Function1
  12. val dropNonConstraintAnnotations : Boolean

    Should this map drop annotations that are not type-constraint annotations?

  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  17. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  19. 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.

  20. def mapOver (tree: Tree): Option[Tree]

  21. def mapOver (annot: AnnotationInfo): Option[AnnotationInfo]

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

    Map this function over given list of symbols

  23. def mapOver (scope: Scope): Scope

    Map this function over given scope

  24. def mapOver (tp: Type): Type

    Map this function over given type

  25. 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.

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

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

  28. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  29. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  30. def notifyAll (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef
  32. def toString (): String

    Definition Classes
    Function1 → AnyRef → Any
  33. var variance : Int

    The variance relative to start.

    The variance relative to start. If you want variances to be significant, set variance = 1 at the top of the typemap.

  34. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from (Type) ⇒ Type

Inherited from AnyRef

Inherited from Any