Class

org.scalajs.jsenv.ExternalJSEnv

AbstractExtRunner

Related Doc: package ExternalJSEnv

Permalink

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(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
  7. def console: JSConsole

    Permalink
    Attributes
    protected
  8. final def customInitFiles(): Seq[VirtualJSFile]

    Permalink

    Custom initialization scripts, defined by the environment.

    Custom initialization scripts, defined by the environment.

    Attributes
    protected
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. 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
  14. def getLibJSFiles(): Seq[VirtualJSFile]

    Permalink

    Get files that are a library (i.e.

    Get files that are a library (i.e. that do not run anything)

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

    Permalink

    VM arguments excluding executable.

    VM arguments excluding executable. Override to adapt.

    The default value in ExternalJSEnv is args.

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

    Permalink

    VM environment.

    VM environment. Override to adapt.

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

    Attributes
    protected
  17. def hashCode(): Int

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

    Permalink

    JS files used to setup VM

    JS files used to setup VM

    Attributes
    protected
    Definition Classes
    JSInitFiles
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val libs: Seq[ResolvedJSDependency]

    Permalink
    Attributes
    protected
  21. def logger: Logger

    Permalink
    Attributes
    protected
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. 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
  26. final def pipeVMData(vmInst: Process): Unit

    Permalink

    Pipe stdin and stdout from/to VM

    Pipe stdin and stdout from/to VM

    Attributes
    protected
  27. 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
  28. 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
  29. def sendVMStdin(out: OutputStream): Unit

    Permalink

    Sends required data to VM Stdin (can throw)

    Sends required data to VM Stdin (can throw)

    Attributes
    protected
  30. def setupLoggerAndConsole(logger: Logger, console: JSConsole): Unit

    Permalink
    Attributes
    protected
  31. def startVM(): Process

    Permalink
    Attributes
    protected
  32. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. 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
    Exceptions thrown

    ExternalJSEnv.NonZeroExitException if VM returned a non-zero code

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

    Permalink

    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