Constant
com.reactific.riddl.language.ast.Definitions.Constant
case class Constant(loc: At, id: Identifier, typeEx: TypeExpression, value: LiteralString, brief: Option[LiteralString], description: Option[Description]) extends LeafDefinition, ProcessorDefinition, DomainDefinition
A definition that represents a constant value for reference in behaviors
Value parameters
- brief
-
A brief descriptin of the constant
- description
-
A detailed description of the constant
- id
-
The unique identifier of the Constant
- loc
-
The location in the source of the Constant
- typeEx
-
The type expression goverining the range of values the constant can have
- value
-
The value of the constant
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DomainDefinitiontrait ProcessorDefinitiontrait SagaDefinitiontrait StreamletDefinitiontrait RepositoryDefinitiontrait ProjectorDefinitiontrait EntityDefinitiontrait ContextDefinitiontrait ApplicationDefinitiontrait AdaptorDefinitiontrait LeafDefinitiontrait Definitiontrait Container[Definition]trait BrieflyDescribedValuetrait DescribedValuetrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass Any
Members list
In this article