Class

io.scalajs.nodejs.vm

ScriptOptions

Related Doc: package vm

Permalink

class ScriptOptions extends Object

Script Options

Annotations
@RawJSType() @ScalaJSDefined()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScriptOptions
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScriptOptions(filename: UndefOr[String] = js.undefined, lineOffset: UndefOr[Int] = js.undefined, columnOffset: UndefOr[Int] = js.undefined, displayErrors: UndefOr[Boolean] = js.undefined, timeout: UndefOr[Int] = js.undefined, cachedData: UndefOr[Buffer] = js.undefined, produceCachedData: UndefOr[Boolean] = js.undefined)

    Permalink

    filename

    Specifies the filename used in stack traces produced by this script.

    lineOffset

    Specifies the line number offset that is displayed in stack traces produced by this script.

    columnOffset

    Specifies the column number offset that is displayed in stack traces produced by this script.

    displayErrors

    When true, if an Error error occurs while compiling the code, the line of code causing the error is attached to the stack trace.

    timeout

    Specifies the number of milliseconds to execute code before terminating execution. If execution is terminated, an Error will be thrown.

    cachedData

    Provides an optional Buffer with V8's code cache data for the supplied source. When supplied, the cachedDataRejected value will be set to either true or false depending on acceptance of the data by V8.

    produceCachedData

    When true and no cachedData is present, V8 will attempt to produce code cache data for code. Upon success, a Buffer with V8's code cache data will be produced and stored in the cachedData property of the returned vm.Script instance. The cachedDataProduced value will be set to either true or false depending on whether code cache data is produced successfully.

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. var cachedData: UndefOr[Buffer]

    Permalink

    Provides an optional Buffer with V8's code cache data for the supplied source.

    Provides an optional Buffer with V8's code cache data for the supplied source. When supplied, the cachedDataRejected value will be set to either true or false depending on acceptance of the data by V8.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. var columnOffset: UndefOr[Int]

    Permalink

    Specifies the column number offset that is displayed in stack traces produced by this script.

  8. var displayErrors: UndefOr[Boolean]

    Permalink

    When true, if an Error error occurs while compiling the code, the line of code causing the error is attached to the stack trace.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. var filename: UndefOr[String]

    Permalink

    Specifies the filename used in stack traces produced by this script.

  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  15. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  18. var lineOffset: UndefOr[Int]

    Permalink

    Specifies the line number offset that is displayed in stack traces produced by this script.

  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. var produceCachedData: UndefOr[Boolean]

    Permalink

    When true and no cachedData is present, V8 will attempt to produce code cache data for code.

    When true and no cachedData is present, V8 will attempt to produce code cache data for code. Upon success, a Buffer with V8's code cache data will be produced and stored in the cachedData property of the returned vm.Script instance. The cachedDataProduced value will be set to either true or false depending on whether code cache data is produced successfully.

  23. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. var timeout: UndefOr[Int]

    Permalink

    Specifies the number of milliseconds to execute code before terminating execution.

    Specifies the number of milliseconds to execute code before terminating execution. If execution is terminated, an Error will be thrown.

  26. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  29. final def wait(): Unit

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

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

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

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped