Module com.google.googlejavaformat
Package com.google.googlejavaformat
-
Interface Summary Interface Description CommentsHelper Rewrite comments.Input.Tok ATok("tock") is a token, or a comment, or a newline, or a maximal string of blanks.Input.Token ATokenis a language-level token.Op AnOpis a member of the sequence of formatting operations emitted byOpsBuilderand transformed byDocBuilderinto aDoc. -
Class Summary Class Description Doc Doc.Break A leaf node in aDocfor an optional break.Doc.State State for writing.Doc.Token A leafDocfor a token.DocBuilder FormatterDiagnostic An error that prevented formatting from succeeding.Indent An indent for aDoc.LevelorDoc.Break.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 AnOpenOpopens a level.OpsBuilder OpsBuilder.BlankLineWanted A request to add or remove a blank line in the output.Output An output from the formatter.Output.BreakTag Unique identifier for a break. -
Enum Summary Enum Description CloseOp ACloseOpcloses a level.Doc.FillMode Doc.Token.RealOrImaginary Is a Token a real token, or imaginary (e.g., a token generated incorrectly, or an EOF)? -
Error Summary Error Description FormattingError An unchecked formatting error.