org.scalajs.jsenv

LinkingUnitJSEnv

trait LinkingUnitJSEnv extends JSEnv

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LinkingUnitJSEnv
  2. JSEnv
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def jsRunner(preLibs: Seq[ResolvedJSDependency], linkingUnit: LinkingUnit, postLibs: Seq[ResolvedJSDependency], code: VirtualJSFile): JSRunner

    Prepare a runner for the code in the virtual file.

  2. 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
  3. abstract def name: String

    Human-readable name for this JSEnv

    Human-readable name for this JSEnv

    Definition Classes
    JSEnv
  4. abstract val symbolRequirements: SymbolRequirement

    Symbols this LinkingUnitJSEnv needs present in the LinkingUnit it receives.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. 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
  15. def loadLibs(libs: Seq[ResolvedJSDependency]): LinkingUnitJSEnv

    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
    LinkingUnitJSEnvJSEnv
  16. def loadLinkingUnit(linkingUnit: LinkingUnit): JSEnv

    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)
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JSEnv

Inherited from AnyRef

Inherited from Any

Ungrouped