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

Method newlines

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

Source from the content-addressed store, hash-verified

479 }
480
481 public static String newlines(int n) {
482 return sequence(n, "\n");
483// StringBuilder buf = new StringBuilder();
484// for (int sp=1; sp<=n; sp++) buf.append("\n");
485// return buf.toString();
486 }
487
488 public static String sequence(int n, String s) {
489 StringBuilder buf = new StringBuilder();

Callers 1

processTokenMethod · 0.95

Calls 1

sequenceMethod · 0.95

Tested by

no test coverage detected