Packages

c

io.scalajs.nodejs.vm

ScriptOptions

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)

    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
    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. var cachedData: UndefOr[Buffer]
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. var columnOffset: UndefOr[Int]
  8. var displayErrors: UndefOr[Boolean]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. var filename: UndefOr[String]
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  18. var lineOffset: UndefOr[Int]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. var produceCachedData: UndefOr[Boolean]
  23. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. var timeout: UndefOr[Int]
  26. def toLocaleString(): String
    Definition Classes
    Object
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def valueOf(): Any
    Definition Classes
    Object
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped