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

Method test2

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

Source from the content-addressed store, hash-verified

487 }
488
489 public static void test2() throws IOException
490 { // test rig
491 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";
492 String tmpdir = System.getProperty("java.io.tmpdir");
493 writeFile(tmpdir, "t.stg", templates);
494 STGroup group = new STGroupFile(tmpdir+"/"+"t.stg");
495 ST st = group.getInstanceOf("main");
496 STViz viz = st.inspect();
497 }
498
499 public static void test3() throws IOException
500 {

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