Packages

object nodeReplMod

Source
nodeReplMod.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. nodeReplMod
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class REPLServer extends Object with StObject

    Provides a customizable Read-Eval-Print-Loop (REPL).

    Provides a customizable Read-Eval-Print-Loop (REPL).

    Instances of repl.REPLServer will accept individual lines of user input, evaluate those according to a user-defined evaluation function, then output the result. Input and output may be from stdin and stdout, respectively, or may be connected to any Node.js stream.

    Instances of repl.REPLServer support automatic completion of inputs, simplistic Emacs-style line editing, multi-line inputs, ANSI-styled output, saving and restoring current REPL session state, error recovery, and customizable evaluation functions.

    Instances of repl.REPLServer are created using the repl.start() method and _should not_ be created directly using the JavaScript new keyword.

    Annotations
    @JSType() @JSImport("node:repl", "REPLServer") @native()
    See also

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

  2. class Recoverable extends replMod.Recoverable

    Indicates a recoverable error that a REPLServer can use to support multi-line input.

    Indicates a recoverable error that a REPLServer can use to support multi-line input.

    Annotations
    @JSType() @JSImport("node:repl", "Recoverable") @native()
    See also

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

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. val REPL_MODE_SLOPPY: Symbol

    A flag passed in the REPL options.

    A flag passed in the REPL options. Evaluates expressions in sloppy mode.

    Annotations
    @JSImport("node:repl", "REPL_MODE_SLOPPY") @native()
  5. val REPL_MODE_STRICT: Symbol

    A flag passed in the REPL options.

    A flag passed in the REPL options. Evaluates expressions in strict mode. This is equivalent to prefacing every repl statement with 'use strict'.

    Annotations
    @JSImport("node:repl", "REPL_MODE_STRICT") @native()
  6. val ^: Any
    Annotations
    @JSImport("node:repl", JSImport.Namespace) @native()
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. def start(options: java.lang.String): replMod.REPLServer
    Annotations
    @inline()
  18. def start(options: ReplOptions): replMod.REPLServer
    Annotations
    @inline()
  19. def start(): replMod.REPLServer

    Creates and starts a repl.REPLServer instance.

    Creates and starts a repl.REPLServer instance.

    Annotations
    @inline()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. val writer: REPLWriter with Options

    This is the default "writer" value, if none is passed in the REPL options, and it can be overridden by custom print functions.

    This is the default "writer" value, if none is passed in the REPL options, and it can be overridden by custom print functions.

    Annotations
    @JSImport("node:repl", "writer") @native()

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped