Module aya.pretty
Package org.aya.pretty.doc
package org.aya.pretty.doc
-
ClassDescriptionThis class reimplemented Haskell PrettyPrint library's Doc module.Concatenation of two documentsCode block, with special escape settings compared to
Doc.PlainTextA document that will react on the current cursor position.The empty document; conceptually the unit of 'Cat'Already escaped text, which will not be escaped by backend.Lay out the defaultDoc 'Doc', but when flattened (via 'group'), prefer the preferWhenFlatten.A clickable text line without '\n'.Inline code, with special escape settings compared toDoc.PlainTextHard line breakDocument indented by a number of columnsA document that will react on the current nest level.A document that will react on the page width.A plain text line without '\n'.A special symbol that may get rendered in a special wayStyled documentThe first lines of first document should be shorter than the first lines of the second one, so the layout algorithm can pick the one that fits best.Should be calledPrettiable.Text styles.Make your custom style a subclass of this one.