Description

com.reactific.riddl.language.AST.Description
See theDescription companion object
sealed trait Description extends RiddlValue

The description of a definition. All definitions have a name and an optional description. This class provides the description part.

Attributes

Companion
object
Graph
Supertypes
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def loc: At

The location in the parse at which this RiddlValue occurs

The location in the parse at which this RiddlValue occurs

Attributes

Concrete methods

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

Determine if this node is a container or not

Determine if this node is a container or not

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
RiddlNode
final def nonEmpty: Boolean

Attributes

Inherited from:
RiddlNode