All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dotty.tools.dottydoc.Main.scala Maven / Gradle / Ivy

There is a newer version: 3.6.0-RC1-bin-20240903-21a3d39-NIGHTLY
Show newest version
package dotty.tools
package dottydoc


import dotc.reporting.Reporter
import dotc.Driver
import dotc.core.Contexts.Context

/** Main object for SBT.
  *
  * See [[this.process]].
  */
object Main extends Driver:

  /** Actual entrypoint from SBT.
    *
    * Internal SBT code for `sbt doc` locates this precise method with
    * reflection, and passes to us both `args` and `rootCtx`. "Internal" here
    * means that it's painful to modify this code with a plugin.
    *
    * `args` contains arguments both for us and for the compiler (see code on
    * how they're split).
    */
  override def process(args: Array[String], rootCtx: Context): Reporter =
    dotty.tools.scaladoc.Scaladoc.run(args, rootCtx)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy