io.github.cakelier.tuples.space.dsl

Members list

Type members

Classlikes

The object collecting all DSL templates for creating new instances of JsonStringTemplates.

The object collecting all DSL templates for creating new instances of JsonStringTemplates.

Any new "string" template starts as "empty", meaning that only the type of the element will be checked for matching and the template will be capable of matching any string. Then, for further specifying the template, the user can decide whether to add some values to which the string should be equal, or a regular expression which should match the string, or an inclusive range of lengths for the string to match. The interval can be half-open on both ends and those can be specified in either order.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait Template

A DSL template, representing a basic building block for the specification of a JsonTemplate.

A DSL template, representing a basic building block for the specification of a JsonTemplate.

The DSL template differs from the JsonTemplate in the fact that it must only retain all information needed to convert it to a JsonTemplate, it is to be used as a skeleton to build specifications and not for actual matching. Being so, it must provide all it is needed to convert it to a JsonTemplate.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes