String.Opaque.Base

abstract class Base[A <: String.Opaque](name: String) extends AnyRef.Opaque.Base[A, String] with _methods

String Opaque Companion Object Base

String Opaque Base by default inherits a large library of String methods.

Note. Most opaque companions extend Opaque.Data, which also defines specialized containers attached to the type.

See sample type definition.

Source
__.scala
trait _methods
trait _copy
trait _modify
trait _evaluate
class AnyRef.Opaque.Base[String.Opaque.Base.A, String]
trait _methods[String.Opaque.Base.A, String]
class Any.Z.OpaqueBase[String.Opaque.Base.A]
trait Any.Def.Void[String.Opaque.Base.A]
trait Any.Def.Doc[String.Opaque.Base.A]
trait Any.Def.Tag[String.Opaque.Base.A]
class Any.Def.TypeName[String.Opaque.Base.A]
class java.lang.Object
trait scala.Matchable
class Any
class String.Opaque.Data[String.Opaque.Data.A]
object Fx.Style

Def

final lazy val ordering: Ordering[A]
Source
__.scala
val typeName: String

Type name

Type name

Returns defined opaque type name

Inherited from
OpaqueBase
Source
OpaqueBase.scala
def value_doc(v: A): Doc
Inherited from
Base
Source
Base.scala
override def value_isVoid(v: A): Boolean

Void check

Void check

Override this method to define which instances of this type are void

By default String based opaque values are void if underlying String length equals to 0

Definition Classes
Base -> OpaqueBase -> Void
Source
__.scala
override def value_tag(v: A): String

Value to String

Value to String

Override this method to provide type custom convertion to String

Definition Classes
Base -> OpaqueBase -> Tag
Source
__.scala

Implicit

implicit inline def implicitRequest(v: VOID): A
Source
__.scala