toSurfaceNode

open override fun toSurfaceNode(metadata: Metadata): BlockNode

Returns a representation of this node in the surface syntax.

This is useful, for example, for PrettyPrintable.

Parameters

metadata

Associates metadata with some nodes, which is converted into a comment.