MorphStatement

com.reactific.riddl.language.AST.MorphStatement
case class MorphStatement(loc: At, entity: EntityRef, state: StateRef, value: MessageRef) extends Statement

An statement that morphs the state of an entity to a new structure

Value parameters

entity

The entity to be affected

loc

The location of the morph action in the source

state

The reference to the new state structure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Statement
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def format: String

Format the node to a string

Format the node to a string

Attributes

override def kind: String

Attributes

Definition Classes

Inherited methods

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