OnOtherClause
com.reactific.riddl.language.AST.OnOtherClause
case class OnOtherClause(loc: At, statements: Seq[Statement], brief: Option[LiteralString], description: Option[Description]) extends OnClause
Defines the actions to be taken when a message does not match any of the OnMessageClauses. OnOtherClause corresponds to the "other" case of an Handler.
Value parameters
- brief
-
A brief description (one sentence) for use in documentation
- description
-
An optional description of the on clause.
- loc
-
THe location of the "on other" clause
- statements
-
A set of examples that define the behavior when a message doesn't match
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OnClausetrait HandlerDefinitiontrait LeafDefinitiontrait Definitiontrait Container[Definition]trait BrieflyDescribedValuetrait DescribedValuetrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Format the node to a string
determine if this node is empty or not.
determine if this node is empty or not. Non-containers are always empty
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- BrieflyDescribedValue
Attributes
- Inherited from:
- LeafDefinition
Attributes
- Inherited from:
- DescribedValue
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- BrieflyDescribedValue
Attributes
- Definition Classes
- Inherited from:
- Definition
Attributes
- Inherited from:
- DescribedValue
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Definition Classes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Definition
In this article