class RawCompiler extends AnyRef
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.
- Alphabetic
- By Inheritance
- RawCompiler
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(sources: Seq[Path], classpath: Seq[Path], outputDirectory: Path, options: Seq[String]): Unit
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.- sources
The sources to be compiled.
- classpath
The classpath to be used at compile time.
- outputDirectory
The directory in which the class files are placed.
- options
The auxiliary options to Scala compilers.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkForFailure(reporter: AnyRef, args: Array[String]): Unit
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compilerArguments: CompilerArguments
Return the correct compiler arguments for the given
ScalaInstance
andClasspathOptions
.Return the correct compiler arguments for the given
ScalaInstance
andClasspathOptions
. Keep in mind that these compiler arguments are specific to a concrete Scala version. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val scalaInstance: xsbti.compile.ScalaInstance
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()