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

StrippingTruncatingWriter

abstract class StrippingTruncatingWriter extends JPrintWriter with StrippingWriter with TruncatingWriter

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

Abstract Value Members

  1. abstract def isStripping: Boolean
    Definition Classes
    StrippingWriter
  2. abstract def isTruncating: Boolean
    Definition Classes
    TruncatingWriter
  3. abstract def maxStringLength: Int
    Definition Classes
    TruncatingWriter
  4. abstract def stripImpl(str: String): String
    Definition Classes
    StrippingWriter

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 StrippingTruncatingWriter to any2stringadd[StrippingTruncatingWriter] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (StrippingTruncatingWriter, B)
    Implicit
    This member is added by an implicit conversion from StrippingTruncatingWriter to ArrowAssoc[StrippingTruncatingWriter] 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
  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: (StrippingTruncatingWriter) ⇒ Boolean, msg: ⇒ Any): StrippingTruncatingWriter
    Implicit
    This member is added by an implicit conversion from StrippingTruncatingWriter to Ensuring[StrippingTruncatingWriter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (StrippingTruncatingWriter) ⇒ Boolean): StrippingTruncatingWriter
    Implicit
    This member is added by an implicit conversion from StrippingTruncatingWriter to Ensuring[StrippingTruncatingWriter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): StrippingTruncatingWriter
    Implicit
    This member is added by an implicit conversion from StrippingTruncatingWriter to Ensuring[StrippingTruncatingWriter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): StrippingTruncatingWriter
    Implicit
    This member is added by an implicit conversion from StrippingTruncatingWriter to Ensuring[StrippingTruncatingWriter] 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. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def print(arg0: Any): Unit
    Definition Classes
    PrintWriter
  32. def print(arg0: String): Unit
    Definition Classes
    PrintWriter
  33. def print(arg0: Array[Char]): Unit
    Definition Classes
    PrintWriter
  34. def print(arg0: Double): Unit
    Definition Classes
    PrintWriter
  35. def print(arg0: Float): Unit
    Definition Classes
    PrintWriter
  36. def print(arg0: Long): Unit
    Definition Classes
    PrintWriter
  37. def print(arg0: Int): Unit
    Definition Classes
    PrintWriter
  38. def print(arg0: Char): Unit
    Definition Classes
    PrintWriter
  39. def print(arg0: Boolean): Unit
    Definition Classes
    PrintWriter
  40. def printf(arg0: Locale, arg1: String, arg2: <repeated...>[AnyRef]): PrintWriter
    Definition Classes
    PrintWriter
    Annotations
    @transient()
  41. def printf(arg0: String, arg1: <repeated...>[AnyRef]): PrintWriter
    Definition Classes
    PrintWriter
    Annotations
    @transient()
  42. def println(arg0: Any): Unit
    Definition Classes
    PrintWriter
  43. def println(arg0: String): Unit
    Definition Classes
    PrintWriter
  44. def println(arg0: Array[Char]): Unit
    Definition Classes
    PrintWriter
  45. def println(arg0: Double): Unit
    Definition Classes
    PrintWriter
  46. def println(arg0: Float): Unit
    Definition Classes
    PrintWriter
  47. def println(arg0: Long): Unit
    Definition Classes
    PrintWriter
  48. def println(arg0: Int): Unit
    Definition Classes
    PrintWriter
  49. def println(arg0: Char): Unit
    Definition Classes
    PrintWriter
  50. def println(arg0: Boolean): Unit
    Definition Classes
    PrintWriter
  51. def println(): Unit
    Definition Classes
    PrintWriter
  52. def setError(): Unit
    Attributes
    protected[java.io]
    Definition Classes
    PrintWriter
  53. def strip(str: String): String
    Definition Classes
    StrippingWriter
  54. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  55. def toString(): String
    Definition Classes
    AnyRef → Any
  56. def truncate(str: String): String
    Definition Classes
    TruncatingWriter
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  60. def write(str: String): Unit
    Definition Classes
    StrippingTruncatingWriter → PrintWriter → Writer
  61. def write(arg0: String, arg1: Int, arg2: Int): Unit
    Definition Classes
    PrintWriter → Writer
  62. def write(arg0: Array[Char]): Unit
    Definition Classes
    PrintWriter → Writer
  63. def write(arg0: Array[Char], arg1: Int, arg2: Int): Unit
    Definition Classes
    PrintWriter → Writer
  64. def write(arg0: Int): Unit
    Definition Classes
    PrintWriter → Writer
  65. def [B](y: B): (StrippingTruncatingWriter, B)
    Implicit
    This member is added by an implicit conversion from StrippingTruncatingWriter to ArrowAssoc[StrippingTruncatingWriter] 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 StrippingTruncatingWriter to StringFormat[StrippingTruncatingWriter] 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 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 StrippingTruncatingWriter to any2stringadd[StrippingTruncatingWriter]

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

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

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

Ungrouped