Container

com.reactific.riddl.language.ast.AbstractDefinitions.Container
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
trait Definition
trait AlwaysEmpty
class Inlet
class Outlet
class Field
class Function
class Type
class Include[T]
class Term
class Author
class Connector
class Constant
class Invariant
trait OnClause
class OnInitClause
class Replica
class SagaStep
class User
class Enumerator
class Handler
trait Interaction
trait UIElement
class Group
class Input
class Output
class Adaptor
class Entity
class Projector
class Repository
class Saga
class Streamlet
class Application
class Context
class Domain
class Epic
class State
class UseCase
trait Portlet
trait VitalDefinition[OPT, DEF]
trait Processor[OPT, DEF]
trait WithAuthors
trait WithTypes
trait WithOptions[T]
trait WithIncludes[T]
class Aggregation
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