Dotty Documentation


class DocDriver
extends Driver

DocDriver implements the main entry point to the Dotty documentation tool. It's methods are used by the external scala and java APIs.

[-] Constructors

DocDriver ( )

[-] Members

[+] override def newCompiler ( implicit ctx: Context ) : Compiler
[+] override def process ( args: Array [ String ] , rootCtx: Context ) : Reporter

Entry point to the compiler using a custom Context.

In most cases, you do not need a custom Context and should instead use one of the other overloads of process. However, the other overloads cannot be overridden, instead you should override this one which they call internally.

Usage example: [[]] in method runCompilerWithContext

[+] override def setup ( args: Array [ String ] , rootCtx: Context ) : ( List [ String ], Context )