Class

io.scalajs.nodejs.vm

ContextOptions

Related Doc: package vm

Permalink

class ContextOptions extends Object

Script Context Options

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

Instance Constructors

  1. new ContextOptions(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)

    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.

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. var columnOffset: UndefOr[Int]

    Permalink

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

  7. 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.

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

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

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

    Permalink

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

  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 hasOwnProperty(v: String): Boolean

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

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

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

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

    Permalink

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def propertyIsEnumerable(v: String): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  23. 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.

  24. def toLocaleString(): String

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

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

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

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

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