MCPcopy Create free account
hub / github.com/antlr/codebuff / createStringTemplateInternally

Method createStringTemplateInternally

output/java/1.4.15/STGroup.java:775–781  ·  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

773 */
774
775 public ST createStringTemplateInternally(CompiledST impl) {
776 ST st = createStringTemplate(impl);
777 if ( trackCreationEvents && st.debugState!=null ) {
778 st.debugState.newSTEvent = null; // toss it out
779 }
780 return st;
781 }
782
783 public ST createStringTemplateInternally(ST proto) {
784 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