MethodParam

zio.blocks.codegen.ir.MethodParam
final case class MethodParam(name: String, typeRef: TypeRef, defaultValue: Option[String] = ..., isByName: Boolean = ..., isVarargs: Boolean = ...)

Represents a method parameter in the IR.

Value parameters

defaultValue

Optional default value as a string (defaults to None)

isByName

Whether this is a by-name parameter (=> T) (defaults to false)

isVarargs

Whether this is a varargs parameter (T*) (defaults to false)

name

The parameter name

typeRef

The parameter type

Attributes

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