EnumCase

zio.blocks.codegen.ir.EnumCase
See theEnumCase companion trait
object EnumCase

Attributes

Companion
trait
Source
TypeDefinition.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
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 Serializable
trait Product
trait Equals
trait EnumCase
class Object
trait Matchable
class Any
Show 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 Serializable
trait Product
trait Equals
trait EnumCase
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala