String.Custom.Data

abstract class Data[A <: Opaque.String](typeName: String) extends String.Custom.Type[A] with Ref.Custom.Containers[A]

String Custom Data Setup

Custom Data not only defines a String based opaque type, but also privides a framework of customized containers attached to this type.

See more in guide.

Source
Data.scala
trait _methods[A]
trait _transform[A]
trait _copy[A]
trait _modify[A]
trait _evaluate[A]
class Ref.Custom.Type[A, String]
trait _methods[A, String]
trait Given.VoidTag[A]
trait Given.DocTag[A]
class Given.TypeTag[A]
class java.lang.Object
trait scala.Matchable
class Any

Alias

@scala.annotation.targetName("Stream")
type ~ = ~[A]
Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Stream")
val ~: ~
Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Range")
type <> = <>[A]
Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Range")
Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Pack")
type >< = ><[A]
Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Pack")
Inherited from
Containers
Source
__.scala
type Buffer = Ref.Buffer[A]
Inherited from
Containers
Source
__.scala
Inherited from
Containers
Source
__.scala
type Idx = Idx[A]
Inherited from
Containers
Source
__.scala
type Lookup[B] = Lookup[A, B]
Inherited from
Containers
Source
__.scala
type Opt = Opt[A]
Inherited from
Containers
Source
__.scala
type Pro = Pro[A]
Inherited from
Containers
Source
__.scala
type Promise = Promise[A]
Inherited from
Containers
Source
__.scala
type Result = Result[A]
Inherited from
Containers
Source
__.scala
Inherited from
Containers
Source
__.scala

Def

def doc(v: A): Doc

Type to Doc

Type to Doc

Override this method to provide type custom Doc implementation

Inherited from
Companion
Source
Companion.scala
override def isVoid(v: A): Boolean

Void check

Void check

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

By default this method always returns false

If type supports void instances, then following inmpelentation should be added in most cases:

 implicit inline def implicitRequest(inline v: \/) : <type> = <return void>
Definition Classes
Inherited from
Type
Source
__.scala
final lazy val ordering: scala.Ordering[A]
Inherited from
Type
Source
__.scala
override def tag(v: A): String

Type to String

Type to String

Override this method to provide type custom convertion to String

Definition Classes
Inherited from
Type
Source
__.scala

Implicit

implicit inline def implicitRequest(inline v: \/): A
Inherited from
Type
Source
__.scala