Enumerator
com.reactific.riddl.language.AST.Enumerator
case class Enumerator(loc: At, id: Identifier, enumVal: Option[Long], brief: Option[LiteralString], description: Option[Description]) extends LeafDefinition, TypeDefinition
Represents one variant among (one or) many variants that comprise an Enumeration
Value parameters
- brief
-
A brief description (one sentence) for use in documentation
- description
-
the description of the enumerator. Each Enumerator in an enumeration may define independent descriptions
- enumVal
-
the optional int value
- id
-
the identifier (name) of the Enumerator
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TypeDefinitiontrait 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
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