dotty.tools.dotc.printing.Printers.scala Maven / Gradle / Ivy
The newest version!
package dotty.tools.dotc
package printing
import core.Contexts.Context
trait Printers { this: Context =>
/** A function creating a printer */
def printer: Printer = {
val pr = printerFn(this)
if (this.settings.YplainPrinter.value) pr.plain else pr
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy