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
Members list
In this article