Include

com.ossuminc.riddl.language.AST.Include
case class Include[CT <: RiddlValue](loc: At, origin: URL, contents: ArrayBuffer[CT]) extends Container[CT]

A value to record an inclusion of a file while parsing.

Type parameters

CT

The type of things that may be included as the contents of the Include's parent.

Value parameters

contents

The Vital Definitions read from the file

loc

The location of the include statement in the source

origin

The string that indicates the origin of the inclusion

Attributes

Source
AST.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Container[CT]
trait RiddlValue
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def format: String

Format the node to a string in a form suitable for use in error messages

Format the node to a string in a form suitable for use in error messages

Attributes

Source
AST.scala
override def isRootContainer: Boolean

Determine if this RiddlValue is the top most container, appearing at the root of the AST

Determine if this RiddlValue is the top most container, appearing at the root of the AST

Attributes

Definition Classes
Source
AST.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
AST.scala

Inherited methods

Determines if this RiddlValue references any Authors or not

Determines if this RiddlValue references any Authors or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValuedefines any Authors or not

Determines if this RiddlValuedefines any Authors or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determine if this RiddlValue has definitions it contains

Determine if this RiddlValue has definitions it contains

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue has any includes in it

Determines if this RiddlValue has any includes in it

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue has any options set or not

Determines if this RiddlValue has any options set or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue contains any type definitions

Determines if this RiddlValue contains any type definitions

Attributes

Inherited from:
RiddlValue
Source
AST.scala

True only if this value does not have a name or has an empty name

True only if this value does not have a name or has an empty name

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue is a comment or not

Determines if this RiddlValue is a comment or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala
final inline override def isContainer: Boolean

Force all subclasses to return true as they are containers

Force all subclasses to return true as they are containers

Attributes

Definition Classes
Inherited from:
Container
Source
AST.scala

Determine if this RiddlValue is a definition or not

Determine if this RiddlValue is a definition or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala
override def isEmpty: Boolean

Determine if this RiddlValue is empty or not.

Determine if this RiddlValue is empty or not. Non-containers are always empty

Attributes

Definition Classes
Inherited from:
Container
Source
AST.scala

Whether or not this instance has an id: Identifier field or not

Whether or not this instance has an id: Identifier field or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this RiddlValue is a processor (handles messages) or not

Determines if this RiddlValue is a processor (handles messages) or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Determines if this node is a vital node or not

Determines if this node is a vital node or not

Attributes

Inherited from:
RiddlValue
Source
AST.scala
def kind: String

Provide a string to specify the kind of thing this value is with default derived from class name

Provide a string to specify the kind of thing this value is with default derived from class name

Attributes

Inherited from:
RiddlValue
Source
AST.scala
final def nonEmpty: Boolean

implements the nonEmpty function based on the isEmpty function

implements the nonEmpty function based on the isEmpty function

Attributes

Inherited from:
RiddlValue
Source
AST.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product