EntityKind

com.reactific.riddl.language.AST.EntityKind
case class EntityKind(loc: At, args: Seq[LiteralString]) extends EntityOption

An EntityOption that indicates the general kind of entity being defined. This option takes a value which provides the kind. Examples of useful kinds are "device", "user", "concept", "machine", and similar kinds of entities. This entity option may be used by downstream AST processors, especially code generators.

Value parameters

args

The argument to the option

loc

The location of the entity kind option

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class EntityOption
trait OptionValue
trait EntityValue
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

override def format: String

Format the node to a string

Format the node to a string

Attributes

Definition Classes
Inherited from:
OptionValue

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

determine if this node is empty or not.

determine if this node is empty or not. Non-containers are always empty

Attributes

Inherited from:
RiddlNode
final def nonEmpty: Boolean

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

val name: String

Attributes

Inherited from:
EntityOption