zio.blocks.codegen.ir.EnumCase
See theEnumCase companion trait
object EnumCase
Attributes
- Companion
- trait
- Source
- TypeDefinition.scala
- Graph
-
- Supertypes
- Self type
-
EnumCase.type
Members list
Type members
Classlikes
final case class ParameterizedCase(name: String, fields: List[Field], extendsTypes: List[TypeRef] = ...) extends EnumCase
A parameterized enum case with fields.
A parameterized enum case with fields.
Value parameters
- fields
-
The fields of the parameterized case
- name
-
The name of the enum case
Attributes
- Source
- TypeDefinition.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait EnumCaseclass Objecttrait Matchableclass AnyShow all
final case class SimpleCase(name: String) extends EnumCase
A simple enum case without parameters.
A simple enum case without parameters.
Value parameters
- name
-
The name of the enum case
Attributes
- Source
- TypeDefinition.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait EnumCaseclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements.
The name of the type.
In this article