SingleItemTransformationRule
data class SingleItemTransformationRule(from: Name, transform: MutableMeta.(Name, Meta?) -> Unit) : TransformationRule
Content copied to clipboard
A transformation which transforms element with specific name
Constructors
SingleItemTransformationRule
Link copied to clipboard
fun SingleItemTransformationRule(from: Name, transform: MutableMeta.(Name, Meta?) -> Unit)
Content copied to clipboard
Functions
selectItems
Link copied to clipboard
Select all items to be transformed. Item could be a value as well as node
transformItem
Link copied to clipboard
open override fun transformItem(name: Name, item: Meta?, target: MutableMeta)
Content copied to clipboard
Apply transformation for a single item (Node or Value) to the target