ReflectTransformer

zio.blocks.schema.ReflectTransformer
See theReflectTransformer companion trait

The ReflectTransformer base class for metadata-only changes, and the transformer that strips bindings.

Attributes

Companion
trait
Source
ReflectTransformer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

abstract class OnlyMetadata[F[_, _], G[_, _]] extends ReflectTransformer[F, G]

A ReflectTransformer that changes only what each node holds: every method replaces metadata with transformMetadata of it and keeps the transformed children and everything else as they are. HasBinding is one.

A ReflectTransformer that changes only what each node holds: every method replaces metadata with transformMetadata of it and keeps the transformed children and everything else as they are. HasBinding is one.

Attributes

Source
ReflectTransformer.scala
Supertypes
trait ReflectTransformer[F, G]
class Object
trait Matchable
class Any
Known subtypes
trait HasBinding[F]

Value members

Concrete methods

def noBinding[F[_, _]](): ReflectTransformer[F, NoBinding]

Returns the transformer that replaces what every node holds with NoBinding, keeping everything else. Reflect#noBinding uses it. The same instance is returned on every call.

Returns the transformer that replaces what every node holds with NoBinding, keeping everything else. Reflect#noBinding uses it. The same instance is returned on every call.

Attributes

Source
ReflectTransformer.scala