protected ST getEmbeddedInstanceOf( Interpreter interp, ST enclosingInstance, int ip, String name) { if (verbose) System.out.println("getEmbeddedInstanceOf(" + name + ")"); ST st = getInstanceOf(name); if (st == null) { errMgr.runTimeError(interp, enclosingInstance, ip, ErrorType.NO_SUCH_TEMPLATE, name); return createStringTemplateInternally(new CompiledST()); } // this is only called internally. wack any debug ST create events if (trackCreationEvents) { st.debugState.newSTEvent = null; // toss it out } return st; }