Strng

com.reactific.riddl.language.AST.Strng
case class Strng(loc: At, min: Option[Long], max: Option[Long]) extends PredefinedType

A type expression for values of arbitrary string type, possibly bounded by length.

Value parameters

loc

The location of the Strng type expression

max

The maximum length of the string (default: MaxInt)

min

The minimum length of the string (default: 0)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def format: String

Format the node to a string

Format the node to a string

Attributes

Definition Classes

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
TypeExpression

Attributes

Inherited from:
RiddlNode

Determine if this node is a container or not

Determine if this node is a container or not

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
RiddlNode
override def isEmpty: Boolean

determine if this node is empty or not.

determine if this node is empty or not. Non-containers are always empty

Attributes

Definition Classes
Inherited from:
PredefinedType
final def nonEmpty: Boolean

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

lazy override val kind: String