MCPcopy Index your code
hub / github.com/Nemo1870/sql-parse / format

Method format

src/main/java/com/sql/parse/util/SqlFormatter.java:22–24  ·  view source on GitHub ↗
(String source)

Source from the content-addressed store, hash-verified

20 static final String initial = "\n ";
21
22 public static String format(String source) {
23 return new FormatProcess(source).perform().trim();
24 }
25
26 static {
27 BEGIN_CLAUSES.add("left");

Callers 15

testParseMethod · 0.95
testInsertWithValueMethod · 0.95
testInsertAddColumnMethod · 0.95
testInsertWithSelectMethod · 0.95
testParseMethod · 0.95

Calls 1

performMethod · 0.80

Tested by 15

testParseMethod · 0.76
testInsertWithValueMethod · 0.76
testInsertAddColumnMethod · 0.76
testInsertWithSelectMethod · 0.76
testParseMethod · 0.76