final case class UnionDoc(long: Doc, short: Doc) extends Doc with Product with Serializable
Union document: two variations of the same document.
Note: The long-document's first lines must be longer that the short-document's ones.
- Alphabetic
- By Inheritance
- UnionDoc
- Serializable
- Serializable
- Product
- Equals
- Doc
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
:+:(that: Doc): Doc
Equivalent to
that :: space :: thisEquivalent to
that :: space :: this- Definition Classes
- Doc
- Annotations
- @inline()
-
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()
-
def
:\:(that: Doc): Doc
Equivalent to
that :: softline :: thisEquivalent to
that :: softline :: this- Definition Classes
- Doc
- Annotations
- @inline()
-
def
:\\:(that: Doc): Doc
Equivalent to
that :: softbreak :: thisEquivalent to
that :: softbreak :: this- Definition Classes
- Doc
- Annotations
- @inline()
-
def
:|:(that: Doc): Doc
Equivalent to
that :: line :: thisEquivalent to
that :: line :: this- Definition Classes
- Doc
- Annotations
- @inline()
-
def
:||:(that: Doc): Doc
Equivalent to
that :: linebreak :: thisEquivalent to
that :: linebreak :: this- Definition Classes
- Doc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val flatten: Doc
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val long: Doc
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val short: Doc
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
||(that: Doc): Doc
Equivalent to
align(this :|: that)Equivalent to
align(this :|: that)- Definition Classes
- Doc
- Annotations
- @inline()
Gnieh Tekstlib
Gnieh Tekstlib is a library grouping standard classes and packages allowing people to work with texts and documents.
Package Structure
gnieh.diffdiff manipulation,gnieh.hyphenhyphenation for text in any language,gnieh.stringstrings manipulation for text processing,gnieh.mustachelightweight mustache template engine,gnieh.pppretty printing related classes,gnieh.regexregular expressions manipulation.