Enumeration
com.reactific.riddl.language.AST.Enumeration
case class Enumeration(loc: At, enumerators: Seq[Enumerator]) extends IntegerTypeExpression
A type expression that defines its range of possible values as being one value from a set of enumerated values.
Value parameters
- enumerators
-
The set of enumerators from which the value of this enumeration may be chosen.
- loc
-
The location of the enumeration type expression
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait IntegerTypeExpressiontrait NumericTypetrait TypeExpressiontrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass Any
Members list
In this article