Package | Description |
---|---|
com.google.googlejavaformat |
Modifier and Type | Class and Description |
---|---|
class |
CloseOp
A
CloseOp closes a level. |
static class |
Doc.Break
A leaf node in a
Doc for an optional break. |
static class |
Doc.Token
A leaf
Doc for a token. |
class |
OpenOp
An
OpenOp opens a level. |
Modifier and Type | Method and Description |
---|---|
static Op |
CloseOp.make()
Make a
CloseOp , returning a singleton since they are all the same. |
static Op |
OpenOp.make(Indent plusIndent)
Make an ordinary
OpenOp . |
Modifier and Type | Method and Description |
---|---|
ImmutableList<Op> |
OpsBuilder.build()
Build a list of
Op s from the OpsBuilder . |
Modifier and Type | Method and Description |
---|---|
void |
OpsBuilder.addAll(List<Op> ops)
Add a list of
Op s. |
DocBuilder |
DocBuilder.withOps(List<Op> ops)
Add a list of
Op s to the OpsBuilder . |
Copyright © 2015–2017 Google Inc.. All rights reserved.