Packages

class ScalaCompiler extends TranslationPhase[String, Unit]

TranslationPhase generating a monitor as fat jar from Scala code

Linear Supertypes
TranslationPhase[String, Unit], (String) => Result[Unit], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaCompiler
  2. TranslationPhase
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ScalaCompiler(outDir: Path, jarName: String, debug: Boolean)(settingsModifier: (Settings) => Unit = _ => ())

    outDir

    The directory where the jar shall be created. All temporary files will aslo be created in this directory. This directory has to exist.

    jarName

    The name of the generated jar file

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. def andThen[V](other: TranslationPhase[Unit, V]): TranslationPhase[String, V]
    Definition Classes
    TranslationPhase
  5. def andThen[A](g: (Result[Unit]) => A): (String) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. def apply(spec: String): Result[Unit]
    Definition Classes
    TranslationPhase → Function1
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def compose[A](g: (A) => String): (A) => Result[Unit]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  20. def translate(sourceCode: String): Result[Unit]

    Function triggering the translation from a Scala source string to a jar archive which is created at the given location

    Function triggering the translation from a Scala source string to a jar archive which is created at the given location

    sourceCode

    The source code to be compiled

    returns

    Unit wrapped in a Result data structure

    Definition Classes
    ScalaCompiler → TranslationPhase
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from TranslationPhase[String, Unit]

Inherited from (String) => Result[Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped