Differentiate so we can avoid having creation events for regions, map operations, and other implicit "new ST" events during rendering.
(CompiledST impl)
| 759 | */ |
| 760 | |
| 761 | public ST createStringTemplateInternally(CompiledST impl) { |
| 762 | ST st = createStringTemplate(impl); |
| 763 | if ( trackCreationEvents && st.debugState!=null ) { |
| 764 | st.debugState.newSTEvent = null; // toss it out |
| 765 | } |
| 766 | return st; |
| 767 | } |
| 768 | |
| 769 | public ST createStringTemplateInternally(ST proto) { |
| 770 | return new ST(proto); // no need to wack debugState; not set in ST(proto). |
no test coverage detected