sealed trait Doc extends AnyRef

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

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 Doc toany2stringadd[Doc] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Doc, B)
    Implicit
    This member is added by an implicit conversion from Doc toArrowAssoc[Doc] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def <+>(that: Doc): Doc

    Concatenate two documents with a space between them.

  6. def </>(that: Doc): Doc

    Concatenate two documents with a line break between them.

  7. def <>(that: Doc): Doc

    Concatenate two documents.

  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  11. def ensuring(cond: (Doc) => Boolean, msg: => Any): Doc
    Implicit
    This member is added by an implicit conversion from Doc toEnsuring[Doc] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Doc) => Boolean): Doc
    Implicit
    This member is added by an implicit conversion from Doc toEnsuring[Doc] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): Doc
    Implicit
    This member is added by an implicit conversion from Doc toEnsuring[Doc] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Doc
    Implicit
    This member is added by an implicit conversion from Doc toEnsuring[Doc] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def firstChar: Option[Char]
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Doc toStringFormat[Doc] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  20. def group: Doc

    Group a document such that it is displayed on one line if possible.

  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def nest(i: Int): Doc

    Nest a document to i spaces of indentation.

    Nest a document to i spaces of indentation.

    i

    Then number of spaces to indent by.

  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. def render(lineWidth: Int): String

    Turn the document into a string.

    Turn the document into a string.

    lineWidth

    No line in the result string will exceed this length, unless it is unavoidable.

  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    Doc → AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. def writeToFile(file: Path): Unit

    Writes the document to the specified file, replacing the current contents.

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

  2. def [B](y: B): (Doc, B)
    Implicit
    This member is added by an implicit conversion from Doc toArrowAssoc[Doc] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromDoc to any2stringadd[Doc]

Inherited by implicit conversion StringFormat fromDoc to StringFormat[Doc]

Inherited by implicit conversion Ensuring fromDoc to Ensuring[Doc]

Inherited by implicit conversion ArrowAssoc fromDoc to ArrowAssoc[Doc]

Ungrouped