toSource

open override fun toSource(depth: Int = 0): String

Emits source code for this node. The caller recurses into children, incrementing depth as appropriate.

In error-recovery mode some nodes may have null children that are non-null in an error-free tree; the behavior of toSource is undefined in that case.