scala.tools.nsc.typechecker.DestructureTypes

DestructureType

trait DestructureType[Node] extends (Global.Type) ⇒ Node

Linear Supertypes
(Global.Type) ⇒ Node, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DestructureType
  2. Function1
  3. AnyRef
  4. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def withLabel(node: Node, label: String): Node

  2. abstract def withType(node: Node, typeName: String): Node

  3. abstract def wrapAtom[U](value: U): Node

  4. abstract def wrapEmpty: Node

  5. abstract def wrapMono(in: Node, out: Node): Node

  6. abstract def wrapPoly(in: Node, out: Node): Node

  7. abstract def wrapProduct(nodes: List[Node]): Node

  8. abstract def wrapSequence(nodes: List[Node]): Node

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from DestructureType[Node] to StringAdd[DestructureType[Node]] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (DestructureType[Node], B)

    Implicit information
    This member is added by an implicit conversion from DestructureType[Node] to ArrowAssoc[DestructureType[Node]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. def andThen[A](g: (Node) ⇒ A): (Global.Type) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  9. def annotatedType(annotations: List[Global.AnnotationInfo], underlying: Global.Type): Node

  10. def annotation(ann: Global.AnnotationInfo): Node

  11. def apply(tp: Global.Type): Node

    Definition Classes
    DestructureType → Function1
  12. def apply(label: String, tp: Global.Type): Node

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def atom[U](label: String, value: U): Node

  15. def clone(): AnyRef

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

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  17. def constant(label: String, const: Global.Constant): Node

  18. def ensuring(cond: (DestructureType[Node]) ⇒ Boolean, msg: ⇒ Any): DestructureType[Node]

    Implicit information
    This member is added by an implicit conversion from DestructureType[Node] to Ensuring[DestructureType[Node]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (DestructureType[Node]) ⇒ Boolean): DestructureType[Node]

    Implicit information
    This member is added by an implicit conversion from DestructureType[Node] to Ensuring[DestructureType[Node]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: ⇒ Any): DestructureType[Node]

    Implicit information
    This member is added by an implicit conversion from DestructureType[Node] to Ensuring[DestructureType[Node]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): DestructureType[Node]

    Implicit information
    This member is added by an implicit conversion from DestructureType[Node] to Ensuring[DestructureType[Node]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from DestructureType[Node] to StringFormat[DestructureType[Node]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  29. def list(nodes: List[Node]): Node

  30. def monoFunction(params: List[Global.Symbol], restpe: Global.Type): Node

  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. def node(label: String, node: Node): Node

  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. def nullaryFunction(restpe: Global.Type): Node

  36. def parentList(tps: List[Global.Type]): Node

  37. def polyFunction(tparams: List[Global.Symbol], restpe: Global.Type): Node

  38. def prefix(pre: Global.Type): Node

  39. def product(typeName: String, nodes: Node*): Node

  40. def product(tp: Global.Type, nodes: Node*): Node

  41. def resultType(restpe: Global.Type): Node

  42. def scope(decls: Global.Scope): Node

  43. def symbolType(sym: Global.Symbol): String

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

    Definition Classes
    AnyRef
  45. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  46. def typeArgs(tps: List[Global.Type]): Node

  47. def typeBounds(lo0: Global.Type, hi0: Global.Type): Node

  48. def typeConstraint(constr: Global.TypeConstraint): Node

  49. def typeParams(tps: List[Global.Symbol]): Node

  50. def typeRef(tp: Global.TypeRef): Node

    This imposes additional structure beyond that which is visible in the case class hierarchy.

    This imposes additional structure beyond that which is visible in the case class hierarchy. In particular, (too) many different constructs are encoded in TypeRefs; here they are partitioned somewhat before being dispatched.

    For example, a typical type parameter is encoded as TypeRef(NoPrefix, sym, Nil) with its upper and lower bounds stored in the info of the symbol. Viewing the TypeRef naively we are treated to both too much information (useless prefix, usually empty args) and too little (bounds hidden behind indirection.) So drop the prefix and promote the bounds.

  51. def typeRefType(sym: Global.Symbol): String

  52. def valueParams(params: List[Global.Symbol]): Node

  53. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. def wrapSymbolInfo(sym: Global.Symbol): Node

  57. def wrapTree(tree: Global.Tree): Node

  58. def [B](y: B): (DestructureType[Node], B)

    Implicit information
    This member is added by an implicit conversion from DestructureType[Node] to ArrowAssoc[DestructureType[Node]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from (Global.Type) ⇒ Node

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from DestructureType[Node] to StringAdd[DestructureType[Node]]

Inherited by implicit conversion StringFormat from DestructureType[Node] to StringFormat[DestructureType[Node]]

Inherited by implicit conversion Ensuring from DestructureType[Node] to Ensuring[DestructureType[Node]]

Inherited by implicit conversion ArrowAssoc from DestructureType[Node] to ArrowAssoc[DestructureType[Node]]

Ungrouped