TypeExpression

com.reactific.riddl.language.AST.TypeExpression
sealed trait TypeExpression extends RiddlValue

Base trait of an expression that defines a type

Attributes

Graph
Supertypes
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Known subtypes
class Aggregation
class Alternation
trait Cardinality
class OneOrMore
class Optional
class ZeroOrMore
class Mapping
trait NumericType
class Bool
class Enumeration
class Integer
class Natural
class Number
class RangeType
class Whole
class Current
class Decimal
class Length
class Luminosity
class Mass
class Mole
class Real
class Temperature
class Abstract
class Currency
class Location
class Nothing
class Pattern
class Strng
trait TimeType
class Date
class DateTime
class Duration
class Time
class TimeStamp
class URL
class UUID
class UniqueId
class UnknownType
class UserId
class Sequence
class Set
Show all

Members list

Value members

Inherited methods

def format: String

Format the node to a string

Format the node to a string

Attributes

Inherited from:
RiddlNode

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
def loc: At

The location in the parse at which this RiddlValue occurs

The location in the parse at which this RiddlValue occurs

Attributes

Inherited from:
RiddlValue
final def nonEmpty: Boolean

Attributes

Inherited from:
RiddlNode