Statements
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object AST.type
- Self type
Members list
Type members
Classlikes
A statement whose behavior is specified as a text string allowing an arbitrary action to be specified handled by RIDDL's syntax.
A statement whose behavior is specified as a text string allowing an arbitrary action to be specified handled by RIDDL's syntax.
Value parameters
- loc
-
The location where the action occurs in the source
- what
-
The action to take (emitted as pseudo-code)
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
An action that changes the behavior of an entity by making it use a new handler for its messages; named for the "become" operation in Akka that does the same for an user.
An action that changes the behavior of an entity by making it use a new handler for its messages; named for the "become" operation in Akka that does the same for an user.
Value parameters
- entity
-
The entity whose behavior is to change
- handler
-
The reference to the new handler for the entity
- loc
-
The location in the source of the become action
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
An action that is intended to generate a runtime error in the generated application or otherwise indicate an error condition
An action that is intended to generate a runtime error in the generated application or otherwise indicate an error condition
Value parameters
- loc
-
The location where the action occurs in the source
- message
-
The error message to report
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
An statement that morphs the state of an entity to a new structure
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
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
A statement that replys in a handler to a query
A statement that replys in a handler to a query
Value parameters
- loc
-
The location in the source of the publish action
- value
-
The value to be returned
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
An action that returns a value from a function
An action that returns a value from a function
Value parameters
- loc
-
The location in the source of the publish action
- value
-
The value to be returned
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
An action that sends a message to an Inlet or Outlet.
An action that sends a message to an Inlet or Outlet.
Value parameters
- loc
-
The location in the source of the send action
- msg
-
The constructed message to be sent
- portlet
-
The inlet or outlet to which the message is sent
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Known subtypes
-
class ArbitraryStatementclass BecomeStatementclass CallStatementclass ErrorStatementclass ForEachStatementclass IfThenElseStatementclass MorphStatementclass ReplyStatementclass ReturnStatementclass SendStatementclass SetStatementclass StopStatementclass TellStatementShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
An action that tells a message to an entity.
An action that tells a message to an entity. This is very analogous to the tell operator in Akka. Unlike using an Portlet, this implies a direct relationship between the telling entity and the told entity. This action is considered useful in "high cohesion" scenarios. Use SendStatement to reduce the coupling between entities because the relationship is managed by a Context 's Connector instead.
Value parameters
- entityRef
-
The entity to which the message is directed
- loc
-
The location of the tell action
- msg
-
A constructed message value to send to the entity, probably a command
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all