ModuleName

org.finos.morphir.universe.ir.package$.ModuleName$
object ModuleName extends Subtype[Path]

Attributes

Graph
Supertypes
class Subtype[Path]
class Newtype[Path]
class NewtypeCustom[Path]
class Object
trait Matchable
class Any
Show all
Self type
ModuleName.type

Members list

Type members

Classlikes

final implicit class ModuleNameOps(val self: ModuleName) extends AnyVal

Attributes

Supertypes
class AnyVal
trait Matchable
class Any

Inherited types

type Type <: A

Attributes

Inherited from:
Subtype

Value members

Concrete methods

def apply(path: Path, name: Name): ModuleName
def apply(input: String): ModuleName
def fromString(input: String): ModuleName

Inherited methods

inline def apply(inline a1: Path, inline a2: Path, inline a3: Path, inline a4: Path, inline a5: Path, inline a6: Path): NonEmptyChunk[Type]

Attributes

Inherited from:
NewtypeCustom
inline def apply(inline a1: Path, inline a2: Path, inline a3: Path, inline a4: Path, inline a5: Path): NonEmptyChunk[Type]

Attributes

Inherited from:
NewtypeCustom
inline def apply(inline a1: Path, inline a2: Path, inline a3: Path, inline a4: Path): NonEmptyChunk[Type]

Attributes

Inherited from:
NewtypeCustom
inline def apply(inline a1: Path, inline a2: Path, inline a3: Path): NonEmptyChunk[Type]

Attributes

Inherited from:
NewtypeCustom
inline def apply(inline a1: Path, inline a2: Path): NonEmptyChunk[Type]

Attributes

Inherited from:
NewtypeCustom
inline def apply(inline a1: Path): Type

Converts an instance of the underlying type to an instance of the newtype.

Converts an instance of the underlying type to an instance of the newtype.

Attributes

Inherited from:
NewtypeCustom
def assertion: Assertion[A]

Attributes

Inherited from:
Newtype
def derive[TypeClass[_]](implicit instance: TypeClass[Path]): TypeClass[Type]

Derives an instance of a type class for the new type given an instance of the type class for the underlying type. The caller is responsible for the type class being a valid instance for the new type.

Derives an instance of a type class for the new type given an instance of the type class for the underlying type. The caller is responsible for the type class being a valid instance for the new type.

Attributes

Inherited from:
NewtypeCustom
def make(value: Path): Validation[String, Type]

Attributes

Inherited from:
NewtypeCustom
def makeAll[F[_] : ForEach](value: F[Path]): Validation[String, F[Type]]

Attributes

Inherited from:
NewtypeCustom
def unapply(value: Type): Some[A]

Allows pattern matching on newtype instances to convert them back to instances of the underlying type.

Allows pattern matching on newtype instances to convert them back to instances of the underlying type.

Attributes

Inherited from:
NewtypeCustom
def unwrap(value: Type): A

Converts an instance of the newtype back to an instance of the underlying type.

Converts an instance of the newtype back to an instance of the underlying type.

Attributes

Inherited from:
NewtypeCustom
def unwrapAll[F[_]](value: F[Type]): F[A]

Converts an instance of a type parameterized on the newtype back to an instance of a type parameterized on the underlying type. For example, this could be used to convert a list of instances of the newtype back to a list of instances of the underlying type.

Converts an instance of a type parameterized on the newtype back to an instance of a type parameterized on the underlying type. For example, this could be used to convert a list of instances of the newtype back to a list of instances of the underlying type.

Attributes

Inherited from:
NewtypeCustom
protected def validate(value: Path): Either[AssertionError, Unit]

Function that will used to check runtime values before lifting them into the newtype. Should be consistent with validateInline.

Function that will used to check runtime values before lifting them into the newtype. Should be consistent with validateInline.

Attributes

Inherited from:
Newtype
inline protected def validateInline(inline value: Path): Unit

Function that will be used to check compile-time values before lifting them into the newtype. Should be consistent with validate.

Function that will be used to check compile-time values before lifting them into the newtype. Should be consistent with validate.

Attributes

Inherited from:
Newtype
def wrap(value: Path): Type

Converts an instance of the underlying type to an instance of the newtype. Ignores the assertion.

Converts an instance of the underlying type to an instance of the newtype. Ignores the assertion.

Attributes

Inherited from:
NewtypeCustom
def wrapAll[F[_]](value: F[Path]): F[Type]

Converts an instance of a type parameterized on the underlying type to an instance of a type parameterized on the newtype.

Converts an instance of a type parameterized on the underlying type to an instance of a type parameterized on the newtype.

Attributes

Inherited from:
NewtypeCustom

Implicits

Implicits

final implicit def ModuleNameOps(self: ModuleName): ModuleNameOps

Inherited implicits

implicit def classTag(implicit underlying: ClassTag[Path]): ClassTag[Type]

Attributes

Inherited from:
NewtypeCustom