Packages

c

org.scalajs.jsenv.ExternalJSEnv

AbstractExtRunner

class AbstractExtRunner extends JSInitFiles

Attributes
protected
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractExtRunner
  2. JSInitFiles
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractExtRunner(files: Seq[VirtualJSFile])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def console: JSConsole
    Attributes
    protected
  7. final def customInitFiles(): Seq[VirtualJSFile]

    Custom initialization scripts, defined by the environment.

    Custom initialization scripts, defined by the environment.

    Attributes
    protected
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. val files: Seq[VirtualJSFile]
    Attributes
    protected
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def getJSFiles(): Seq[VirtualJSFile]

    All the JS files that are passed to the VM.

    All the JS files that are passed to the VM.

    This method can overridden to provide custom behavior in subclasses.

    The default value in ExternalJSEnv is initFiles() ++ customInitFiles() ++ files.

    Attributes
    protected
  14. def getVMArgs(): Seq[String]

    VM arguments excluding executable.

    VM arguments excluding executable. Override to adapt.

    The default value in ExternalJSEnv is args.

    Attributes
    protected
  15. def getVMEnv(): Map[String, String]

    VM environment.

    VM environment. Override to adapt.

    The default value in ExternalJSEnv is System.getenv().asScala.toMap ++ env.

    Attributes
    protected
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. def initFiles(): Seq[VirtualJSFile]

    JS files used to setup VM

    JS files used to setup VM

    Attributes
    protected
    Definition Classes
    JSInitFiles
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def logger: Logger
    Attributes
    protected
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  23. final def pipeToConsole(in: InputStream, console: JSConsole): Unit

    pipe lines from input stream to JSConsole

    pipe lines from input stream to JSConsole

    Attributes
    protected
  24. final def pipeVMData(vmInst: Process): Unit

    Pipe stdin and stdout from/to VM

    Pipe stdin and stdout from/to VM

    Attributes
    protected
  25. final def sendJS(files: Seq[VirtualJSFile], out: Writer): Unit

    send a bunch of JS files to a writer

    send a bunch of JS files to a writer

    Attributes
    protected
  26. final def sendJS(files: Seq[VirtualJSFile], out: OutputStream): Unit

    send a bunch of JS files to an output stream

    send a bunch of JS files to an output stream

    Attributes
    protected
  27. def sendVMStdin(out: OutputStream): Unit

    Sends required data to VM Stdin (can throw)

    Sends required data to VM Stdin (can throw)

    Attributes
    protected
  28. def setupLoggerAndConsole(logger: Logger, console: JSConsole): Unit
    Attributes
    protected
  29. def startVM(): Process
    Attributes
    protected
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def waitForVM(vmInst: Process): Unit

    Wait for the VM to terminate, verify exit code

    Wait for the VM to terminate, verify exit code

    Attributes
    protected
    Exceptions thrown

    ExternalJSEnv.NonZeroExitException if VM returned a non-zero code

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

    write a single JS file to a writer using an include fct if appropriate

    write a single JS file to a writer using an include fct if appropriate

    Attributes
    protected

Inherited from JSInitFiles

Inherited from AnyRef

Inherited from Any

Ungrouped