| Interface | Description |
|---|---|
| DocVisitor<T> | |
| Obs.ExplorationNode |
Within an 'exploration', allows you to descend into child levels.
|
| Obs.FinishExplorationNode | |
| Obs.FinishLevelNode | |
| Obs.Sink |
| Class | Description |
|---|---|
| Break |
A leaf node in a
Doc for an optional break. |
| Break.Builder | |
| BreakTag |
Unique identifier for a break.
|
| Comment |
A leaf node in a
Doc for a non-token. |
| Doc | |
| DocBuilder | |
| HasUniqueId | |
| JsonDocVisitor | |
| Level |
A
Level inside a Doc. |
| LevelDelimitedFlatValueDocVisitor | |
| NonBreakingSpace |
A Leaf node in a
Doc for a non-breaking space. |
| NoopSink | |
| Obs |
These classes exist purely for observing the operation of
Doc.computeBreaks(com.palantir.javaformat.CommentsHelper, int, com.palantir.javaformat.doc.State, com.palantir.javaformat.doc.Obs.ExplorationNode), including all the alternative
hypotheses it has considered and rejected before deciding on the final formatting. |
| State |
State for writing.
|
| State.Builder | |
| Token |
A leaf
Doc for a token. |
| Enum | Description |
|---|---|
| FillMode | |
| Token.RealOrImaginary |
Is a Token a real token, or imaginary (e.g., a token generated incorrectly, or an EOF)?
|