Annotation

com.alecdorrington.annotatedtextformat.Annotation
See theAnnotation companion class
object Annotation

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Annotation.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[A](span: TextSpan, value: A): Annotation[A]

An annotation of the one span span.

An annotation of the one span span.

Attributes

def schema(value: Json): Json

The JSON Schema of an annotation whose value conforms to the schema value, within a whole schema, to which the definitions of value belong.

The JSON Schema of an annotation whose value conforms to the schema value, within a whole schema, to which the definitions of value belong.

Attributes

Givens

Givens

given given_Decoder_Annotation: [A : Decoder] => Decoder[Annotation[A]]
given given_Encoder_Annotation: [A : Encoder] => Encoder[Annotation[A]]

An annotation as {"spans": [...], "value": ...}.

An annotation as {"spans": [...], "value": ...}.

Attributes