Number

com.reactific.riddl.language.AST.Number

A predefined type expression for an arbitrary number value

Value parameters

loc

The location of the number type expression

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

def kind: String

Inherited methods

override def format: String

Format the node to a string

Format the node to a string

Attributes

Definition Classes
Inherited from:
PredefinedType

Attributes

Inherited from:
TypeExpression

Attributes

Inherited from:
RiddlNode

Attributes

Definition Classes
Inherited from:
NumericType

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