Run the Dotty compiler.
Extending this class lets you customize many aspect of the compilation process, but in most cases you only need to call [[process]] on the existing object [[Main]].
Constructors
Members
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
pack...
[https://github.com/lampepfl/dotty/tree/master/test/test/InterfaceEntryPointTest.scala]
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]]
Principal entry point to the compiler.
Usage example: [[https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala]]
in method run...
Principal entry point to the compiler.
Usage example: [[https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala]]
in method runCompiler
Entry point to the compiler with no optional arguments.
This overload is provided for compatibility reasons: the
RawCompiler
of sbt expects this method...
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.
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...
[https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala]
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
Principal entry point to the compiler.
Usage example: [[https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala]]
in method run...
Principal entry point to the compiler.
Usage example: [[https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala]]
in method runCompiler
Principal entry point to the compiler.
Usage example: [[https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala]]
in method run...
Principal entry point to the compiler.
Usage example: [[https://github.com/lampepfl/dotty/tree/master/test/test/OtherEntryPointsTest.scala]]
in method runCompiler