Packages

trait ReplOptions extends Object with StObject

Annotations
@JSType() @native()
Source
replMod.scala
Linear Supertypes
StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplOptions
  2. StObject
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. val breakEvalOnSigint: UndefOr[Boolean]

    Stop evaluating the current piece of code when SIGINT is received, i.e.

    Stop evaluating the current piece of code when SIGINT is received, i.e. Ctrl+C is pressed. This cannot be used together with a custom eval function. Default: false.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. val completer: UndefOr[|[Completer, AsyncCompleter]]

    An optional function used for custom Tab auto completion.

    An optional function used for custom Tab auto completion.

    See also

    https://nodejs.org/dist/latest-v11.x/docs/api/readline.html#readline_use_of_the_completer_function

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. val eval: UndefOr[REPLEval]

    The function to be used when evaluating each given line of input.

    The function to be used when evaluating each given line of input. Default: an async wrapper for the JavaScript eval() function. An eval function can error with repl.Recoverable to indicate the input was incomplete and prompt for additional lines.

    See also

    https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_default_evaluation

    https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_custom_evaluation_functions

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. val ignoreUndefined: UndefOr[Boolean]

    If true, specifies that the default writer will not output the return value of a command if it evaluates to undefined.

    If true, specifies that the default writer will not output the return value of a command if it evaluates to undefined. Default: false.

  15. val input: UndefOr[ReadableStream]

    The Readable stream from which REPL input will be read.

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. val output: UndefOr[WritableStream]

    The Writable stream to which REPL output will be written.

  22. val preview: UndefOr[Boolean]

    Defines if the repl prints output previews or not.

  23. val prompt: UndefOr[java.lang.String]

    The input prompt to display.

  24. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  25. val replMode: UndefOr[Symbol]

    A flag that specifies whether the default evaluator executes all JavaScript commands in strict mode or default (sloppy) mode.

    A flag that specifies whether the default evaluator executes all JavaScript commands in strict mode or default (sloppy) mode. Accepted values are: - repl.REPL_MODE_SLOPPY - evaluates expressions in sloppy mode. - repl.REPL_MODE_STRICT - evaluates expressions in strict mode. This is equivalent to prefacing every repl statement with 'use strict'.

  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. val terminal: UndefOr[Boolean]

    If true, specifies that the output should be treated as a TTY terminal, and have ANSI/VT100 escape codes written to it.

    If true, specifies that the output should be treated as a TTY terminal, and have ANSI/VT100 escape codes written to it. Default: checking the value of the isTTY property on the output stream upon instantiation.

  28. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  29. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  30. val useColors: UndefOr[Boolean]

    If true, specifies that the default writer function should include ANSI color styling to REPL output.

    If true, specifies that the default writer function should include ANSI color styling to REPL output. If a custom writer function is provided then this has no effect. Default: the REPL instance's terminal value.

  31. val useGlobal: UndefOr[Boolean]

    If true, specifies that the default evaluation function will use the JavaScript global as the context as opposed to creating a new separate context for the REPL instance.

    If true, specifies that the default evaluation function will use the JavaScript global as the context as opposed to creating a new separate context for the REPL instance. The node CLI REPL sets this value to true. Default: false.

  32. def valueOf(): Any
    Definition Classes
    Object
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. val writer: UndefOr[REPLWriter]

    The function to invoke to format the output of each command before writing to output.

    The function to invoke to format the output of each command before writing to output. Default: a wrapper for util.inspect.

    See also

    https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_customizing_repl_output

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped