transform

open override fun transform(semanticValueTransformer: (L2SemanticValue) -> L2SemanticValue, frameTransformer: (Frame) -> Frame): L2SemanticValue

Transform the receiver. If it's composed of parts, transform them with the supplied Functions.

Return

The transformed L2SemanticValue, possibly the receiver if the result of the transformation would have been an equal value.

Parameters

semanticValueTransformer

How to transform L2SemanticValue parts of the receiver, (not the receiver itself).

frameTransformer

How to transform Frame parts of the receiver.