Update LKG

This commit is contained in:
Mohamed Hegazy
2017-10-30 20:17:16 -07:00
parent 6bc04a9ab9
commit 477bdc78bb
10 changed files with 21 additions and 21 deletions
+3 -3
View File
@@ -78862,7 +78862,7 @@ var ts;
})(ts || (ts = {}));
var ts;
(function (ts) {
ts.servicesVersion = "0.5";
ts.servicesVersion = "0.6";
var ruleProvider;
function createNode(kind, pos, end, parent) {
var node = ts.isNodeKind(kind) ? new NodeObject(kind, pos, end) :
@@ -80782,11 +80782,11 @@ var ts;
var _this = this;
return this.forwardJSONCall("getCompletionsAtPosition('" + fileName + "', " + position + ")", function () { return _this.languageService.getCompletionsAtPosition(fileName, position); });
};
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options) {
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options, source) {
var _this = this;
return this.forwardJSONCall("getCompletionEntryDetails('" + fileName + "', " + position + ", '" + entryName + "')", function () {
var localOptions = JSON.parse(options);
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions);
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions, source);
});
};
LanguageServiceShimObject.prototype.getFormattingEditsForRange = function (fileName, start, end, options) {
+3 -3
View File
@@ -3915,8 +3915,8 @@ declare namespace ts {
getEncodedSyntacticClassifications(fileName: string, span: TextSpan): Classifications;
getEncodedSemanticClassifications(fileName: string, span: TextSpan): Classifications;
getCompletionsAtPosition(fileName: string, position: number): CompletionInfo;
getCompletionEntryDetails(fileName: string, position: number, name: string, options?: FormatCodeOptions | FormatCodeSettings, source?: string): CompletionEntryDetails;
getCompletionEntrySymbol(fileName: string, position: number, name: string, source?: string): Symbol;
getCompletionEntryDetails(fileName: string, position: number, name: string, options: FormatCodeOptions | FormatCodeSettings | undefined, source: string | undefined): CompletionEntryDetails;
getCompletionEntrySymbol(fileName: string, position: number, name: string, source: string | undefined): Symbol;
getQuickInfoAtPosition(fileName: string, position: number): QuickInfo;
getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan;
getBreakpointStatementAtPosition(fileName: string, position: number): TextSpan;
@@ -4598,7 +4598,7 @@ declare namespace ts {
}
declare namespace ts {
/** The version of the language service API */
const servicesVersion = "0.5";
const servicesVersion = "0.6";
interface DisplayPartsSymbolWriter extends SymbolWriter {
displayParts(): SymbolDisplayPart[];
}
+3 -3
View File
@@ -95135,7 +95135,7 @@ var ts;
var ts;
(function (ts) {
/** The version of the language service API */
ts.servicesVersion = "0.5";
ts.servicesVersion = "0.6";
/* @internal */
var ruleProvider;
function createNode(kind, pos, end, parent) {
@@ -104644,11 +104644,11 @@ var ts;
return this.forwardJSONCall("getCompletionsAtPosition('" + fileName + "', " + position + ")", function () { return _this.languageService.getCompletionsAtPosition(fileName, position); });
};
/** Get a string based representation of a completion list entry details */
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/) {
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/, source) {
var _this = this;
return this.forwardJSONCall("getCompletionEntryDetails('" + fileName + "', " + position + ", '" + entryName + "')", function () {
var localOptions = JSON.parse(options);
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions);
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions, source);
});
};
LanguageServiceShimObject.prototype.getFormattingEditsForRange = function (fileName, start, end, options /*Services.FormatCodeOptions*/) {
+3 -3
View File
@@ -3915,8 +3915,8 @@ declare namespace ts {
getEncodedSyntacticClassifications(fileName: string, span: TextSpan): Classifications;
getEncodedSemanticClassifications(fileName: string, span: TextSpan): Classifications;
getCompletionsAtPosition(fileName: string, position: number): CompletionInfo;
getCompletionEntryDetails(fileName: string, position: number, name: string, options?: FormatCodeOptions | FormatCodeSettings, source?: string): CompletionEntryDetails;
getCompletionEntrySymbol(fileName: string, position: number, name: string, source?: string): Symbol;
getCompletionEntryDetails(fileName: string, position: number, name: string, options: FormatCodeOptions | FormatCodeSettings | undefined, source: string | undefined): CompletionEntryDetails;
getCompletionEntrySymbol(fileName: string, position: number, name: string, source: string | undefined): Symbol;
getQuickInfoAtPosition(fileName: string, position: number): QuickInfo;
getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan;
getBreakpointStatementAtPosition(fileName: string, position: number): TextSpan;
@@ -4598,7 +4598,7 @@ declare namespace ts {
}
declare namespace ts {
/** The version of the language service API */
const servicesVersion = "0.5";
const servicesVersion = "0.6";
interface DisplayPartsSymbolWriter extends SymbolWriter {
displayParts(): SymbolDisplayPart[];
}
+3 -3
View File
@@ -94531,7 +94531,7 @@ var ts;
var ts;
(function (ts) {
/** The version of the language service API */
ts.servicesVersion = "0.5";
ts.servicesVersion = "0.6";
/* @internal */
var ruleProvider;
function createNode(kind, pos, end, parent) {
@@ -97393,11 +97393,11 @@ var ts;
return this.forwardJSONCall("getCompletionsAtPosition('" + fileName + "', " + position + ")", function () { return _this.languageService.getCompletionsAtPosition(fileName, position); });
};
/** Get a string based representation of a completion list entry details */
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/) {
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/, source) {
var _this = this;
return this.forwardJSONCall("getCompletionEntryDetails('" + fileName + "', " + position + ", '" + entryName + "')", function () {
var localOptions = JSON.parse(options);
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions);
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions, source);
});
};
LanguageServiceShimObject.prototype.getFormattingEditsForRange = function (fileName, start, end, options /*Services.FormatCodeOptions*/) {
+3 -3
View File
@@ -3915,8 +3915,8 @@ declare namespace ts {
getEncodedSyntacticClassifications(fileName: string, span: TextSpan): Classifications;
getEncodedSemanticClassifications(fileName: string, span: TextSpan): Classifications;
getCompletionsAtPosition(fileName: string, position: number): CompletionInfo;
getCompletionEntryDetails(fileName: string, position: number, name: string, options?: FormatCodeOptions | FormatCodeSettings, source?: string): CompletionEntryDetails;
getCompletionEntrySymbol(fileName: string, position: number, name: string, source?: string): Symbol;
getCompletionEntryDetails(fileName: string, position: number, name: string, options: FormatCodeOptions | FormatCodeSettings | undefined, source: string | undefined): CompletionEntryDetails;
getCompletionEntrySymbol(fileName: string, position: number, name: string, source: string | undefined): Symbol;
getQuickInfoAtPosition(fileName: string, position: number): QuickInfo;
getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan;
getBreakpointStatementAtPosition(fileName: string, position: number): TextSpan;
@@ -4598,7 +4598,7 @@ declare namespace ts {
}
declare namespace ts {
/** The version of the language service API */
const servicesVersion = "0.5";
const servicesVersion = "0.6";
interface DisplayPartsSymbolWriter extends SymbolWriter {
displayParts(): SymbolDisplayPart[];
}
+3 -3
View File
@@ -94531,7 +94531,7 @@ var ts;
var ts;
(function (ts) {
/** The version of the language service API */
ts.servicesVersion = "0.5";
ts.servicesVersion = "0.6";
/* @internal */
var ruleProvider;
function createNode(kind, pos, end, parent) {
@@ -97393,11 +97393,11 @@ var ts;
return this.forwardJSONCall("getCompletionsAtPosition('" + fileName + "', " + position + ")", function () { return _this.languageService.getCompletionsAtPosition(fileName, position); });
};
/** Get a string based representation of a completion list entry details */
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/) {
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/, source) {
var _this = this;
return this.forwardJSONCall("getCompletionEntryDetails('" + fileName + "', " + position + ", '" + entryName + "')", function () {
var localOptions = JSON.parse(options);
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions);
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions, source);
});
};
LanguageServiceShimObject.prototype.getFormattingEditsForRange = function (fileName, start, end, options /*Services.FormatCodeOptions*/) {