ValMember

zio.blocks.codegen.ir.ObjectMember.ValMember
final case class ValMember(name: String, typeRef: TypeRef, value: String, isLazy: Boolean = ..., isOverride: Boolean = ..., isImplicit: Boolean = ...) extends ObjectMember

A val member within an object.

Value parameters

isImplicit

Whether this val is implicit (Scala 2) or given (Scala 3) (defaults to false)

isLazy

Whether this is a lazy val (defaults to false)

isOverride

Whether this val overrides a parent member (defaults to false)

name

The name of the val

typeRef

The type of the val

value

The value expression as a string

Attributes

Source
TypeDefinition.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ObjectMember
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