VitalDefinition

com.reactific.riddl.language.AST.VitalDefinition
sealed trait VitalDefinition[OPT <: OptionValue, DEF <: Definition] extends Definition, WithOptions[OPT], WithAuthors, WithIncludes[DEF], WithTerms

Attributes

Graph
Supertypes
trait WithTerms
trait WithIncludes[DEF]
trait WithAuthors
trait WithOptions[OPT]
trait Definition
trait Container[DEF]
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Show all
Known subtypes
class Domain
class Epic
class Function
trait Processor[OPT, DEF]
class Adaptor
class Application
class Context
class Entity
class Projector
class Repository
class Streamlet
class Saga
Show all

Members list

Value members

Concrete methods

override def isVital: Boolean

Attributes

Definition Classes

Inherited methods

def asVital[OPT <: OptionValue, DEF <: Definition]: VitalDefinition[OPT, DEF]

Attributes

Inherited from:
Definition

Attributes

Inherited from:
WithAuthors

Attributes

Inherited from:
BrieflyDescribedValue

Attributes

Inherited from:
BrieflyDescribedValue
def contents: Seq[T]

Attributes

Inherited from:
WithIncludes

Attributes

Inherited from:
DescribedValue

Attributes

Inherited from:
DescribedValue
override def format: String

Format the node to a string

Format the node to a string

Attributes

Definition Classes
Inherited from:
WithOptions

Attributes

Inherited from:
WithOptions
override def hasAuthors: Boolean

Attributes

Definition Classes
Inherited from:
WithAuthors

Attributes

Inherited from:
BrieflyDescribedValue
override def hasDefinitions: Boolean

Attributes

Definition Classes
Inherited from:
Definition

Attributes

Inherited from:
DescribedValue
def hasOption[OPT <: OPT : ClassTag]: Boolean

Attributes

Inherited from:
WithOptions
override def hasOptions: Boolean

Attributes

Definition Classes
Inherited from:
WithOptions

Attributes

Inherited from:
WithTerms

Attributes

Inherited from:
Definition
def id: Identifier

Attributes

Inherited from:
Definition

Attributes

Inherited from:
Definition

Attributes

Inherited from:
Definition
def includes: Seq[Include[T]]

Attributes

Inherited from:
WithIncludes

Attributes

Inherited from:
Definition
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
Inherited from:
Container
override def isDefinition: Boolean

Attributes

Definition Classes
Inherited from:
Definition
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 from:
WithOptions

Attributes

Inherited from:
Definition

Attributes

Inherited from:
Container
def kind: String

Attributes

Inherited from:
Definition
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
def options: Seq[T]

Attributes

Inherited from:
WithOptions

Attributes

Inherited from:
Definition
def terms: Seq[Term]

Attributes

Inherited from:
WithTerms

Implicits

Implicits

implicit def bool2int(b: Boolean): Int

Implicit conversion of boolean to Int for easier computation of statistics below

Implicit conversion of boolean to Int for easier computation of statistics below

Value parameters

b

The boolean to convert to an Int

Attributes

Returns