org.kiama.util

REPL

trait REPL extends REPLBase with StdoutEmitter

General support for applications that implement read-eval-print loops (REPLs). Output is emitted to standard output.

Source
REPL.scala
Linear Supertypes
StdoutEmitter, REPLBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. REPL
  2. StdoutEmitter
  3. REPLBase
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def processline(line: String): Unit

    Process a user input line.

    Process a user input line.

    Definition Classes
    REPLBase

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. val emitter: Emitter

    An emitter for standard output.

    An emitter for standard output.

    Definition Classes
    StdoutEmitter
  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. def ignoreWhitespaceLines: Boolean

    Whether lines consisting entirely of whitespace should be ignored or not.

    Whether lines consisting entirely of whitespace should be ignored or not. Default: yes.

    Definition Classes
    REPLBase
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def main(args: Array[String]): Unit

    Read lines from the console and pass non-null ones to processline.

    Read lines from the console and pass non-null ones to processline. If ignoreWhitespaceLines is true, do not pass lines that contain just whitespace, otherwise do. Continue until processline returns false. Call setup before entering the loop and call prompt each time input is about to be read. The command-line arguments are passed to the setup method.

    Definition Classes
    REPLBase
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def prompt: String

    Define the prompt (default: "> ").

    Define the prompt (default: "> ").

    Definition Classes
    REPLBase
  21. def setup(args: Array[String]): Boolean

    Carry out setup processing for the REPL.

    Carry out setup processing for the REPL. Default: do nothing.

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

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from StdoutEmitter

Inherited from REPLBase

Inherited from AnyRef

Inherited from Any