dotty.tools.dottydoc

DocDriver

Related Doc: package dottydoc

abstract class DocDriver extends Driver

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DocDriver
  2. Driver
  3. DotClass
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DocDriver()

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def compiledDocs(args: Array[String]): Map[String, Package]

  7. def compiledDocsJava(args: Array[String]): Map[String, Package]

  8. def doCompile(compiler: Compiler, fileNames: List[String])(implicit ctx: Context): Reporter

    Attributes
    protected
    Definition Classes
    Driver
  9. def emptyReporter: Reporter

    Attributes
    protected
    Definition Classes
    Driver
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. def indexToJson(index: Map[String, Package]): String

  16. def indexToJsonJava(index: Map[String, Package]): String

  17. def initCtx: Context

    Attributes
    protected
    Definition Classes
    Driver
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def main(args: Array[String]): Unit

    Definition Classes
    Driver
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def newCompiler(implicit ctx: Context): Compiler

    Definition Classes
    DocDriverDriver
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def process(args: Array[String], rootCtx: Context): Reporter

    Entry point to the compiler using a custom Context.

    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 overriden, instead you should override this one which they call internally.

    Usage example: https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala in method runCompilerWithContext

    args

    Arguments to pass to the compiler.

    rootCtx

    The root Context to use.

    returns

    The Reporter used. Use Reporter#hasErrors to check if compilation succeeded.

    Definition Classes
    Driver
  25. final def process(args: Array[String]): Reporter

    Entry point to the compiler with no optional arguments.

    Entry point to the compiler with no optional arguments.

    This overload is provided for compatibility reasons: the RawCompiler of sbt expects this method to exist and calls it using reflection. Keeping it means that we can change the other overloads without worrying about breaking compatibility with sbt.

    Definition Classes
    Driver
  26. final def process(args: Array[String], reporter: Reporter = null, callback: CompilerCallback = null): Reporter

    Principal entry point to the compiler.

    Principal entry point to the compiler.

    Usage example: https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala in method runCompiler

    args

    Arguments to pass to the compiler.

    reporter

    Used to log errors, warnings, and info messages. The default reporter is used if this is null.

    callback

    Used to execute custom code during the compilation process. No callbacks will be executed if this is null.

    returns

    The Reporter used. Use Reporter#hasErrors to check if compilation succeeded.

    Definition Classes
    Driver
  27. final def process(args: Array[String], simple: SimpleReporter, callback: CompilerCallback): ReporterResult

    Entry point to the compiler that can be conveniently used with Java reflection.

    Entry point to the compiler that can be conveniently used with Java reflection.

    This entry point can easily be used without depending on the dotty package, you only need to depend on dotty-interfaces and call this method using reflection. This allows you to write code that will work against multiple versions of dotty without recompilation.

    The trade-off is that you can only pass a SimpleReporter to this method and not a normal Reporter which is more powerful.

    Usage example: https://github.com/lampepfl/dotty/tree/master/test/test/InterfaceEntryPointTest.scala

    args

    Arguments to pass to the compiler.

    simple

    Used to log errors, warnings, and info messages. The default reporter is used if this is null.

    callback

    Used to execute custom code during the compilation process. No callbacks will be executed if this is null.

    returns

    Definition Classes
    Driver
  28. def setup(args: Array[String], rootCtx: Context): (List[String], Context)

    Definition Classes
    DocDriverDriver
  29. def sourcesRequired: Boolean

    Attributes
    protected
    Definition Classes
    Driver
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def unsupported(methodName: String): Nothing

    Throws an UnsupportedOperationException with the given method name.

    Throws an UnsupportedOperationException with the given method name.

    Definition Classes
    DotClass
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Driver

Inherited from DotClass

Inherited from AnyRef

Inherited from Any

Ungrouped