Rebuilds a Reflect tree with G in place of F at every node, through Reflect#transform. That method walks the tree and transforms the children of a node first; a transformer says how to rebuild each kind of node from its transformed children and the F it held. Reflect.Deferred nodes have no method of their own: Reflect.Deferred#transform handles them.
ReflectTransformer.noBinding strips the bindings of a reflect, DynamicSchema#rebind attaches them back, and type class derivation pairs each binding with a derived instance. Extend ReflectTransformer.OnlyMetadata when only the metadata changes.
Type parameters
- F
-
what the nodes of the source reflect hold
- G
-
what the nodes of the result hold
Attributes
- See also
- Companion
- object
- Source
- ReflectTransformer.scala
- Graph
-
- Supertypes
- Known subtypes
-
trait HasBinding[F]
Members list
Value members
Abstract methods
Rebuilds a dynamic node. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Rebuilds a dynamic node. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Attributes
- Source
- ReflectTransformer.scala
Rebuilds a map node from its transformed key and value nodes. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Rebuilds a map node from its transformed key and value nodes. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Attributes
- Source
- ReflectTransformer.scala
Rebuilds a primitive node of primitiveType. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Rebuilds a primitive node of primitiveType. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Attributes
- Source
- ReflectTransformer.scala
Rebuilds a record node from its transformed fields. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Rebuilds a record node from its transformed fields. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Attributes
- Source
- ReflectTransformer.scala
Rebuilds a sequence node from its transformed element node. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Rebuilds a sequence node from its transformed element node. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Attributes
- Source
- ReflectTransformer.scala
Rebuilds a variant node from its transformed cases. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Rebuilds a variant node from its transformed cases. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Attributes
- Source
- ReflectTransformer.scala
Rebuilds a wrapper node from its transformed wrapped node, which has the same path. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Rebuilds a wrapper node from its transformed wrapped node, which has the same path. path is the location of the node and metadata what it holds in the source reflect. The other parameters are its type ID, documentation, modifiers, default value and examples, which the new node usually keeps.
Attributes
- Source
- ReflectTransformer.scala