toSurfaceNode

abstract fun toSurfaceNode(metadata: Metadata = mapOf()): Node

Returns a representation of this node in the surface syntax.

This is useful, for example, for pretty printing.

Parameters

metadata

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