Text

com.alecdorrington.eunomia.model.Value.Text
final case class Text(text: String)

A piece of text.

Value parameters

text

The text.

Attributes

Members list

Value members

Inherited methods

def convertedTo(target: Kind): Option[Value]

Converts this value to the given kind without loss. Integers and real numbers convert freely, provided a real number has no fractional part.

Converts this value to the given kind without loss. Integers and real numbers convert freely, provided a real number has no fractional part.

Value parameters

target

The kind to convert to.

Attributes

Returns

An option holding the converted value, or None where it cannot be converted without loss.

Inherited from:
Value
def kind: Kind

The kind of field this value belongs to.

The kind of field this value belongs to.

Attributes

Inherited from:
Value
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product