Home
last modified time | relevance | path

Searched refs:getSnapshot (Results 1 – 13 of 13) sorted by relevance

/third_party/typescript/src/testRunner/unittests/tsserver/
Dreload.ts33 const snap1 = projectServiice.getScriptInfo(f1.path)!.getSnapshot();
45 const snap2 = projectServiice.getScriptInfo(f1.path)!.getSnapshot();
105 const snap = info.getSnapshot();
113 assert.strictEqual(info.getSnapshot(), snap);
122 assert.notStrictEqual(info.getSnapshot(), snap);
131 assert.notStrictEqual(info.getSnapshot(), snap);
146 const snap = info.getSnapshot();
DopenFile.ts20 checkSnapLength(scriptInfo.getSnapshot(), f.content.length);
24 checkSnapLength(scriptInfo.getSnapshot(), 0);
DapplyChangesToOpenFiles.ts23 const snap = info.getSnapshot();
DtextStorage.ts58 ts1.getSnapshot();
DversionCache.ts296 assert.equal(checkText, getSnapshotText(svc.getSnapshot()));
Dprojects.ts872 const snap = scriptInfo.getSnapshot();
885 const actualText2 = getSnapshotText(scriptInfo2.getSnapshot());
/third_party/typescript/src/server/
DscriptInfo.ts160 … ? this.svc.getSnapshot().getLength() // Could be wrong if this.pendingReloadFromDisk
161 : this.getSnapshot().getLength(); // Should be strictly correct
164 public getSnapshot(): IScriptSnapshot { method in ts.server.TextStorage
166 ? this.svc!.getSnapshot()
390 public getSnapshot() {
391 return this.textStorage.getSnapshot();
574 this.textStorage.getSnapshot();
579 this.host.writeFile(fileName, getSnapshotText(this.textStorage.getSnapshot()));
DscriptVersionCache.ts279 this.getSnapshot();
283 getSnapshot(): IScriptSnapshot { return this._getSnapshot(); } method in ts.server.ScriptVersionCache
Dsession.ts958 const text = getSnapshotText(scriptInfo.getSnapshot());
1817 …const symbolName = nameSpan ? scriptInfo.getSnapshot().getText(nameSpan.start, textSpanEnd(nameSpa…
2527 …meLocation = getLocationInNewDocument(getSnapshotText(renameScriptInfo.getSnapshot()), renameFilen…
3540 …return scriptInfo.getSnapshot().getText(lineSpan.start, textSpanEnd(lineSpan)).replace(/\r|\n/g, "…
DeditorServices.ts2856 declarationInfo.getSnapshot(); // Ensure synchronized
2861 sourceMapFileInfo.getSnapshot();
2889 const snap = mapInfo.getSnapshot();
Dproject.ts535 return scriptInfo.getSnapshot();
/third_party/typescript/lib/
Dtsserverlibrary.d.ts10435 getSnapshot(): IScriptSnapshot;
/third_party/typescript/tests/baselines/reference/api/
Dtsserverlibrary.d.ts10435 getSnapshot(): IScriptSnapshot;