object ScalaConstants
Class containing Scala-specific constants for the translation
- Alphabetic
- By Inheritance
- ScalaConstants
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def builtinFunctionCallTranslation(name: String, oArgs: Seq[ImpLanExpr], transFunc: (ImpLanExpr) => String, typeHint: FunctionType): String
Performs the translation of functions in ImpLan to functions in Scala Only functions starting and ending with two underscores (_) are translated.
Performs the translation of functions in ImpLan to functions in Scala Only functions starting and ending with two underscores (_) are translated. Note: Mutable datastructures are not yet handled on this branch since they are not generated
- name
Name of the function which is called
- oArgs
Argument expressions of the function call
- transFunc
Function used to translate the arguments
- typeHint
The type signature of the called function.
- returns
The translated function call in Scala
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- AnyRef → Any
- def typeTranslation(t: ImpLanType): String
Translates an IntermediateCode.ImpLanType to its corresponding Scala type.
Translates an IntermediateCode.ImpLanType to its corresponding Scala type.
- The Lazy container type is translated as Function0 - The generic type is translated as Any - The error type is translated as Throwable - Options are translated to an own type ErrorOption which is able to capture an error
- t
Type to be translated
- returns
Corresponding Scala type
- def valueTranslation(v: ImpLanVal): String
Translates an IntermediateCode.ImpLanVal to its corresponding Scala value.
Translates an IntermediateCode.ImpLanVal to its corresponding Scala value.
- None/Some are translated to special values EONone/EOSome to be able to capture errors in Somes
- v
The value to be translated
- returns
The corresponding value in Scala
- 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