onEmitNode
abstract var onEmitNode: (hint: EmitHint, node: Node, emitCallback: (hint: EmitHint, node: Node) -> Unit) -> Unit(source)
Hook used to allow transformers to capture state before or after the printer emits a node.
NOTE: Transformation hooks should only be modified during Transformer
initialization, before returning the NodeTransformer
callback.