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