ParameterizedCase

zio.blocks.codegen.ir.EnumCase.ParameterizedCase
final case class ParameterizedCase(name: String, fields: List[Field], extendsTypes: List[TypeRef] = ...) extends EnumCase

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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait EnumCase
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala