RiddlValue

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

The root trait of all parsed values. If a parser returns something, its a RiddlValue. Every node in the AST is a RiddlNode. Subclasses implement the definitions in various ways because this is the most abstract notion of what is parsed.

Attributes

Source
AST.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Comment
class LineComment
trait Container[CV]
class Aggregation
trait BranchDefinition[CV]
class Group
class Handler
class Input
class Nebula
trait OnClause
class Output
class Root
class Type
class UseCase
trait VitalDefinition[CT]
class Domain
class Epic
class Function
class Module
trait Processor[CT]
class Adaptor
class Context
class Entity
class Projector
class Repository
class Streamlet
class Saga
class Include[CT]
trait Parent
class SimpleContainer[CV]
trait WithAdaptors[CV]
trait WithAuthors[CV]
trait WithComments[CV]
trait WithConnectors[CV]
trait WithConstants[CV]
trait WithContexts[CV]
trait WithDomains[CV]
trait WithEntities[CV]
trait WithEpics[CV]
trait WithFunctions[CV]
trait WithGroups[CV]
trait WithHandlers[CV]
trait WithIncludes[CV]
trait WithInlets[CV]
trait WithInputs[CV]
trait WithInvariants[CV]
trait WithModules[CV]
trait WithOptions[CV]
trait WithOutlets[CV]
trait WithOutputs[CV]
trait WithProjectors[CV]
trait WithRepositories[CV]
trait WithSagaSteps[CV]
trait WithSagas[CV]
trait WithShownBy[CV]
trait WithStatements[CV]
trait WithStates[CV]
trait WithStreamlets[CV]
trait WithTypes[CV]
trait WithUseCases[CV]
trait WithUsers[CV]
class Identifier
trait Interaction
trait Meta
trait Description
class OptionValue
class Reference[T]
class AuthorRef
class ConstantRef
class DomainRef
class EpicRef
class FieldRef
class FunctionRef
class GroupRef
class HandlerRef
class InputRef
trait MessageRef
class CommandRef
class EventRef
class QueryRef
class RecordRef
class ResultRef
class OutputRef
trait PortletRef[T]
class InletRef
class OutletRef
trait ProcessorRef[T]
class AdaptorRef
class ContextRef
class EntityRef
class ProjectorRef
class StreamletRef
class SagaRef
class StateRef
class TypeRef
class UserRef
class ShownBy
trait Statement
class SetStatement
class Flow
class Merge
class Router
class Sink
class Source
class Split
class Void
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
class UserStory
trait Definition
class Enumerator
class Field
class Method
class Author
class Connector
class Constant
class Invariant
trait Portlet
class Inlet
class Outlet
class Relationship
class SagaStep
class Schema
class State
class Term
class User
trait WithMetaData
Show all

Members list

Value members

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

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

Source
AST.scala

Concrete methods

Determines if this RiddlValue references any Authors or not

Determines if this RiddlValue references any Authors or not

Attributes

Source
AST.scala

Determines if this RiddlValuedefines any Authors or not

Determines if this RiddlValuedefines any Authors or not

Attributes

Source
AST.scala

Determine if this RiddlValue has definitions it contains

Determine if this RiddlValue has definitions it contains

Attributes

Source
AST.scala

Determines if this RiddlValue has any includes in it

Determines if this RiddlValue has any includes in it

Attributes

Source
AST.scala

Determines if this RiddlValue has any options set or not

Determines if this RiddlValue has any options set or not

Attributes

Source
AST.scala

Determines if this RiddlValue contains any type definitions

Determines if this RiddlValue contains any type definitions

Attributes

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

Source
AST.scala

Determines if this RiddlValue is a comment or not

Determines if this RiddlValue is a comment or not

Attributes

Source
AST.scala

Determine if this RiddlValue contains other values or not

Determine if this RiddlValue contains other values or not

Attributes

Source
AST.scala

Determine if this RiddlValue is a definition or not

Determine if this RiddlValue is a definition or not

Attributes

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

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

Source
AST.scala

Attributes

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

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

Source
AST.scala

Determines if this node is a vital node or not

Determines if this node is a vital node or not

Attributes

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

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

Source
AST.scala