trait LinkingUnitAsyncJSEnv extends LinkingUnitJSEnv with AsyncJSEnv
- Alphabetic
- By Inheritance
- LinkingUnitAsyncJSEnv
- AsyncJSEnv
- LinkingUnitJSEnv
- JSEnv
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def asyncRunner(preLibs: Seq[ResolvedJSDependency], linkingUnit: LinkingUnit, postLibs: Seq[ResolvedJSDependency], code: VirtualJSFile): AsyncJSRunner
- abstract def asyncRunner(libs: Seq[ResolvedJSDependency], code: VirtualJSFile): AsyncJSRunner
- Definition Classes
- AsyncJSEnv
- abstract def jsRunner(preLibs: Seq[ResolvedJSDependency], linkingUnit: LinkingUnit, postLibs: Seq[ResolvedJSDependency], code: VirtualJSFile): JSRunner
Prepare a runner for the code in the virtual file.
Prepare a runner for the code in the virtual file.
- Definition Classes
- LinkingUnitJSEnv
- abstract def jsRunner(libs: Seq[ResolvedJSDependency], code: VirtualJSFile): JSRunner
Prepare a runner for the code in the virtual file.
Prepare a runner for the code in the virtual file.
- Definition Classes
- JSEnv
- abstract def name: String
Human-readable name for this JSEnv
- abstract val symbolRequirements: SymbolRequirement
Symbols this LinkingUnitJSEnv needs present in the LinkingUnit it receives.
Symbols this LinkingUnitJSEnv needs present in the LinkingUnit it receives.
- Definition Classes
- LinkingUnitJSEnv
Concrete 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
- final def asyncRunner(code: VirtualJSFile): AsyncJSRunner
- Definition Classes
- AsyncJSEnv
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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 jsRunner(code: VirtualJSFile): JSRunner
Prepare a runner without any libraries.
Prepare a runner without any libraries.
Strictly equivalent to:
this.jsRunner(Nil, code)
- Definition Classes
- JSEnv
- def loadLibs(libs: Seq[ResolvedJSDependency]): LinkingUnitAsyncJSEnv
Return this JSEnv with the given libraries already loaded.
Return this JSEnv with the given libraries already loaded.
The following two are equivalent:
jsEnv.loadLibs(a).jsRunner(b, c) jsEnv.jsRunner(a ++ b, c)
- Definition Classes
- LinkingUnitAsyncJSEnv → AsyncJSEnv → LinkingUnitJSEnv → JSEnv
- def loadLinkingUnit(linkingUnit: LinkingUnit): AsyncJSEnv
Returns a JSEnv with the given LinkingUnit already loaded.
Returns a JSEnv with the given LinkingUnit already loaded.
Note that any subsequent libraries will be inserted after the LinkingUnit.
Hence, the following are equivalent:
jsEnv.loadUnit(a).jsRunner(b, c) jsEnv.jsRunner(Nil, a, b, c)
If you need to load libraries before, you can use the loadLibs method:
jsEnv.loadLibs(a).loadUnit(b).jsRunner(c, d) // equivalent to jsEnv.jsRunner(a, b, c, d)
- Definition Classes
- LinkingUnitAsyncJSEnv → LinkingUnitJSEnv
- 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()
- 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(classOf[java.lang.InterruptedException])
- 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()