Container

com.reactific.riddl.language.AST.Container
sealed trait Container[+D <: RiddlValue] extends RiddlValue

Base trait of any definition that is also a ContainerValue

Type parameters

D

The kind of definition that is contained by the container

Attributes

Graph
Supertypes
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Known subtypes
class Aggregation
trait Definition
class Function
class Handler
class Constant
class Inlet
class Invariant
class Outlet
class Type
class Include[T]
class Term
trait AlwaysEmpty
class Field
class Method
class Group
class Input
class Output
class Adaptor
class Connector
class Entity
class Projector
class Replica
class Repository
class Saga
class Streamlet
class Application
class Author
class Context
class Domain
class Epic
class User
class State
class UseCase
trait OnClause
class OnInitClause
class Enumerator
class SagaStep
trait Portlet
trait Interaction
trait VitalDefinition[OPT, DEF]
trait Processor[OPT, DEF]
trait WithAuthors
trait WithOptions[T]
trait WithTypes
trait WithIncludes[T]
Show all

Members list

Value members

Abstract methods

def contents: Seq[D]

Concrete methods

override def isContainer: Boolean

Determine if this node is a container or not

Determine if this node is a container or not

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

def format: String

Format the node to a string

Format the node to a string

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
RiddlNode

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