Lines Matching refs:tinst
1269 if (sc.minst && sc.tinst)
1272 if (!sc.tinst.importedModules.contains(imp.mod))
1273 sc.tinst.importedModules.push(imp.mod);
4642 sc.tinst = null;
5758 // Get the enclosing template instance from the scope tinst
5759 tempinst.tinst = sc.tinst;
5766 if (!tempinst.tinst && sc.func && sc.func.inNonRoot())
5902 TemplateInstance ti = tempinst.tinst;
5904 tempinst.tinst = tempinst.inst.tinst;
5906 tempinst.inst.tinst = ti;
6037 _scope.tinst = tempinst;
6107 sc2.tinst = tempinst;
6176 if ((sc.func || (sc.flags & SCOPE.fullinst)) && !tempinst.tinst)
6198 else if (tempinst.tinst)
6245 //printf("[%s] %s doSemantic3 = %d\n", tempinst.tinst.loc.toChars(), tempinst.tinst.toChars(), doSemantic3);
6250 TemplateInstance ti = tempinst.tinst;
6252 while (ti && !ti.deferred && ti.tinst)
6254 ti = ti.tinst;
6303 if (tempinst.tinst)
6304 tempinst.tinst.printInstantiationTrace();
6486 if (ds.parent && global.gag && !ds.isInstantiated() && !ds.toParent2().isFuncDeclaration() && (sc.minst || sc.tinst))