PrinterOutput
class PrinterOutput(nodePrinters: Map<KClass<*>, NodePrinter>, nodePrinterOverrider: (node: Node) -> NodePrinter? = { _ -> null })
This provides a mechanism to generate code tracking indentation, handling lists, and providing other facilities. This is used in the implementation of NodePrinter and in ASTCodeGenerator.
Constructors
Link copied to clipboard
constructor(nodePrinters: Map<KClass<*>, NodePrinter>, nodePrinterOverrider: (node: Node) -> NodePrinter? = { _ -> null })