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

Method test2

output/java8/1.4.12/STViz.java:487–495  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

485 }
486
487 public static void test2() throws IOException
488 { // test rig
489 String templates = "t1(q1=\"Some\\nText\") ::= <<\n"+"<q1>\n"+">>\n"+"\n"+"t2(p1) ::= <<\n"+"<p1>\n"+">>\n"+"\n"+"main() ::= <<\n"+"START-<t1()>-END\n"+"\n"+"START-<t2(p1=\"Some\\nText\")>-END\n"+">>\n";
490 String tmpdir = System.getProperty("java.io.tmpdir");
491 writeFile(tmpdir, "t.stg", templates);
492 STGroup group = new STGroupFile(tmpdir+"/"+"t.stg");
493 ST st = group.getInstanceOf("main");
494 STViz viz = st.inspect();
495 }
496
497 public static void test3() throws IOException
498 {

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