Printer

sealed external interface Printer(source)

Functions

Link copied to clipboard
abstract fun printBundle(bundle: Bundle): String

Prints a bundle of source files as-is, without any emit transformations.

Link copied to clipboard
abstract fun printFile(sourceFile: SourceFile): String

Prints a source file as-is, without any emit transformations.

Link copied to clipboard
abstract fun <T : Node> printList(format: ListFormat, list: NodeArray<T>, sourceFile: SourceFile): String

Prints a list of nodes using the given format flags

Link copied to clipboard
abstract fun printNode(hint: EmitHint, node: Node, sourceFile: SourceFile): String

Print a node and its subtree as-is, without any emit transformations.