PredefinedType

com.reactific.riddl.language.AST.PredefinedType
See thePredefinedType companion object
abstract class PredefinedType extends TypeExpression

Base class of all pre-defined type expressions

Attributes

Companion
object
Graph
Supertypes
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Show all
Known subtypes
class Abstract
class Bool
class Currency
class Current
class Integer
class Length
class Location
class Luminosity
class Mass
class Mole
class Natural
class Nothing
class Number
class Pattern
class Real
class Strng
class Temperature
trait TimeType
class Date
class DateTime
class Duration
class Time
class TimeStamp
class URL
class UUID
class UniqueId
class UnknownType
class UserId
class Whole
Show all

Members list

Value members

Abstract methods

def kind: String
def loc: At

The location in the parse at which this RiddlValue occurs

The location in the parse at which this RiddlValue occurs

Attributes

Concrete methods

override def format: String

Format the node to a string

Format the node to a string

Attributes

Definition Classes
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 methods

Attributes

Inherited from:
TypeExpression

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
TypeExpression

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
final def nonEmpty: Boolean

Attributes

Inherited from:
RiddlNode