Class

org.scalajs.jsenv.nodejs.JSDOMNodeJSEnv

DOMNodeRunner

Related Doc: package JSDOMNodeJSEnv

Permalink

class DOMNodeRunner extends ExtRunner with AbstractDOMNodeRunner

Attributes
protected
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DOMNodeRunner
  2. AbstractDOMNodeRunner
  3. AbstractNodeRunner
  4. ExtRunner
  5. JSRunner
  6. AbstractExtRunner
  7. JSInitFiles
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DOMNodeRunner(libs: Seq[ResolvedJSDependency], code: VirtualJSFile)

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val code: VirtualJSFile

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  7. def codeWithJSDOMContext(): Seq[VirtualJSFile]

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractDOMNodeRunner
  8. def console: JSConsole

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  9. final def customInitFiles(): Seq[VirtualJSFile]

    Permalink

    Custom initialization scripts, defined by the environment.

    Custom initialization scripts, defined by the environment.

    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fixPercentConsole(): Seq[VirtualJSFile]

    Permalink

    File(s) to hack console.log to prevent if from changing %% to %.

    File(s) to hack console.log to prevent if from changing %% to %. Is used by initFiles, override to change/disable.

    Attributes
    protected
    Definition Classes
    AbstractNodeRunner
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getJSFiles(): Seq[VirtualJSFile]

    Permalink

    Get all files that are passed to VM (libraries and code)

    Get all files that are passed to VM (libraries and code)

    Attributes
    protected
    Definition Classes
    AbstractDOMNodeRunnerAbstractExtRunner
  16. def getLibJSFiles(): Seq[VirtualJSFile]

    Permalink

    Libraries are loaded via scripts in Node.js

    Libraries are loaded via scripts in Node.js

    Attributes
    protected
    Definition Classes
    AbstractDOMNodeRunnerAbstractExtRunner
  17. def getVMArgs(): Seq[String]

    Permalink

    VM arguments excluding executable.

    VM arguments excluding executable. Override to adapt. Overrider is responsible to add additionalArgs.

    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  18. def getVMEnv(): Map[String, String]

    Permalink

    VM environment.

    VM environment. Override to adapt.

    Default is sys.env and additionalEnv

    Attributes
    protected
    Definition Classes
    AbstractNodeRunnerAbstractExtRunner
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def initFiles(): Seq[VirtualJSFile]

    Permalink

    JS files used to setup VM

    JS files used to setup VM

    Attributes
    protected
    Definition Classes
    AbstractNodeRunnerJSInitFiles
  21. def installSourceMap(): Seq[VirtualJSFile]

    Permalink

    File(s) to automatically install source-map-support.

    File(s) to automatically install source-map-support. Is used by initFiles, override to change/disable.

    Attributes
    protected
    Definition Classes
    AbstractNodeRunner
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val libCache: VirtualFileMaterializer

    Permalink
    Attributes
    protected[this]
    Definition Classes
    AbstractNodeRunner
  24. val libs: Seq[ResolvedJSDependency]

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  25. def logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  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. final def pipeToConsole(in: InputStream, console: JSConsole): Unit

    Permalink

    pipe lines from input stream to JSConsole

    pipe lines from input stream to JSConsole

    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  30. final def pipeVMData(vmInst: Process): Unit

    Permalink

    Pipe stdin and stdout from/to VM

    Pipe stdin and stdout from/to VM

    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  31. def run(logger: Logger, console: JSConsole): Unit

    Permalink

    Run the associated JS code.

    Run the associated JS code. Throw if an error occurs.

    Definition Classes
    ExtRunnerJSRunner
  32. def runtimeEnv(): Seq[VirtualJSFile]

    Permalink

    File(s) to define ScalaJSEnv. Defines exitFunction. Is used by initFiles, override to change/disable.

    File(s) to define ScalaJSEnv. Defines exitFunction. Is used by initFiles, override to change/disable.

    Attributes
    protected
    Definition Classes
    AbstractNodeRunner
  33. final def sendJS(files: Seq[VirtualJSFile], out: Writer): Unit

    Permalink

    send a bunch of JS files to a writer

    send a bunch of JS files to a writer

    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  34. final def sendJS(files: Seq[VirtualJSFile], out: OutputStream): Unit

    Permalink

    send a bunch of JS files to an output stream

    send a bunch of JS files to an output stream

    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  35. def sendVMStdin(out: OutputStream): Unit

    Permalink

    Sends required data to VM Stdin (can throw)

    Sends required data to VM Stdin (can throw)

    Attributes
    protected
    Definition Classes
    AbstractDOMNodeRunnerAbstractExtRunner
  36. def setupLoggerAndConsole(logger: Logger, console: JSConsole): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  37. def startVM(): Process

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractExtRunner
  38. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def waitForVM(vmInst: Process): Unit

    Permalink

    Wait for the VM to terminate, verify exit code

    Wait for the VM to terminate, verify exit code

    Attributes
    protected
    Definition Classes
    AbstractExtRunner
    Exceptions thrown

    ExternalJSEnv.NonZeroExitException if VM returned a non-zero code

  44. def writeJSFile(file: VirtualJSFile, writer: Writer): Unit

    Permalink

    write a single JS file to a writer using an include fct if appropriate uses require if the file exists on the filesystem

    write a single JS file to a writer using an include fct if appropriate uses require if the file exists on the filesystem

    Attributes
    protected
    Definition Classes
    AbstractNodeRunnerAbstractExtRunner

Inherited from AbstractDOMNodeRunner

Inherited from JSDOMNodeJSEnv.ExtRunner

Inherited from JSRunner

Inherited from JSInitFiles

Inherited from AnyRef

Inherited from Any

Ungrouped