RangeType

com.reactific.riddl.language.AST.RangeType
case class RangeType(loc: At, min: Long, max: Long) extends IntegerTypeExpression

A type expression that defines a set of integer values from a minimum value to a maximum value, inclusively.

Value parameters

loc

The location of the RangeType type expression

max

The maximum value of the RangeType

min

The minimum value of the RangeType

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait NumericType
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
def kind: String

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

determine if this node is empty or not.

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

Attributes

Inherited from:
RiddlNode
final def nonEmpty: Boolean

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product