Dotty Documentation

0.6.0-bin-SNAPSHOT

class Run
extends Object

A compiler run. Exports various methods to compile source files

[-] Constructors

Run ( comp: Compiler , ictx: Context )

[-] Members

[+] private object NoPrintedTree
[+] private sealed trait PrintedTree
[+] private case class SomePrintedTree
[+] private object SomePrintedTree
[+] private val comp : Compiler
[+] protected implicit val ctx : Context
[+] private val ictx : Context
[+] def compile ( fileNames: List [ String ] ) : Unit
[+] def compile ( sourceCode: String ) : Unit
[+] def compileSources ( sources: List [ SourceFile ] ) : Unit
[+] def compileUnits ( us: List [ CompilationUnit ] ) : Unit
[+] def compileUnits ( us: List [ CompilationUnit ] , ctx: Context ) : Unit
[+] protected def compileUnits ( ) ( implicit ctx: Context ) : Unit
[+] def getSource ( fileName: String ) : SourceFile
[+] def printSummary ( ) : Reporter

Print summary; return # of errors encountered

[+] private def printTree ( last: PrintedTree ) ( implicit ctx: Context ) : PrintedTree
[+] protected def rootContext ( implicit ctx: Context ) : Context

Produces the following contexts, from outermost to innermost

bootStrap: A context with next available runId and a scope consisting of the RootPackage root start A context with RootClass as owner and the necessary initializations for type checking. imports For each element of RootImports, an import context

[+] def runContext : Context

The context created for this run