Home
last modified time | relevance | path

Searched refs:plusIndent (Results 1 – 5 of 5) sorted by relevance

/external/google-java-format/core/src/main/java/com/google/googlejavaformat/
DOpenOp.java26 private final Indent plusIndent; field in OpenOp
28 private OpenOp(Indent plusIndent) { in OpenOp() argument
29 this.plusIndent = plusIndent; in OpenOp()
38 public static Op make(Indent plusIndent) { in make() argument
39 return new OpenOp(plusIndent); in make()
44 builder.open(plusIndent); in add()
49 return MoreObjects.toStringHelper(this).add("plusIndent", plusIndent).toString(); in toString()
DDoc.java189 private final Indent plusIndent; // The extra indent following breaks. field in Doc.Level
192 private Level(Indent plusIndent) { in Level() argument
193 this.plusIndent = plusIndent; in Level()
202 static Level make(Indent plusIndent) { in make() argument
203 return new Level(plusIndent); in make()
267 commentsHelper, maxWidth, new State(state.indent + plusIndent.eval(), state.column)); in computeBreaks()
379 .add("plusIndent", plusIndent) in toString()
560 private final Indent plusIndent; field in Doc.Break
563 private Break(FillMode fillMode, String flat, Indent plusIndent, Optional<BreakTag> optTag) { in Break() argument
566 this.plusIndent = plusIndent; in Break()
[all …]
DOpsBuilder.java258 public final void open(Indent plusIndent) { in open() argument
259 add(OpenOp.make(plusIndent)); in open()
354 public final void breakOp(Indent plusIndent) { in breakOp() argument
355 breakOp(Doc.FillMode.UNIFIED, "", plusIndent); in breakOp()
373 public final void forcedBreak(Indent plusIndent) { in forcedBreak() argument
374 breakOp(Doc.FillMode.FORCED, "", plusIndent); in forcedBreak()
402 public final void breakOp(Doc.FillMode fillMode, String flat, Indent plusIndent) { in breakOp() argument
403 breakOp(fillMode, flat, plusIndent, /* optionalTag= */ Optional.empty()); in breakOp()
415 Doc.FillMode fillMode, String flat, Indent plusIndent, Optional<BreakTag> optionalTag) { in breakOp() argument
416 add(Doc.Break.make(fillMode, flat, plusIndent, optionalTag)); in breakOp()
DDocBuilder.java67 void open(Indent plusIndent) { in open() argument
68 Doc.Level level = Doc.Level.make(plusIndent); in open()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaInputAstVisitor.java2590 List<? extends TypeParameterTree> typeParameters, Indent plusIndent) {
2591 builder.open(plusIndent);
2987 void addTypeArguments(List<? extends Tree> typeArguments, Indent plusIndent) {
2992 builder.open(plusIndent);
3014 void addArguments(List<? extends ExpressionTree> arguments, Indent plusIndent) {
3015 builder.open(plusIndent);