Dotty Documentation


class REPLFrontEnd
extends FrontEnd

A customized FrontEnd for the REPL

This customized front end does not perform parsing as part of its runOn method. This allows us to keep the parsing separate from the rest of the compiler pipeline.

[-] Constructors

REPLFrontEnd ( )

[-] Members

[+] override def isRunnable ( implicit ctx: Context ) : Boolean
[+] 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
[+] override def runOn ( units: List [ CompilationUnit ] ) ( implicit ctx: Context ) : List [ CompilationUnit ]