Skip to content

Commit

Permalink
Update LKG
Browse files Browse the repository at this point in the history
  • Loading branch information
mhegazy committed Sep 19, 2016
1 parent 3a46371 commit 4f65a28
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/tsserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -49453,6 +49453,9 @@ var ts;
function getNonBoundSourceFile(fileName) {
return syntaxTreeCache.getCurrentSourceFile(fileName);
}
function getSourceFile(fileName) {
return getNonBoundSourceFile(fileName);
}
function getNameOrDottedNameSpan(fileName, startPos, endPos) {
var sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);
var node = ts.getTouchingPropertyName(sourceFile, startPos);
Expand Down Expand Up @@ -50273,6 +50276,7 @@ var ts;
isValidBraceCompletionAtPosition: isValidBraceCompletionAtPosition,
getEmitOutput: getEmitOutput,
getNonBoundSourceFile: getNonBoundSourceFile,
getSourceFile: getSourceFile,
getProgram: getProgram
};
}
Expand Down
1 change: 1 addition & 0 deletions lib/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8001,6 +8001,7 @@ declare namespace ts {
getEmitOutput(fileName: string): EmitOutput;
getProgram(): Program;
getNonBoundSourceFile(fileName: string): SourceFile;
getSourceFile(fileName: string): SourceFile;
dispose(): void;
}
interface Classifications {
Expand Down
4 changes: 4 additions & 0 deletions lib/tsserverlibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -49453,6 +49453,9 @@ var ts;
function getNonBoundSourceFile(fileName) {
return syntaxTreeCache.getCurrentSourceFile(fileName);
}
function getSourceFile(fileName) {
return getNonBoundSourceFile(fileName);
}
function getNameOrDottedNameSpan(fileName, startPos, endPos) {
var sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);
var node = ts.getTouchingPropertyName(sourceFile, startPos);
Expand Down Expand Up @@ -50273,6 +50276,7 @@ var ts;
isValidBraceCompletionAtPosition: isValidBraceCompletionAtPosition,
getEmitOutput: getEmitOutput,
getNonBoundSourceFile: getNonBoundSourceFile,
getSourceFile: getSourceFile,
getProgram: getProgram
};
}
Expand Down
4 changes: 4 additions & 0 deletions lib/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -58753,6 +58753,9 @@ var ts;
function getNonBoundSourceFile(fileName) {
return syntaxTreeCache.getCurrentSourceFile(fileName);
}
function getSourceFile(fileName) {
return getNonBoundSourceFile(fileName);
}
function getNameOrDottedNameSpan(fileName, startPos, endPos) {
var sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);
// Get node at the location
Expand Down Expand Up @@ -59761,6 +59764,7 @@ var ts;
isValidBraceCompletionAtPosition: isValidBraceCompletionAtPosition,
getEmitOutput: getEmitOutput,
getNonBoundSourceFile: getNonBoundSourceFile,
getSourceFile: getSourceFile,
getProgram: getProgram
};
}
Expand Down
4 changes: 4 additions & 0 deletions lib/typescriptServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -58753,6 +58753,9 @@ var ts;
function getNonBoundSourceFile(fileName) {
return syntaxTreeCache.getCurrentSourceFile(fileName);
}
function getSourceFile(fileName) {
return getNonBoundSourceFile(fileName);
}
function getNameOrDottedNameSpan(fileName, startPos, endPos) {
var sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);
// Get node at the location
Expand Down Expand Up @@ -59761,6 +59764,7 @@ var ts;
isValidBraceCompletionAtPosition: isValidBraceCompletionAtPosition,
getEmitOutput: getEmitOutput,
getNonBoundSourceFile: getNonBoundSourceFile,
getSourceFile: getSourceFile,
getProgram: getProgram
};
}
Expand Down

0 comments on commit 4f65a28

Please sign in to comment.