Class/Object

org.scalajs.jsenv.nodejs

NodeJSEnv

Related Docs: object NodeJSEnv | package nodejs

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NodeJSEnv()

    Permalink
  2. new NodeJSEnv(config: Config)

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

    Permalink
    Annotations
    @deprecated
    Deprecated

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

Type Members

  1. trait AbstractBasicNodeRunner extends AbstractExtRunner with AbstractNodeRunner

    Permalink
    Attributes
    protected
  2. class AbstractExtRunner extends JSInitFiles

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

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

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

    Permalink
    Attributes
    protected
  6. class ComNodeRunner extends AsyncNodeRunner with NodeComJSRunner

    Permalink
    Attributes
    protected
  7. class ExtRunner extends AbstractExtRunner with JSRunner

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

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

    Permalink
    Attributes
    protected

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val acceptTimeout: Int

    Permalink

    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
  5. final val args: Seq[String]

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

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

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

    Permalink
    Definition Classes
    AsyncJSEnv
  9. def clone(): AnyRef

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

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

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

    Permalink

    Custom initialization scripts.

    Custom initialization scripts.

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. val executable: String

    Permalink

    Command to execute (on shell) for this VM

    Command to execute (on shell) for this VM

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. lazy val hasSourceMapSupport: Boolean

    Permalink

    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
  20. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  22. def jsRunner(libs: Seq[ResolvedJSDependency], code: VirtualJSFile): JSRunner

    Permalink

    Prepare a runner for the code in the virtual file.

    Prepare a runner for the code in the virtual file.

    Definition Classes
    NodeJSEnvJSEnv
  23. final def jsRunner(code: VirtualJSFile): JSRunner

    Permalink

    Prepare a runner without any libraries.

    Prepare a runner without any libraries.

    Strictly equivalent to:

    this.jsRunner(Nil, code)
    Definition Classes
    JSEnv
  24. def loadLibs(libs: Seq[ResolvedJSDependency]): ComJSEnv

    Permalink

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

    Permalink

    Human-readable name for this JSEnv

    Human-readable name for this JSEnv

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

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. val sourceMap: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def vmName: String

    Permalink

    Printable name of this VM

    Printable name of this VM

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. final def additionalArgs: Seq[String]

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalJSEnv
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.16) Use args instead.

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

    Permalink
    Attributes
    protected
    Definition Classes
    ExternalJSEnv
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.16) Use env instead.

  3. def withSourceMap(sourceMap: Boolean): NodeJSEnv

    Permalink
    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