object Doc

Source
Doc.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Doc
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Cont = (IW) => (TreeCont) => Trampoline[TreeCont]
  2. type Dq = Queue[(Position, OutGroup)]
  3. type Horizontal = Boolean
  4. type IW = (Indent, Width)
  5. type Indent = Int
  6. type Layout = String
  7. type Out = (Remaining) => Trampoline[Layout]
  8. type OutGroup = (Horizontal) => (Out) => Trampoline[Out]
  9. type Position = Int
  10. type Remaining = Int
  11. type TreeCont = (Position, Dq) => Trampoline[Out]
  12. type Width = Int

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final val Empty: Doc
  5. def align(d: Doc): Doc
  6. def append(d1: Doc, d2: Doc): Doc
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def char(c: Char): Doc
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def column(f: (Int) => Doc): Doc
  11. implicit val docMonoid: Monoid[Doc]
  12. def enclose(left: Doc, d: Doc, right: Doc): Doc
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def fillBreak(requestedWidth: Int, d: Doc): Doc

    Append spaces to d until it's requestedSpaces.

    Append spaces to d until it's requestedSpaces. If d is already wide enough, increase nesting and add a line break.

  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def foldDoc(docs: Seq[Doc])(f: (Doc, Doc) => Doc): Doc
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def group(d: Doc): Doc
  20. def hang(d: Doc, i: Indent): Doc
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hsep(docs: List[Doc]): Doc
  23. def indent(i: Indent, d: Doc): Doc
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def leave(cont: TreeCont): TreeCont
  26. def line: Doc
  27. def linebreak: Doc
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def nest(j: Indent, d: Doc): Doc
  30. def nesting(f: (Int) => Doc): Doc
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def output(o: Out, r: Remaining, s: String): Trampoline[String]
  34. def prettyRender(w: Width, doc: Doc): String
  35. def prune(cont1: TreeCont): TreeCont
  36. def scan(lengthOfText: Width, outGroup: OutGroup)(cont: TreeCont): Trampoline[TreeCont]
  37. def softLine: Doc

    Space if the resulting output fits on the line, otherwise it behaves like line.

  38. def space: Doc
  39. def spaces(n: Int): Doc
  40. def string(s: String): Doc
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def text(s: String): Doc
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. def width(d: Doc, f: (Int) => Doc): Doc

Inherited from AnyRef

Inherited from Any

Ungrouped