Expected

io.github.frikit.twirlspec.expect.Expected
See theExpected companion trait
object Expected

The forms an expected value can take.

Attributes

Companion
trait
Source
Expected.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Expected.type

Members list

Type members

Classlikes

case object Anything extends Expected

Matches anything non-empty — for "there is a heading, I don't care what".

Matches anything non-empty — for "there is a heading, I don't care what".

Attributes

Source
Expected.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Expected
class Object
trait Matchable
class Any
Show all
Self type
Anything.type
final case class Key(key: String, args: Seq[Any] = ...) extends Expected

A message key, with any arguments, resolved in the page's language.

A message key, with any arguments, resolved in the page's language.

Attributes

Source
Expected.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Expected
class Object
trait Matchable
class Any
Show all
final case class Literal(value: String) extends Expected

The exact words, normalised the way page text is.

The exact words, normalised the way page text is.

Attributes

Source
Expected.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Expected
class Object
trait Matchable
class Any
Show all
final case class Pattern(regex: Regex) extends Expected

A regular expression the text must match somewhere.

A regular expression the text must match somewhere.

Attributes

Source
Expected.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Expected
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala