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

Method createStringTemplateInternally

output/java8/1.4.15/STGroup.java:772–778  ·  view source on GitHub ↗

Differentiate so we can avoid having creation events for regions, map operations, and other implicit "new ST" events during rendering.

(CompiledST impl)

Source from the content-addressed store, hash-verified

770 */
771
772 public ST createStringTemplateInternally(CompiledST impl) {
773 ST st = createStringTemplate(impl);
774 if ( trackCreationEvents && st.debugState!=null ) {
775 st.debugState.newSTEvent = null; // toss it out
776 }
777 return st;
778 }
779
780 public ST createStringTemplateInternally(ST proto) {
781 return new ST(proto); // no need to wack debugState; not set in ST(proto).

Callers 5

super_newMethod · 0.45
rot_mapMethod · 0.45
rot_map_iteratorMethod · 0.45
zip_mapMethod · 0.45
setDefaultArgumentsMethod · 0.45

Calls 1

createStringTemplateMethod · 0.45

Tested by

no test coverage detected