Dotty Documentation


class DecompilationPrinter
extends Phase

Phase that prints the trees in all loaded compilation units.

[-] Constructors

DecompilationPrinter ( )

[-] Members

[+] override def phaseName : String

A name given to the Phase that can be used to debug the compiler. For instance, it is possible to print trees after a given phase using:

$ ./bin/dotc -Xprint:<phaseNameHere> sourceFile.scala
[+] private def printToOutput ( out: PrintStream ) ( implicit ctx: Context ) : Unit
[+] override def run ( implicit ctx: Context ) : Unit