scala.tools.nsc.symtab.Types

AsSeenFromMap

class AsSeenFromMap extends TypeMap

A map to compute the asSeenFrom method

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

Instance Constructors

  1. new AsSeenFromMap(pre: Type, clazz: Symbol)

Type Members

  1. class TypeMapTransformer extends Transformer

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

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 allEq[T <: AnyRef](l1: List[T], l2: List[T]): Boolean

    Check whether two lists have elements that are eq-equal

    Check whether two lists have elements that are eq-equal

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

    Definition Classes
    Function1
  8. def apply(tp: Type): Type

    Definition Classes
    AsSeenFromMap → Function1
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def base(pre: Type, clazz: Symbol): Type

    Return pre.

    Return pre.baseType(clazz), or if that's NoType and clazz is a refinement, pre itself. See bug397.scala for an example where the second alternative is needed. The problem is that when forming the base type sequence of an abstract type, any refinements in the base type list might be regenerated, and thus acquire new class symbols. However, since refinements always have non-interesting prefixes it looks OK to me to just take the prefix directly.

  11. var capturedParams: List[Symbol]

  12. var capturedPre: Map[Symbol, Symbol]

  13. def clone(): AnyRef

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

    Attributes
    protected
    Definition Classes
    TypeMap
  15. def compose[A](g: (A) ⇒ Type): (A) ⇒ Type

    Definition Classes
    Function1
  16. val dropNonConstraintAnnotations: Boolean

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

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

    Definition Classes
    AsSeenFromMapTypeMap
  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. final def getClass(): java.lang.Class[_]

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

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

    Definition Classes
    Any
  23. 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.

    Definition Classes
    AsSeenFromMapTypeMap
  24. def mapOver(tree: Tree): Option[Tree]

    Definition Classes
    TypeMap
  25. def mapOver(annot: AnnotationInfo): Option[AnnotationInfo]

    Definition Classes
    TypeMap
  26. def mapOver(origSyms: List[Symbol]): List[Symbol]

    Map this function over given list of symbols

    Map this function over given list of symbols

    Definition Classes
    TypeMap
  27. def mapOver(scope: Scope): Scope

    Map this function over given scope

    Map this function over given scope

    Definition Classes
    TypeMap
  28. def mapOver(tp: Type): Type

    Map this function over given type

    Map this function over given type

    Definition Classes
    TypeMap
  29. 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.

    Definition Classes
    TypeMap
  30. def mapOverAnnotations(annots: List[AnnotationInfo]): List[AnnotationInfo]

    Definition Classes
    TypeMap
  31. def mapOverArgs(args: List[Type], tparams: List[Symbol]): List[Type]

    Definition Classes
    TypeMap
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. def stabilize(pre: Type, clazz: Symbol): Type

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  38. 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.

    Definition Classes
    TypeMap
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from TypeMap

Inherited from (Type) ⇒ Type

Inherited from AnyRef

Inherited from Any