Run the compiler with the usual compiler inputs.
Run the compiler with the usual compiler inputs.
This method supports both Scalac and Dotty. To use a concrete compiler, you need to pass the ScalaInstance associated with it.
The sources to be compiled.
The classpath to be used at compile time.
The directory in which the class files are placed.
The auxiliary options to Scala compilers.
Return the correct compiler arguments for the given ScalaInstance and ClasspathOptions.
Return the correct compiler arguments for the given ScalaInstance and ClasspathOptions. Keep in mind that these compiler arguments are specific to a concrete Scala version.
The Scala instance to which we create a compiler.
Provide a basic interface to the Scala Compiler that does not analyze dependencies nor does any kind of incremental compilation.
This interface is called in the same virtual machine where it's instantiated. It's useful for raw compilation of sources, such as those of the compiler interface (bridge) and plugin code.