zio.blocks.schema.Term
See theTerm companion object
final case class Term[F[_, _], S, A](name: String, value: Reflect[F, A], doc: Doc = ..., modifiers: Seq[Term] = ...) extends Reflectable[A]
A named child of a Reflect node: a field of a record or a case of a variant. S is the type of the record or variant, and A the type of the field or case; the type members Source and Focus name them.
Value parameters
- doc
-
the documentation of the field or case
- modifiers
-
modifiers such as
Modifier.renameorModifier.transient - name
-
the name of the field or case
- value
-
the node of
A
Attributes
- Companion
- object
- Source
- Term.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Reflectable[A]class Objecttrait Matchableclass Any
Members list
In this article