Unit

org.finos.morphir.internal.TypeModule.Type$.Unit
sealed case class Unit[+A](attributes: A) extends Type[A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Type[A]
trait TypeExpr
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type AttributesType <: A

Attributes

Inherited from:
Type

Value members

Concrete methods

override def tag: Int

Attributes

Definition Classes

Inherited methods

def ??(doc: String): Documented[Type[A]]

Attributes

Inherited from:
Type
final def exists(f: PartialFunction[Type[A], Any]): Boolean

Attributes

Inherited from:
Type
final def find[Z](f: PartialFunction[Type[A], Z]): Option[Z]

Attributes

Inherited from:
Type
def fold[Z](unitCase0: A => Z, variableCase0: (A, Name) => Z, extensibleRecordCase0: (A, Name, List[IField[Z]]) => Z, functionCase0: (A, Z, Z) => Z, recordCase0: (A, List[IField[Z]]) => Z, referenceCase0: (A, FQName, List[Z]) => Z, tupleCase0: (A, List[Z]) => Z): Z

Attributes

Inherited from:
Type
def fold[A1 >: A](z: A1)(f: (A1, A1) => A1): A1

Attributes

Inherited from:
Type
final def foldDown[Z](z: Z)(f: (Z, Type[A]) => Z): Z

Attributes

Inherited from:
Type
final def foldDownSome[Z](z: Z)(f: PartialFunction[(Z, Type[A]), Z]): Z

Attributes

Inherited from:
Type
final def foldLeft[Z](z: Z)(f: (Z, A) => Z): Z

Attributes

Inherited from:
Type
final def foldLeftSome[Z](z: Z)(f: PartialFunction[(Z, A), Z]): Z

Attributes

Inherited from:
Type
final def foldRight[Z](z: Z)(f: (A, Z) => Z): Z

Attributes

Inherited from:
Type
final def foldUp[Z](z: Z)(f: (Type[A], Z) => Z): Z

Attributes

Inherited from:
Type
final def foldUpSome[Z](z: Z)(f: PartialFunction[(Type[A], Z), Z]): Z

Attributes

Inherited from:
Type
final def isIntrinsic: Boolean

Attributes

Inherited from:
Type
final def isReference: Boolean

Attributes

Inherited from:
Type
final def map[B](f: A => B): Type[B]

Attributes

Inherited from:
Type
def mapAttributes[B](f: A => B): Type[B]

Attributes

Inherited from:
Type
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Type -> Any
Inherited from:
Type

Inherited fields

lazy val fieldCount: Int

Attributes

Inherited from:
Type
lazy val size: Long

Attributes

Inherited from:
Type