程序包 org.aya.pretty.doc
package org.aya.pretty.doc
-
类说明This class reimplemented Haskell PrettyPrint library's Doc module.Concatenation of two documentsA document that will react on the current cursor position.The empty document; conceptually the unit of 'Cat'Lay out the defaultDoc 'Doc', but when flattened (via 'group'), prefer the preferWhenFlatten.A clickable text line without '\n'.Hard 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 called
Prettiable.Text styles.Make your custom style a subclass of this one.