MCPcopy Index your code
hub / github.com/antlr/codebuff / spaces

Method spaces

src/org/antlr/codebuff/Tool.java:474–479  ·  view source on GitHub ↗
(int n)

Source from the content-addressed store, hash-verified

472 }
473
474 public static String spaces(int n) {
475 return sequence(n, " ");
476// StringBuilder buf = new StringBuilder();
477// for (int sp=1; sp<=n; sp++) buf.append(" ");
478// return buf.toString();
479 }
480
481 public static String newlines(int n) {
482 return sequence(n, "\n");

Callers 5

processTokenMethod · 0.95
indentMethod · 0.95
alignMethod · 0.95
expandTabsMethod · 0.95

Calls 1

sequenceMethod · 0.95

Tested by

no test coverage detected