Dotty Documentation

0.4.0-bin-SNAPSHOT

class InteractiveDriver
extends Driver

A Driver subclass designed to be used from IDEs

[-] Constructors

InteractiveDriver ( settings: List [ String ] )

[-] Members

[+] private val compiler : Compiler
[+] private val dirClassPaths : T2
[+] private var myCtx : Context
[+] private val myInitCtx : Context
[+] private val myOpenedFiles : LinkedHashMap [ URI, SourceFile ]
[+] private val myOpenedTrees : LinkedHashMap [ URI, List [ SourceTree ] ]
[+] private val settings : List [ String ]
[+] private val tastySuffixes : List [ String ]
[+] private val zipClassPathClasses : Seq [ String ]
[+] private val zipClassPaths : T1
[+] def allTrees ( implicit ctx: Context ) : List [ SourceTree ]
[+] private def classNames ( cp: ClassPath , packageName: String ) : List [ String ]
[+] private def cleanup ( tree: Tree ) ( implicit ctx: Context ) : Unit

Remove attachments and error out completers. The goal is to avoid having a completer hanging in a typed tree which can capture the context of a previous run. Note that typed trees can have untyped or partially typed children if the source contains errors.

[+] def close ( uri: URI ) : Unit
[+] def currentCtx : Context
[+] private def dirClassPathClasses : Seq [ String ]
[+] private def myCtx_= ( x$1: Context ) : Unit
[+] def openedFiles : Map [ URI, SourceFile ]
[+] def openedTrees : Map [ URI, List [ SourceTree ] ]
[+] def run ( uri: URI , sourceCode: String ) : List [ MessageContainer ]
[+] override def sourcesRequired : Boolean
[+] private def topLevelClassTrees ( topTree: Tree , source: SourceFile ) : List [ SourceTree ]
[+] private def tree ( className: TypeName ) ( implicit ctx: Context ) : Option [ SourceTree ]