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
  • object IMain

    Utility methods for the Interpreter.

    Utility methods for the Interpreter.

    Definition Classes
    interpreter
  • CodeAssembler
  • ReplStrippingWriter
  • StrippingTruncatingWriter
  • StrippingWriter
  • TruncatingWriter
c

scala.tools.nsc.interpreter.IMain

ReplStrippingWriter

class ReplStrippingWriter extends StrippingTruncatingWriter

Source
IMain.scala
Linear Supertypes
StrippingTruncatingWriter, TruncatingWriter, StrippingWriter, PrintWriter, Writer, Flushable, Closeable, AutoCloseable, Appendable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplStrippingWriter
  2. StrippingTruncatingWriter
  3. TruncatingWriter
  4. StrippingWriter
  5. PrintWriter
  6. Writer
  7. Flushable
  8. Closeable
  9. AutoCloseable
  10. Appendable
  11. AnyRef
  12. 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 ReplStrippingWriter(intp: IMain)

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 ReplStrippingWriter to any2stringadd[ReplStrippingWriter] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ReplStrippingWriter, B)
    Implicit
    This member is added by an implicit conversion from ReplStrippingWriter to ArrowAssoc[ReplStrippingWriter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def append(arg0: Char): PrintWriter
    Definition Classes
    PrintWriter → Writer → Appendable
  7. def append(arg0: CharSequence, arg1: Int, arg2: Int): PrintWriter
    Definition Classes
    PrintWriter → Writer → Appendable
  8. def append(arg0: CharSequence): PrintWriter
    Definition Classes
    PrintWriter → Writer → Appendable
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def checkError(): Boolean
    Definition Classes
    PrintWriter
  11. def clean(str: String): String
    Definition Classes
    StrippingTruncatingWriter
  12. def clearError(): Unit
    Attributes
    protected[java.io]
    Definition Classes
    PrintWriter
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. def close(): Unit
    Definition Classes
    PrintWriter → Writer → Closeable → AutoCloseable
  15. def ensuring(cond: (ReplStrippingWriter) ⇒ Boolean, msg: ⇒ Any): ReplStrippingWriter
    Implicit
    This member is added by an implicit conversion from ReplStrippingWriter to Ensuring[ReplStrippingWriter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (ReplStrippingWriter) ⇒ Boolean): ReplStrippingWriter
    Implicit
    This member is added by an implicit conversion from ReplStrippingWriter to Ensuring[ReplStrippingWriter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): ReplStrippingWriter
    Implicit
    This member is added by an implicit conversion from ReplStrippingWriter to Ensuring[ReplStrippingWriter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): ReplStrippingWriter
    Implicit
    This member is added by an implicit conversion from ReplStrippingWriter to Ensuring[ReplStrippingWriter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def flush(): Unit
    Definition Classes
    PrintWriter → Writer → Flushable
  23. def format(arg0: Locale, arg1: String, arg2: <repeated...>[AnyRef]): PrintWriter
    Definition Classes
    PrintWriter
    Annotations
    @transient()
  24. def format(arg0: String, arg1: <repeated...>[AnyRef]): PrintWriter
    Definition Classes
    PrintWriter
    Annotations
    @transient()
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isStripping: Boolean
    Definition Classes
    ReplStrippingWriterStrippingWriter
  29. def isTruncating: Boolean
    Definition Classes
    ReplStrippingWriterTruncatingWriter
  30. def maxStringLength: Int
    Definition Classes
    ReplStrippingWriterTruncatingWriter
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def print(arg0: Any): Unit
    Definition Classes
    PrintWriter
  35. def print(arg0: String): Unit
    Definition Classes
    PrintWriter
  36. def print(arg0: Array[Char]): Unit
    Definition Classes
    PrintWriter
  37. def print(arg0: Double): Unit
    Definition Classes
    PrintWriter
  38. def print(arg0: Float): Unit
    Definition Classes
    PrintWriter
  39. def print(arg0: Long): Unit
    Definition Classes
    PrintWriter
  40. def print(arg0: Int): Unit
    Definition Classes
    PrintWriter
  41. def print(arg0: Char): Unit
    Definition Classes
    PrintWriter
  42. def print(arg0: Boolean): Unit
    Definition Classes
    PrintWriter
  43. def printf(arg0: Locale, arg1: String, arg2: <repeated...>[AnyRef]): PrintWriter
    Definition Classes
    PrintWriter
    Annotations
    @transient()
  44. def printf(arg0: String, arg1: <repeated...>[AnyRef]): PrintWriter
    Definition Classes
    PrintWriter
    Annotations
    @transient()
  45. def println(arg0: Any): Unit
    Definition Classes
    PrintWriter
  46. def println(arg0: String): Unit
    Definition Classes
    PrintWriter
  47. def println(arg0: Array[Char]): Unit
    Definition Classes
    PrintWriter
  48. def println(arg0: Double): Unit
    Definition Classes
    PrintWriter
  49. def println(arg0: Float): Unit
    Definition Classes
    PrintWriter
  50. def println(arg0: Long): Unit
    Definition Classes
    PrintWriter
  51. def println(arg0: Int): Unit
    Definition Classes
    PrintWriter
  52. def println(arg0: Char): Unit
    Definition Classes
    PrintWriter
  53. def println(arg0: Boolean): Unit
    Definition Classes
    PrintWriter
  54. def println(): Unit
    Definition Classes
    PrintWriter
  55. def setError(): Unit
    Attributes
    protected[java.io]
    Definition Classes
    PrintWriter
  56. def strip(str: String): String
    Definition Classes
    StrippingWriter
  57. def stripImpl(str: String): String
    Definition Classes
    ReplStrippingWriterStrippingWriter
  58. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  59. def toString(): String
    Definition Classes
    AnyRef → Any
  60. def truncate(str: String): String
    Definition Classes
    TruncatingWriter
  61. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  64. def write(str: String): Unit
    Definition Classes
    StrippingTruncatingWriter → PrintWriter → Writer
  65. def write(arg0: String, arg1: Int, arg2: Int): Unit
    Definition Classes
    PrintWriter → Writer
  66. def write(arg0: Array[Char]): Unit
    Definition Classes
    PrintWriter → Writer
  67. def write(arg0: Array[Char], arg1: Int, arg2: Int): Unit
    Definition Classes
    PrintWriter → Writer
  68. def write(arg0: Int): Unit
    Definition Classes
    PrintWriter → Writer
  69. def [B](y: B): (ReplStrippingWriter, B)
    Implicit
    This member is added by an implicit conversion from ReplStrippingWriter to ArrowAssoc[ReplStrippingWriter] 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 ReplStrippingWriter to StringFormat[ReplStrippingWriter] 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 StrippingTruncatingWriter

Inherited from TruncatingWriter

Inherited from StrippingWriter

Inherited from PrintWriter

Inherited from Writer

Inherited from Flushable

Inherited from Closeable

Inherited from AutoCloseable

Inherited from Appendable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped