de.uni_luebeck.isp.tessla.tessla_compiler.backends.scalaBackend
ScalaCompiler
Companion object ScalaCompiler
class ScalaCompiler extends TranslationPhase[String, Unit]
TranslationPhase generating a monitor as fat jar from Scala code
- Alphabetic
- By Inheritance
- ScalaCompiler
- TranslationPhase
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ScalaCompiler(outDir: Path, jarName: String, debug: Boolean, executeableCode: 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
- debug
Make compilation more verbose
- executeableCode
Indicates whether passed source contains a Main.main method which is added to the jar's manifest
- settingsModifier
Function adjusting the settings for compilation
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 andThen[V](other: TranslationPhase[Unit, V]): TranslationPhase[String, V]
- Definition Classes
- TranslationPhase
- def andThen[A](g: (Result[Unit]) => A): (String) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(spec: String): Result[Unit]
- Definition Classes
- TranslationPhase → Function1
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def compose[A](g: (A) => String): (A) => Result[Unit]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Function1 → AnyRef → Any
- 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
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated