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 jline
    Definition Classes
    interpreter
  • FileBackedHistory
  • InteractiveReader
  • JLineDelimiter
  • JLineHistory

trait FileBackedHistory extends JLineHistory with PersistentHistory

TODO: file locking.

Source
FileBackedHistory.scala
Linear Supertypes
PersistentHistory, JLineHistory, History, History, java.lang.Iterable[Entry], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileBackedHistory
  2. PersistentHistory
  3. JLineHistory
  4. History
  5. History
  6. Iterable
  7. AnyRef
  8. 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

Abstract Value Members

  1. abstract def add(line: CharSequence): Unit
    Definition Classes
    JLineHistory → History
  2. abstract def asStrings: List[String]
    Definition Classes
    History
  3. abstract def clear(): Unit
    Definition Classes
    JLineHistory → History
  4. abstract def current(): CharSequence
    Definition Classes
    JLineHistory → History
  5. abstract def entries(): ListIterator[Entry]
    Definition Classes
    JLineHistory → History
  6. abstract def entries(index: Int): ListIterator[Entry]
    Definition Classes
    JLineHistory → History
  7. abstract def get(index: Int): CharSequence
    Definition Classes
    JLineHistory → History
  8. abstract def index: Int
    Definition Classes
    JLineHistoryHistory → History
  9. abstract def isEmpty(): Boolean
    Definition Classes
    JLineHistory → History
  10. abstract def iterator(): java.util.Iterator[Entry]
    Definition Classes
    JLineHistory → History → Iterable
  11. abstract def maxSize: Int
  12. abstract def moveTo(index: Int): Boolean
    Definition Classes
    JLineHistory → History
  13. abstract def moveToEnd(): Unit
    Definition Classes
    JLineHistory → History
  14. abstract def moveToFirst(): Boolean
    Definition Classes
    JLineHistory → History
  15. abstract def moveToLast(): Boolean
    Definition Classes
    JLineHistory → History
  16. abstract def next(): Boolean
    Definition Classes
    JLineHistory → History
  17. abstract def previous(): Boolean
    Definition Classes
    JLineHistory → History
  18. abstract def remove(arg0: Int): CharSequence
    Definition Classes
    History
  19. abstract def removeFirst(): CharSequence
    Definition Classes
    History
  20. abstract def removeLast(): CharSequence
    Definition Classes
    History
  21. abstract def replace(item: CharSequence): Unit
    Definition Classes
    JLineHistory → History
  22. abstract def set(arg0: Int, arg1: CharSequence): Unit
    Definition Classes
    History
  23. abstract def size: Int
    Definition Classes
    JLineHistoryHistory → History

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from FileBackedHistory to any2stringadd[FileBackedHistory] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (FileBackedHistory, B)
    Implicit
    This member is added by an implicit conversion from FileBackedHistory to ArrowAssoc[FileBackedHistory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addLineToFile(item: CharSequence): Unit
  7. def append(lines: String*): Unit

    Append one or more lines to the history file.

    Append one or more lines to the history file.

    Attributes
    protected
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def asStrings(from: Int, to: Int): List[String]
    Definition Classes
    History
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  11. def ensuring(cond: (FileBackedHistory) ⇒ Boolean, msg: ⇒ Any): FileBackedHistory
    Implicit
    This member is added by an implicit conversion from FileBackedHistory to Ensuring[FileBackedHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (FileBackedHistory) ⇒ Boolean): FileBackedHistory
    Implicit
    This member is added by an implicit conversion from FileBackedHistory to Ensuring[FileBackedHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): FileBackedHistory
    Implicit
    This member is added by an implicit conversion from FileBackedHistory to Ensuring[FileBackedHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): FileBackedHistory
    Implicit
    This member is added by an implicit conversion from FileBackedHistory to Ensuring[FileBackedHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def flush(): Unit
    Definition Classes
    FileBackedHistory → PersistentHistory
  18. def forEach(arg0: Consumer[_ >: Entry]): Unit
    Definition Classes
    Iterable
  19. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from FileBackedHistory to StringFormat[FileBackedHistory] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def historicize(text: String): Boolean
    Definition Classes
    JLineHistoryHistory
  23. lazy val historyFile: File
    Attributes
    protected
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def load(): Unit
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def purge(): Unit
    Definition Classes
    FileBackedHistory → PersistentHistory
  30. def spliterator(): Spliterator[Entry]
    Definition Classes
    Iterable
  31. def sync(): Unit

    Overwrites the history file with the current memory.

    Overwrites the history file with the current memory.

    Attributes
    protected
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withoutSaving[T](op: ⇒ T): T
  38. def [B](y: B): (FileBackedHistory, B)
    Implicit
    This member is added by an implicit conversion from FileBackedHistory to ArrowAssoc[FileBackedHistory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

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

Inherited from PersistentHistory

Inherited from JLineHistory

Inherited from History

Inherited from History

Inherited from java.lang.Iterable[Entry]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from FileBackedHistory to any2stringadd[FileBackedHistory]

Inherited by implicit conversion StringFormat from FileBackedHistory to StringFormat[FileBackedHistory]

Inherited by implicit conversion Ensuring from FileBackedHistory to Ensuring[FileBackedHistory]

Inherited by implicit conversion ArrowAssoc from FileBackedHistory to ArrowAssoc[FileBackedHistory]

Ungrouped