scala.tools.nsc.typechecker

Unapplies

trait Unapplies extends TreeDSL

Self Type
Analyzer
Source
Unapplies.scala
Linear Supertypes
TreeDSL, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Unapplies
  2. TreeDSL
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val global: Global

    Definition Classes
    TreeDSL

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. object CODE extends AnyRef

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def caseClassCopyMeth(cdef: ClassDef): Option[DefDef]

  9. def caseModuleApplyMeth(cdef: ClassDef): DefDef

    The apply method corresponding to a case class

  10. def caseModuleDef(cdef: ClassDef): ModuleDef

    The module corresponding to a case class; overrides toString to show the module's name

  11. def caseModuleUnapplyMeth(cdef: ClassDef): DefDef

    The unapply method corresponding to a case class

  12. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def companionModuleDef(cdef: ClassDef, parents: List[Tree] = Nil, body: List[Tree] = Nil): ModuleDef

  14. def copyUntyped[T <: Tree](tree: T): T

  15. def copyUntypedInvariant(td: TypeDef): TypeDef

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. def unapplyMember(tp: Type): Symbol

    returns unapply or unapplySeq if available

  28. def unapplyParameterType(extractor: Symbol): Symbol

    returns unapply member's parameter type.

  29. def unapplyReturnTypeExpected(argsLength: Int): Type

    returns type of the unapply method returning T_0.

    returns type of the unapply method returning T_0...T_n for n == 0, boolean for n == 1, Some[T0] else Some[Product[Ti]]

  30. def unapplyTypeList(ufn: Symbol, ufntpe: Type): List[Type]

    returns type list for return type of the extraction

  31. def unapplyTypeListFromReturnType(tp1: Type): List[Type]

    (the inverse of unapplyReturnTypeSeq) for type Boolean, returns Nil for type Option[T] or Some[T]:

    (the inverse of unapplyReturnTypeSeq) for type Boolean, returns Nil for type Option[T] or Some[T]:

    • returns T0...Tn if n>0 and T <: Product[T0...Tn]]
    • returns T otherwise
  32. def unapplyTypeListFromReturnTypeSeq(tp1: Type): List[Type]

    let type be the result type of the (possibly polymorphic) unapply method for type Option[T] or Some[T] -returns T0.

    let type be the result type of the (possibly polymorphic) unapply method for type Option[T] or Some[T] -returns T0...Tn-1,Tn* if n>0 and T <: Product[T0...Tn-1,Seq[Tn]]], -returns R* if T = Seq[R]

  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()

Inherited from TreeDSL

Inherited from AnyRef

Inherited from Any