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. 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 SimpleHistory to any2stringadd[SimpleHistory] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SimpleHistory, B)
    Implicit
    This member is added by an implicit conversion from SimpleHistory to ArrowAssoc[SimpleHistory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def add(item: CharSequence): Unit
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asStrings: List[String]
    Definition Classes
    SimpleHistoryHistory
  9. def asStrings(from: Int, to: Int): List[String]
    Definition Classes
    History
  10. val buf: Buffer[String]
    Attributes
    protected
  11. def clear(): Unit
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. def current(): String
  14. def ensuring(cond: (SimpleHistory) ⇒ Boolean, msg: ⇒ Any): SimpleHistory
    Implicit
    This member is added by an implicit conversion from SimpleHistory to Ensuring[SimpleHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (SimpleHistory) ⇒ Boolean): SimpleHistory
    Implicit
    This member is added by an implicit conversion from SimpleHistory to Ensuring[SimpleHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): SimpleHistory
    Implicit
    This member is added by an implicit conversion from SimpleHistory to Ensuring[SimpleHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): SimpleHistory
    Implicit
    This member is added by an implicit conversion from SimpleHistory to Ensuring[SimpleHistory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def get(idx: Int): CharSequence
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def historicize(text: String): Boolean
    Definition Classes
    History
  25. def index: Int
    Definition Classes
    SimpleHistoryHistory
  26. def isEmpty: Boolean
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def last: String
  29. def maxSize: Int
  30. def moveTo(idx: Int): Boolean
  31. def moveToEnd(): Unit
  32. def moveToFirst(): Boolean
  33. def moveToLast(): Boolean
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def next(): Boolean
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. def previous(): Boolean
  39. def remove(idx: Int): CharSequence
  40. def removeFirst(): CharSequence
  41. def removeLast(): CharSequence
  42. def replace(item: CharSequence): Unit
  43. def set(idx: Int, to: CharSequence): Unit
  44. def size: Int
    Definition Classes
    SimpleHistoryHistory
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  50. def [B](y: B): (SimpleHistory, B)
    Implicit
    This member is added by an implicit conversion from SimpleHistory to ArrowAssoc[SimpleHistory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from SimpleHistory to StringFormat[SimpleHistory] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from History

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped