RootContainer

com.reactific.riddl.language.AST.RootContainer
See theRootContainer companion object
case class RootContainer(contents: Seq[RootDefinition], inputs: Seq[RiddlParserInput]) extends Definition

The root of the containment hierarchy, corresponding roughly to a level about a file.

Value parameters

contents

The sequence top level definitions contained by this root container

inputs

The inputs for this root scope

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Definition
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def brief: Option[LiteralString]

Attributes

Definition Classes
override def description: Option[Description]

Attributes

Definition Classes
def format: String

Format the node to a string

Format the node to a string

Attributes

override def id: Identifier

Attributes

Definition Classes
override def identify: String

Attributes

Definition Classes
override def identifyWithLoc: String

Attributes

Definition Classes
override def isRootContainer: Boolean

Attributes

Definition Classes
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 methods

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

Attributes

Inherited from:
Definition

Attributes

Inherited from:
BrieflyDescribedValue

Attributes

Inherited from:
DescribedValue

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

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:
Container

Attributes

Inherited from:
Definition

Attributes

Inherited from:
Definition
final def nonEmpty: Boolean

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Definition

Concrete fields

lazy val authors: Seq[Author]
lazy val domains: Seq[Domain]
final val kind: String