Packages

  • package root

    The Scala compiler and reflection APIs.

    The Scala compiler and reflection APIs.

    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package tools
    Definition Classes
    scala
  • package nsc
    Definition Classes
    tools
  • package interpreter

    The main REPL related classes and values are as follows.

    The main REPL related classes and values are as follows. In addition to standard compiler classes Global and Settings, there are:

    History: an interface for session history. Completion: an interface for tab completion. ILoop (formerly InterpreterLoop): The umbrella class for a session. IMain (formerly Interpreter): Handles the evolving state of the session and handles submitting code to the compiler and handling the output. InteractiveReader: how ILoop obtains input. History: an interface for session history. Completion: an interface for tab completion. Power: a repository for more advanced/experimental features.

    ILoop contains { in: InteractiveReader, intp: IMain, settings: Settings, power: Power } InteractiveReader contains { history: History, completion: Completion } IMain contains { global: Global }

    Definition Classes
    nsc
  • package session

    Files having to do with the state of a repl session: lines of text entered, types and terms defined, etc.

    Files having to do with the state of a repl session: lines of text entered, types and terms defined, etc.

    Definition Classes
    interpreter
  • History
  • NoHistory
  • SimpleHistory

class SimpleHistory extends History

Source
SimpleHistory.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleHistory
  2. History
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SimpleHistory()

Value Members

  1. def add(item: CharSequence): Unit
  2. def asStrings: List[String]
    Definition Classes
    SimpleHistoryHistory
  3. def asStrings(from: Int, to: Int): List[String]
    Definition Classes
    History
  4. def clear(): Unit
  5. def current(): String
  6. def get(idx: Int): CharSequence
  7. def historicize(text: String): Boolean
    Definition Classes
    History
  8. def index: Int
    Definition Classes
    SimpleHistoryHistory
  9. def isEmpty: Boolean
  10. def last: String
  11. def maxSize: Int
  12. def moveTo(idx: Int): Boolean
  13. def moveToEnd(): Unit
  14. def moveToFirst(): Boolean
  15. def moveToLast(): Boolean
  16. def next(): Boolean
  17. def previous(): Boolean
  18. def remove(idx: Int): CharSequence
  19. def removeFirst(): CharSequence
  20. def removeLast(): CharSequence
  21. def replace(item: CharSequence): Unit
  22. def set(idx: Int, to: CharSequence): Unit
  23. def size: Int
    Definition Classes
    SimpleHistoryHistory