Package | Description |
---|---|
com.google.googlejavaformat |
Modifier and Type | Class and Description |
---|---|
static class |
Indent.Const
A constant function, returning a constant indent.
|
static class |
Indent.If
A conditional function, whose value depends on whether a break was taken.
|
Modifier and Type | Method and Description |
---|---|
void |
OpsBuilder.breakOp(Doc.FillMode fillMode,
java.lang.String flat,
Indent plusIndent)
Emit a generic
Doc.Break . |
void |
OpsBuilder.breakOp(Doc.FillMode fillMode,
java.lang.String flat,
Indent plusIndent,
com.google.common.base.Optional<Output.BreakTag> optionalTag)
Emit a generic
Doc.Break . |
void |
OpsBuilder.breakOp(Indent plusIndent)
Emit a
Doc.Break . |
void |
OpsBuilder.forcedBreak(Indent plusIndent)
Emit a forced
Doc.Break . |
static Doc.Break |
Doc.Break.make(Doc.FillMode fillMode,
java.lang.String flat,
Indent plusIndent)
Make a
Break . |
static Doc.Break |
Doc.Break.make(Doc.FillMode fillMode,
java.lang.String flat,
Indent plusIndent,
com.google.common.base.Optional<Output.BreakTag> optTag)
Make a
Break . |
static Op |
OpenOp.make(Indent plusIndent)
Make an ordinary
OpenOp . |
static Indent.If |
Indent.If.make(Output.BreakTag condition,
Indent thenIndent,
Indent elseIndent) |
void |
OpsBuilder.open(Indent plusIndent)
Open a new level by emitting an
OpenOp . |
void |
OpsBuilder.token(java.lang.String token,
Doc.Token.RealOrImaginary realOrImaginary,
Indent plusIndentCommentsBefore,
com.google.common.base.Optional<Indent> breakAndIndentTrailingComment) |
Modifier and Type | Method and Description |
---|---|
void |
OpsBuilder.token(java.lang.String token,
Doc.Token.RealOrImaginary realOrImaginary,
Indent plusIndentCommentsBefore,
com.google.common.base.Optional<Indent> breakAndIndentTrailingComment) |
Copyright © 2015-2018 Google Inc.. All Rights Reserved.