| Interface | Description |
|---|---|
| BreakBehaviour.Cases<R> | |
| CommentsHelper |
Rewrite comments.
|
| Input.Tok |
A
Tok ("tock") is a token, or a comment, or a newline, or a maximal string of blanks. |
| Input.Token |
A
Token is a language-level token. |
| Op |
An
Op is a member of the sequence of formatting operations emitted by OpsBuilder and transformed by
DocBuilder into a Doc. |
| OpsBuilder.OpsOutput |
| Class | Description |
|---|---|
| BreakBehaviour | |
| Indent | |
| Indent.Const |
A constant function, returning a constant indent.
|
| Indent.If |
A conditional function, whose value depends on whether a break was taken.
|
| Input |
An input to the formatter.
|
| InputOutput | |
| Newlines |
Platform-independent newline handling.
|
| OpenOp |
An
OpenOp opens a level. |
| OpenOp.Builder | |
| OpsBuilder | |
| OpsBuilder.BlankLineWanted |
A request to add or remove a blank line in the output.
|
| Output |
An output from the formatter.
|
| Utils |
| Enum | Description |
|---|---|
| CloseOp |
A
CloseOp closes a level. |
| LastLevelBreakability |
How to decide whether to break the last inner level ("this level") of a parent level with
BreakBehaviour.Cases.preferBreakingLastInnerLevel(boolean). |
| OpenOp.Complexity | |
| PartialInlineability |
What are the conditions for a level to be partially inlineable.
|
| Error | Description |
|---|---|
| FormattingError |
An unchecked formatting error.
|