Custom Compiler with phases for the documentation tool
DocDriver
implements the main entry point to the Dotty documentation
tool.
DocDriver
implements the main entry point to the Dotty documentation
tool. It's methods are used by the external scala and java APIs.
DocFrontEnd
uses the Dotty FrontEnd
without discarding the AnyVal
interfaces for Boolean, Int, Char, Long, Byte etc.
DocFrontEnd
uses the Dotty FrontEnd
without discarding the AnyVal
interfaces for Boolean, Int, Char, Long, Byte etc.
It currently still throws away Java sources by overriding
discardAfterTyper
.
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: