Differentiate so we can avoid having creation events for regions, map operations, and other implicit "new ST" events during rendering.
(CompiledST impl)
| 771 | */ |
| 772 | |
| 773 | public ST createStringTemplateInternally(CompiledST impl) { |
| 774 | ST st = createStringTemplate(impl); |
| 775 | if ( trackCreationEvents && st.debugState!=null ) { |
| 776 | st.debugState.newSTEvent = null; // toss it out |
| 777 | } |
| 778 | return st; |
| 779 | } |
| 780 | |
| 781 | public ST createStringTemplateInternally(ST proto) { |
| 782 | return new ST(proto); // no need to wack debugState; not set in ST(proto). |
no test coverage detected