Searched refs:getSnapshot (Results 1 – 13 of 13) sorted by relevance
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | reload.ts | 33 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();
|
D | openFile.ts | 20 checkSnapLength(scriptInfo.getSnapshot(), f.content.length); 24 checkSnapLength(scriptInfo.getSnapshot(), 0);
|
D | applyChangesToOpenFiles.ts | 23 const snap = info.getSnapshot();
|
D | textStorage.ts | 58 ts1.getSnapshot();
|
D | versionCache.ts | 296 assert.equal(checkText, getSnapshotText(svc.getSnapshot()));
|
D | projects.ts | 872 const snap = scriptInfo.getSnapshot(); 885 const actualText2 = getSnapshotText(scriptInfo2.getSnapshot());
|
/third_party/typescript/src/server/ |
D | scriptInfo.ts | 160 … ? 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()));
|
D | scriptVersionCache.ts | 279 this.getSnapshot(); 283 getSnapshot(): IScriptSnapshot { return this._getSnapshot(); } method in ts.server.ScriptVersionCache
|
D | session.ts | 958 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, "…
|
D | editorServices.ts | 2856 declarationInfo.getSnapshot(); // Ensure synchronized 2861 sourceMapFileInfo.getSnapshot(); 2889 const snap = mapInfo.getSnapshot();
|
D | project.ts | 535 return scriptInfo.getSnapshot();
|
/third_party/typescript/lib/ |
D | tsserverlibrary.d.ts | 10435 getSnapshot(): IScriptSnapshot;
|
/third_party/typescript/tests/baselines/reference/api/ |
D | tsserverlibrary.d.ts | 10435 getSnapshot(): IScriptSnapshot;
|