TypeExpression

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

Base trait of an expression that defines a type

Attributes

Source
AST.scala
Graph
Supertypes
trait RiddlValue
class Object
trait Matchable
class Any
Known subtypes
class Aggregation
class Alternation
trait Cardinality
class OneOrMore
class Optional
class ZeroOrMore
class Graph
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 Blob
class Currency
class Location
class Nothing
class Pattern
class String_
trait TimeType
class Date
class DateTime
class Duration
class Time
class TimeStamp
class URI
class UUID
class UniqueId
class UserId
class Replica
class Sequence
class Set
class Table
Show all

Members list

Value members

Concrete methods

Indicates whether this type has/is a Cardinality expression.

Indicates whether this type has/is a Cardinality expression.

Attributes

Source
AST.scala

Determines if this TypeExpression is an AggregateTypeExpression of a specific AggregateUseCase

Determines if this TypeExpression is an AggregateTypeExpression of a specific AggregateUseCase

Attributes

Source
AST.scala

Determines whether the other type is assignable to this type.

Determines whether the other type is assignable to this type.

Attributes

Source
AST.scala

Inherited methods

Determines if this RiddlValue references any Authors or not

Determines if this RiddlValue references any Authors or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValuedefines any Authors or not

Determines if this RiddlValuedefines any Authors or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determine if this RiddlValue has definitions it contains

Determine if this RiddlValue has definitions it contains

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue has any includes in it

Determines if this RiddlValue has any includes in it

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue has any options set or not

Determines if this RiddlValue has any options set or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue contains any type definitions

Determines if this RiddlValue contains any type definitions

Attributes

Inherited from:
RiddlValue
Source
AST.scala

True only if this value does not have a name or has an empty name

True only if this value does not have a name or has an empty name

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue is a comment or not

Determines if this RiddlValue is a comment or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determine if this RiddlValue contains other values or not

Determine if this RiddlValue contains other values or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determine if this RiddlValue is a definition or not

Determine if this RiddlValue is a definition or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determine if this RiddlValue is empty or not.

Determine if this RiddlValue is empty or not. Non-containers are always empty

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Whether or not this instance has an id: Identifier field or not

Whether or not this instance has an id: Identifier field or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue is a processor (handles messages) or not

Determines if this RiddlValue is a processor (handles messages) or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determine if this RiddlValue is the top most container, appearing at the root of the AST

Determine if this RiddlValue is the top most container, appearing at the root of the AST

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this node is a vital node or not

Determines if this node is a vital node or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala
def kind: String

Provide a string to specify the kind of thing this value is with default derived from class name

Provide a string to specify the kind of thing this value is with default derived from class name

Attributes

Inherited from:
RiddlValue
Source
AST.scala
final def nonEmpty: Boolean

implements the nonEmpty function based on the isEmpty function

implements the nonEmpty function based on the isEmpty function

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Inherited and Abstract methods

def format: String

Format the node to a string in a form suitable for use in error messages

Format the node to a string in a form suitable for use in error messages

Attributes

Inherited from:
RiddlValue
Source
AST.scala
def loc: At

The point location in the parse at which this RiddlValue occurs

The point location in the parse at which this RiddlValue occurs

Attributes

Inherited from:
RiddlValue
Source
AST.scala