org.scalajs.jsenv.nodejs

NodeJSEnv

class NodeJSEnv extends AbstractNodeJSEnv

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NodeJSEnv
  2. AbstractNodeJSEnv
  3. ComJSEnv
  4. ExternalJSEnv
  5. AsyncJSEnv
  6. JSEnv
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NodeJSEnv()

  2. new NodeJSEnv(config: Config)

  3. new NodeJSEnv(executable: String = "node", args: Seq[String] = Seq.empty, env: Map[String, String] = Map.empty)

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.18) Use the overload with a NodeJSEnv.Config.

Type Members

  1. trait AbstractBasicNodeRunner extends AbstractExtRunner with AbstractNodeRunner

    Attributes
    protected
  2. class AbstractExtRunner extends JSInitFiles

    Attributes
    protected
    Definition Classes
    ExternalJSEnv
  3. trait AbstractNodeRunner extends AbstractExtRunner with JSInitFiles

    Attributes
    protected
    Definition Classes
    AbstractNodeJSEnv
  4. class AsyncExtRunner extends AbstractExtRunner with AsyncJSRunner

    Attributes
    protected
    Definition Classes
    ExternalJSEnv
  5. class AsyncNodeRunner extends AsyncExtRunner with AbstractBasicNodeRunner

    Attributes
    protected
  6. class ComNodeRunner extends AsyncNodeRunner with NodeComJSRunner

    Attributes
    protected
  7. class ExtRunner extends AbstractExtRunner with JSRunner

    Attributes
    protected
    Definition Classes
    ExternalJSEnv
  8. trait NodeComJSRunner extends ComJSRunner with JSInitFiles

    Attributes
    protected
    Definition Classes
    AbstractNodeJSEnv
  9. class NodeRunner extends ExtRunner with AbstractBasicNodeRunner

    Attributes
    protected

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. val acceptTimeout: Int

    Retry-timeout to wait for the JS VM to connect

    Retry-timeout to wait for the JS VM to connect

    Attributes
    protected
    Definition Classes
    AbstractNodeJSEnv
  7. final val args: Seq[String]

    Attributes
    protected
    Definition Classes
    ExternalJSEnv
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def asyncRunner(libs: Seq[ResolvedJSDependency], code: VirtualJSFile): AsyncJSRunner

    Definition Classes
    NodeJSEnvAsyncJSEnv
  10. final def asyncRunner(code: VirtualJSFile): AsyncJSRunner

    Definition Classes
    AsyncJSEnv
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def comRunner(libs: Seq[ResolvedJSDependency], code: VirtualJSFile): ComJSRunner

    Definition Classes
    NodeJSEnvComJSEnv
  13. final def comRunner(code: VirtualJSFile): ComJSRunner

    Definition Classes
    ComJSEnv
  14. def customInitFiles(): Seq[VirtualJSFile]

    Custom initialization scripts.

    Custom initialization scripts.

    Attributes
    protected
    Definition Classes
    ExternalJSEnv
  15. final val env: Map[String, String]

    Attributes
    protected
    Definition Classes
    ExternalJSEnv
  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. val executable: String

    Command to execute (on shell) for this VM

    Command to execute (on shell) for this VM

    Attributes
    protected
    Definition Classes
    NodeJSEnvAbstractNodeJSEnvExternalJSEnv
  19. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  21. lazy val hasSourceMapSupport: Boolean

    True, if the installed node executable supports source mapping.

    True, if the installed node executable supports source mapping.

    Do npm install source-map-support if you need source maps.

    Definition Classes
    AbstractNodeJSEnv
  22. def hashCode(): Int

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

    Definition Classes
    Any
  24. 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
    NodeJSEnvJSEnv
  25. 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
  26. def loadLibs(libs: Seq[ResolvedJSDependency]): ComJSEnv

    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
    ComJSEnvAsyncJSEnvJSEnv
  27. def name: String

    Human-readable name for this JSEnv

    Human-readable name for this JSEnv

    Definition Classes
    ExternalJSEnvJSEnv
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  31. val sourceMap: Boolean

    Definition Classes
    AbstractNodeJSEnv
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    AnyRef → Any
  34. def vmName: String

    Printable name of this VM

    Printable name of this VM

    Attributes
    protected
    Definition Classes
    NodeJSEnvExternalJSEnv
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. final def additionalArgs: Seq[String]

    Attributes
    protected
    Definition Classes
    ExternalJSEnv
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.16) Use args instead.

  2. final def additionalEnv: Map[String, String]

    Attributes
    protected
    Definition Classes
    ExternalJSEnv
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.16) Use env instead.

  3. def withSourceMap(sourceMap: Boolean): NodeJSEnv

    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.18) Use the overloaded constructor with a NodeJSEnv.Config.

Inherited from AbstractNodeJSEnv

Inherited from ComJSEnv

Inherited from ExternalJSEnv

Inherited from AsyncJSEnv

Inherited from JSEnv

Inherited from AnyRef

Inherited from Any

Ungrouped