Dotty Documentation

0.11.0-bin-SNAPSHOT

class DocCompiler
extends Compiler

Custom Compiler with phases for the documentation tool

The idea here is to structure dottydoc around the new infrastructure. As such, dottydoc will itself be a compiler. It will, however, produce a format that can be used by other tools or web-browsers.

Example: 1. Use the existing FrontEnd to typecheck the code being fed to dottydoc, wihtout discarding AnyVal interfaces 2. Create an AST that is serializable 3. Serialize to JS object

[-] Constructors

DocCompiler ( )

[-] Members

[+] protected override def backendPhases : List [ List [ Phase ] ]

Generate the output of the compilation

[+] protected override def frontendPhases : List [ List [ Phase ] ]

Phases dealing with the frontend up to trees ready for TASTY pickling

[+] override def newRun ( implicit ctx: Context ) : Run
[+] protected override def picklerPhases : List [ List [ Phase ] ]

Phases dealing with TASTY tree pickling and unpickling

[+] protected override def transformPhases : List [ List [ Phase ] ]

Phases dealing with the transformation from pickled trees to backend trees