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

Method getUnMangledTemplateName

output/java8/1.4.17/STGroup.java:490–495  ·  view source on GitHub ↗

Return "t.foo" from "/region__/t__foo"

(String mangledName)

Source from the content-addressed store, hash-verified

488 /** Return {@code "t.foo"} from {@code "/region__/t__foo"} */
489
490 public static String getUnMangledTemplateName(String mangledName) {
491 String t = mangledName.substring("/region__".length(), mangledName.lastIndexOf("__"));
492 String r = mangledName.substring(mangledName.lastIndexOf("__") +2, mangledName.length());
493 return t+
494 '.' +r;
495 }
496
497 /** Define a map for this group.
498 * <p>

Callers 10

toStringMethod · 0.95
rawDefineTemplateMethod · 0.95
toStringMethod · 0.95
rawDefineTemplateMethod · 0.95
toStringMethod · 0.95
rawDefineTemplateMethod · 0.95
toStringMethod · 0.95
rawDefineTemplateMethod · 0.95
toStringMethod · 0.95
rawDefineTemplateMethod · 0.95

Calls 2

lengthMethod · 0.45
lastIndexOfMethod · 0.45

Tested by

no test coverage detected