packagedotty.tools.dotcpackageprintingimportcore.Contexts.ContexttraitPrinters{this:Context=>/** A creation method for printers, depending on debug option */defprinterFn=if(this.debug)plainPrinterelserefinedPrinter/** A function creatung a printer */defprinter=printerFn(this)}