Packages

c

gnieh.pp

NestDoc

final case class NestDoc(indent: Int, inner: Doc) extends Doc with Product with Serializable

Nest document: new lines are indented by the given indentation.

Linear Supertypes
Serializable, Serializable, Product, Equals, Doc, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NestDoc
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Doc
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NestDoc(indent: Int, inner: Doc)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def :+:(that: Doc): Doc

    Equivalent to that :: space :: this

    Equivalent to that :: space :: this

    Definition Classes
    Doc
    Annotations
    @inline()
  4. def ::(that: Doc): Doc

    Concatenates two documents.

    Concatenates two documents. Is left associative with gnieh.pp.empty as left and right unit.

    Definition Classes
    Doc
    Annotations
    @inline()
  5. def :\:(that: Doc): Doc

    Equivalent to that :: softline :: this

    Equivalent to that :: softline :: this

    Definition Classes
    Doc
    Annotations
    @inline()
  6. def :\\:(that: Doc): Doc

    Equivalent to that :: softbreak :: this

    Equivalent to that :: softbreak :: this

    Definition Classes
    Doc
    Annotations
    @inline()
  7. def :|:(that: Doc): Doc

    Equivalent to that :: line :: this

    Equivalent to that :: line :: this

    Definition Classes
    Doc
    Annotations
    @inline()
  8. def :||:(that: Doc): Doc

    Equivalent to that :: linebreak :: this

    Equivalent to that :: linebreak :: this

    Definition Classes
    Doc
    Annotations
    @inline()
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. lazy val flatten: NestDoc

    A flatten (no new lines) version of this document

    A flatten (no new lines) version of this document

    Definition Classes
    NestDocDoc
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. val indent: Int
  17. val inner: Doc
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def ||(that: Doc): Doc

    Equivalent to align(this :|: that)

    Equivalent to align(this :|: that)

    Definition Classes
    Doc
    Annotations
    @inline()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Doc

Inherited from AnyRef

Inherited from Any

Ungrouped