onSubstituteNode

abstract var onSubstituteNode: (hint: EmitHint, node: Node) -> Node(source)

Hook used by transformers to substitute expressions just before they are emitted by the pretty printer.

NOTE: Transformation hooks should only be modified during Transformer initialization, before returning the NodeTransformer callback.