Home
last modified time | relevance | path

Searched refs:commentsHelper (Results 1 – 2 of 2) sorted by relevance

/external/google-java-format/core/src/main/java/com/google/googlejavaformat/
DDoc.java182 public abstract State computeBreaks(CommentsHelper commentsHelper, int maxWidth, State state); in computeBreaks() argument
259 public State computeBreaks(CommentsHelper commentsHelper, int maxWidth, State state) { in computeBreaks() argument
267 commentsHelper, maxWidth, new State(state.indent + plusIndent.eval(), state.column)); in computeBreaks()
286 private State computeBroken(CommentsHelper commentsHelper, int maxWidth, State state) { in computeBroken() argument
291 commentsHelper, maxWidth, state, /* optBreakDoc= */ Optional.empty(), splits.get(0)); in computeBroken()
297 commentsHelper, maxWidth, state, Optional.of(breaks.get(i)), splits.get(i + 1)); in computeBroken()
304 CommentsHelper commentsHelper, in computeBreakAndSplit() argument
320 state = computeSplit(commentsHelper, maxWidth, split, state.withMustBreak(false)); in computeBreakAndSplit()
328 CommentsHelper commentsHelper, int maxWidth, List<Doc> docs, State state) { in computeSplit() argument
330 state = doc.computeBreaks(commentsHelper, maxWidth, state); in computeSplit()
[all …]
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaOutput.java51 private final CommentsHelper commentsHelper; // Used to re-flow comments. field in JavaOutput
69 public JavaOutput(String lineSeparator, Input javaInput, CommentsHelper commentsHelper) { in JavaOutput() argument
72 this.commentsHelper = commentsHelper; in JavaOutput()
203 return commentsHelper; in getCommentsHelper()