LeafDefinition

com.reactific.riddl.language.AST.LeafDefinition
sealed trait LeafDefinition extends Definition

Attributes

Graph
Supertypes
trait Definition
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Show all
Known subtypes
class Author
class Connector
class Constant
class Enumerator
class Field
class Inlet
class Invariant
class Method
trait OnClause
class OnInitClause
class Outlet
class Replica
class SagaStep
class Term
class User
Show all

Members list

Value members

Concrete methods

final def contents: Seq[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 methods

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

Attributes

Inherited from:
Definition

Attributes

Inherited from:
BrieflyDescribedValue

Attributes

Inherited from:
BrieflyDescribedValue

Attributes

Inherited from:
DescribedValue

Attributes

Inherited from:
DescribedValue
def format: String

Format the node to a string

Format the node to a string

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
Definition

Attributes

Inherited from:
BrieflyDescribedValue
override def hasDefinitions: Boolean

Attributes

Definition Classes
Inherited from:
Definition

Attributes

Inherited from:
DescribedValue

Attributes

Inherited from:
Definition

Attributes

Inherited from:
Definition
def id: Identifier

Attributes

Inherited from:
Definition

Attributes

Inherited from:
Definition

Attributes

Inherited from:
Definition

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

Attributes

Inherited from:
Definition

Attributes

Inherited from:
Container

Attributes

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

Attributes

Inherited from:
Definition