Differentiate so we can avoid having creation events for regions, map operations, and other implicit "new ST" events during rendering.
(CompiledST impl)
| 749 | */ |
| 750 | |
| 751 | public ST createStringTemplateInternally(CompiledST impl) { |
| 752 | ST st = createStringTemplate(impl); |
| 753 | if ( trackCreationEvents && st.debugState!=null ) { |
| 754 | st.debugState.newSTEvent = null; // toss it out |
| 755 | } |
| 756 | return st; |
| 757 | } |
| 758 | |
| 759 | public ST createStringTemplateInternally(ST proto) { |
| 760 | return new ST(proto); // no need to wack debugState; not set in ST(proto). |
no test coverage detected