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

Method test3

output/java8/1.4.13/STViz.java:497–505  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

495 }
496
497 public static void test3() throws IOException
498 {
499 String templates = "main() ::= <<\n"+"Foo: <{bar};format=\"lower\">\n"+">>\n";
500 String tmpdir = System.getProperty("java.io.tmpdir");
501 writeFile(tmpdir, "t.stg", templates);
502 STGroup group = new STGroupFile(tmpdir+"/"+"t.stg");
503 ST st = group.getInstanceOf("main");
504 st.inspect();
505 }
506
507 public static void test4() throws IOException
508 {

Callers 1

mainMethod · 0.95

Calls 4

writeFileMethod · 0.95
inspectMethod · 0.95
getPropertyMethod · 0.65
getInstanceOfMethod · 0.45

Tested by

no test coverage detected