Packages

c

slick.ast

NominalType

final case class NominalType(sym: TypeSymbol, structuralView: Type) extends Type with Product with Serializable

A type with a name, as used by tables.

Compiler phases which change types may keep their own representation of the structural view but must update the AST at the end of the phase so that all NominalTypes with the same symbol have the same structural view.

Source
Type.scala
Linear Supertypes
Serializable, Product, Equals, Type, Dumpable, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NominalType
  2. Serializable
  3. Product
  4. Equals
  5. Type
  6. Dumpable
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NominalType(sym: TypeSymbol, structuralView: Type)

Value Members

  1. def children: ConstArray[Type]

    All children of this Type.

    All children of this Type.

    Definition Classes
    NominalTypeType
  2. def childrenForeach[R](f: (Type) => R): Unit

    Apply a side-effecting function to all children.

    Apply a side-effecting function to all children.

    Definition Classes
    NominalTypeType
  3. def classTag: ClassTag[_]

    A ClassTag for the erased type of this type's Scala values

    A ClassTag for the erased type of this type's Scala values

    Definition Classes
    NominalTypeType
  4. def getDumpInfo: DumpInfo

    Return the name, main info, attribute info and named children

    Return the name, main info, attribute info and named children

    Definition Classes
    TypeDumpable
  5. def mapChildren(f: (Type) => Type): NominalType

    Apply a transformation to all type children and reconstruct this type with the new children, or return the original object if no child is changed.

    Apply a transformation to all type children and reconstruct this type with the new children, or return the original object if no child is changed.

    Definition Classes
    NominalTypeType
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product
  7. def select(sym: TermSymbol): Type
    Definition Classes
    NominalTypeType
  8. def sourceNominalType: NominalType
    Annotations
    @tailrec()
  9. def structural: Type

    The structural view of this type

    The structural view of this type

    Definition Classes
    NominalTypeType
  10. def structuralRec: Type

    Remove all NominalTypes recursively from this Type

    Remove all NominalTypes recursively from this Type

    Definition Classes
    Type
  11. val structuralView: Type
  12. val sym: TypeSymbol
  13. def toString(): String
    Definition Classes
    NominalType → AnyRef → Any
  14. def withStructuralView(t: Type): NominalType