aboutsummaryrefslogblamecommitdiff
path: root/src/dotty/tools/dotc/printing/Printers.scala
blob: 7107ccb782047b6a8ce5693332041167989f4c57 (plain) (tree)
1
2
3
4
5
6
7
                        
                
 
                            
 

                                 




                                      

 
package dotty.tools.dotc
package printing

import core.Contexts.Context

trait Printers { this: Context =>

  /** A function creating a printer */
  def printer = {
    val pr = printerFn(this)
    if (this.debug) pr.plain else pr
  }
}