From c233039afadfc0bd80730a523ecd022f138bce1c Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 13 Mar 2023 17:08:40 -0700 Subject: [PATCH 1/8] Implement @param completions; it mostly works already --- src/services/completions.ts | 166 +++++++++++++++++++++++++++++++++++- 1 file changed, 164 insertions(+), 2 deletions(-) diff --git a/src/services/completions.ts b/src/services/completions.ts index c8a0e50372f6c..f092e33d75c3e 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -3,6 +3,8 @@ import { addToSeen, append, BinaryExpression, + BindingElement, + BindingPattern, BreakOrContinueStatement, CancellationToken, canUsePropertyAccess, @@ -343,6 +345,7 @@ import { tokenToString, tryCast, tryGetImportFromModuleSpecifier, + tryGetTextOfPropertyName, Type, TypeChecker, TypeElement, @@ -706,10 +709,10 @@ export function getCompletionsAtPosition( return response; case CompletionDataKind.JsDocTagName: // If the current position is a jsDoc tag name, only tag names should be provided for completion - return jsdocCompletionInfo(JsDoc.getJSDocTagNameCompletions()); + return jsdocCompletionInfo(JsDoc.getJSDocTagNameCompletions().concat(getJSDocParameterCompletions(sourceFile, position, preferences, compilerOptions, /*tagNameOnly*/ true))); case CompletionDataKind.JsDocTag: // If the current position is a jsDoc tag, only tags should be provided for completion - return jsdocCompletionInfo(JsDoc.getJSDocTagCompletions()); + return jsdocCompletionInfo(JsDoc.getJSDocTagCompletions().concat(getJSDocParameterCompletions(sourceFile, position, preferences, compilerOptions, /*tagNameOnly*/ false))); case CompletionDataKind.JsDocParameterName: return jsdocCompletionInfo(JsDoc.getJSDocParameterNameCompletions(completionData.tag)); case CompletionDataKind.Keywords: @@ -826,6 +829,165 @@ function jsdocCompletionInfo(entries: CompletionEntry[]): CompletionInfo { return { isGlobalCompletion: false, isMemberCompletion: false, isNewIdentifierLocation: false, entries }; } +// >> TODO: merge that with `getJSDocParameterNameCompletions` function? +function getJSDocParameterCompletions( + sourceFile: SourceFile, + position: number, + preferences: UserPreferences, + options: CompilerOptions, + tagNameOnly: boolean): CompletionEntry[] { + const currentToken = getTokenAtPosition(sourceFile, position); + if (!isJSDocTag(currentToken)) { + return []; + } + const jsDoc = currentToken.parent; + if (!isJSDoc(jsDoc)) { + return []; + } + const func = jsDoc.parent; + if (!isFunctionLike(func)) { + return []; + } + + const isJs = isSourceFileJS(sourceFile); + const isSnippet = preferences.includeCompletionsWithSnippetText || undefined; + const paramTagCount = jsDoc.tags?.filter(tag => isJSDocParameterTag(tag) && tag.getEnd() <= position).length; + return mapDefined(func.parameters, param => { // >> TODO: filter out already-tagged parameters? + if (isIdentifier(param.name)) { // Named parameter + const tabstopCounter = { tabstop: 1 }; + let paramName = param.name.text; + if (param.initializer) { + paramName = getJSDocParamNameWithInitializer(paramName, param.initializer); + } + let snippetText = getJSDocParamAnnotation(paramName, isJs, /*isObject*/ false, /*isSnippet*/ true, tabstopCounter); + let insertText = getJSDocParamAnnotation(paramName, isJs, /*isObject*/ false, /*isSnippet*/ false); + if (tagNameOnly) { // Remove `@` + insertText = insertText.slice(1); + snippetText = snippetText.slice(1); + } + return { + name: insertText, // >> TODO: what should the name be? + kind: ScriptElementKind.parameterElement, + sortText: SortText.LocationPriority, + insertText: isSnippet ? snippetText : undefined, + isSnippet, + }; + } + else if (param.parent.parameters.indexOf(param) === paramTagCount) {// Destructuring parameter; do it positionally + const paramPath = `param${paramTagCount}`; + let insertTextResult = generateJSDocParamTagsForDestructuring(paramPath, param.name, isJs, /*isSnippet*/ false); + let snippetTextResult = generateJSDocParamTagsForDestructuring(paramPath, param.name, isJs, /*isSnippet*/ true); + for (let i = 1; i < insertTextResult.length; i++) { + insertTextResult[i] = `* ${insertTextResult[i]}`; + snippetTextResult[i] = `* ${snippetTextResult[i]}`; + } + let insertText = insertTextResult.join(getNewLineCharacter(options)); + let snippetText = snippetTextResult.join(getNewLineCharacter(options)); + if (tagNameOnly) { // Remove `@` + insertText = insertText.slice(1); + snippetText = snippetText.slice(1); + } + return { + name: insertText, // >> TODO: what should the name be? + kind: ScriptElementKind.parameterElement, + sortText: SortText.LocationPriority, + insertText: isSnippet ? snippetText : undefined, + isSnippet, + }; + } + }); +} + +function generateJSDocParamTagsForDestructuring(path: string, pattern: BindingPattern, isJs: boolean, isSnippet: boolean) { + return patternWorker(path, pattern, { tabstop: 1 }); + + function patternWorker(path: string, pattern: BindingPattern, counter: TabStopCounter, initializer?: Expression): string[] { + const paramName = initializer ? getJSDocParamNameWithInitializer(path, initializer) : path; + if (isObjectBindingPattern(pattern)) { + const oldTabstop = counter.tabstop; + const childCounter = { tabstop: oldTabstop }; + const rootParam = getJSDocParamAnnotation(paramName, isJs, /*isObject*/ true, isSnippet, childCounter); + let childTags: string[] | undefined = []; + for (const element of pattern.elements) { + const elementTags = elementWorker(path, element, childCounter); + if (!elementTags) { + childTags = undefined; + break; + } + else { + childTags = childTags.concat(elementTags); + } + } + if (childTags) { + counter.tabstop = childCounter.tabstop; + return [rootParam].concat(childTags); + } + } + return [getJSDocParamAnnotation(paramName, isJs, /*isObject*/ false, isSnippet, counter)]; + } + + // Assumes binding element is inside object binding pattern. + // We can't really deeply annotate an array binding pattern. + function elementWorker(path: string, element: BindingElement, counter: TabStopCounter): string[] | undefined { + if ((!element.propertyName && isIdentifier(element.name)) || isIdentifier(element.name)) { // `{ b }` or `{ b: newB }` + const propertyName = element.propertyName ? tryGetTextOfPropertyName(element.propertyName) : (element.name as Identifier).text; + if (!propertyName) { + return undefined; + } + let paramName = `${path}.${propertyName}`; + if (element.initializer) { + paramName = getJSDocParamNameWithInitializer(paramName, element.initializer); + } + return [getJSDocParamAnnotation(paramName, isJs, /*isObject*/ false, isSnippet, counter)]; + } + else if (element.propertyName) { // `{ b: {...} }` or `{ b: [...] }` + const propertyName = tryGetTextOfPropertyName(element.propertyName); + return propertyName && patternWorker(`${path}.${propertyName}`, element.name, counter, element.initializer); + } + return undefined; + } +} + +interface TabStopCounter { + tabstop: number; +} + +function getJSDocParamAnnotation(paramName: string, isJs: boolean, isObject: boolean, isSnippet: boolean, tabstopCounter?: TabStopCounter) { + if (isSnippet) { + Debug.assertIsDefined(tabstopCounter); + } + const description = isSnippet ? `\${${tabstopCounter!.tabstop++}}` : ""; + if (isSnippet) { + paramName = escapeSnippetText(paramName); + } + if (isJs) { + let type: string; + if (isObject) { + type = "Object"; + } + else { + if (isSnippet) { + type = `\${${tabstopCounter!.tabstop++}:*}`; + } + else { + type = "*"; + } + } + return `@param {${type}} ${paramName} ${description}`; + } + else { + return `@param ${paramName} ${description}`; + } +} + +function getJSDocParamNameWithInitializer(paramName: string, initializer: Expression): string { + const initializerText = initializer.getText().trim(); + if (initializerText.includes("\n") || initializerText.length > 80) { + return `[${paramName}]`; + } + return `[${paramName}=${initializerText}]`; +} + function keywordToCompletionEntry(keyword: TokenSyntaxKind) { return { name: tokenToString(keyword)!, From 8c1d0b15f4a75bfb805a8e8e1cf28e4fa70672b2 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Tue, 14 Mar 2023 16:16:49 -0700 Subject: [PATCH 2/8] small fixes and add tests --- src/services/completions.ts | 64 +- ...docParameterTagSnippetCompletion1.baseline | 15640 ++++++++++++++++ ...docParameterTagSnippetCompletion2.baseline | 3608 ++++ .../jsdocParameterTagSnippetCompletion1.ts | 103 + .../jsdocParameterTagSnippetCompletion2.ts | 28 + 5 files changed, 19416 insertions(+), 27 deletions(-) create mode 100644 tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline create mode 100644 tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline create mode 100644 tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts create mode 100644 tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts diff --git a/src/services/completions.ts b/src/services/completions.ts index f092e33d75c3e..7ff4b93ecc20e 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -81,6 +81,7 @@ import { getEscapedTextOfIdentifierOrLiteral, getExportInfoMap, getFormatCodeSettingsForWriting, + getJSDocParameterTags, getLanguageVariant, getLeftmostAccessExpression, getLineAndCharacterOfPosition, @@ -829,7 +830,6 @@ function jsdocCompletionInfo(entries: CompletionEntry[]): CompletionInfo { return { isGlobalCompletion: false, isMemberCompletion: false, isNewIdentifierLocation: false, entries }; } -// >> TODO: merge that with `getJSDocParameterNameCompletions` function? function getJSDocParameterCompletions( sourceFile: SourceFile, position: number, @@ -837,10 +837,10 @@ function getJSDocParameterCompletions( options: CompilerOptions, tagNameOnly: boolean): CompletionEntry[] { const currentToken = getTokenAtPosition(sourceFile, position); - if (!isJSDocTag(currentToken)) { + if (!isJSDocTag(currentToken) && !isJSDoc(currentToken)) { return []; } - const jsDoc = currentToken.parent; + const jsDoc = isJSDoc(currentToken) ? currentToken : currentToken.parent; if (!isJSDoc(jsDoc)) { return []; } @@ -852,31 +852,33 @@ function getJSDocParameterCompletions( const isJs = isSourceFileJS(sourceFile); const isSnippet = preferences.includeCompletionsWithSnippetText || undefined; const paramTagCount = jsDoc.tags?.filter(tag => isJSDocParameterTag(tag) && tag.getEnd() <= position).length; - return mapDefined(func.parameters, param => { // >> TODO: filter out already-tagged parameters? + return mapDefined(func.parameters, param => { + if (getJSDocParameterTags(param).length) { + return undefined; // Parameter is already annotated. + } if (isIdentifier(param.name)) { // Named parameter const tabstopCounter = { tabstop: 1 }; - let paramName = param.name.text; - if (param.initializer) { - paramName = getJSDocParamNameWithInitializer(paramName, param.initializer); - } - let snippetText = getJSDocParamAnnotation(paramName, isJs, /*isObject*/ false, /*isSnippet*/ true, tabstopCounter); - let insertText = getJSDocParamAnnotation(paramName, isJs, /*isObject*/ false, /*isSnippet*/ false); + const paramName = param.name.text; + let snippetText = getJSDocParamAnnotation(paramName, param.initializer, isJs, /*isObject*/ false, /*isSnippet*/ true, tabstopCounter); + let insertText = getJSDocParamAnnotation(paramName, param.initializer, isJs, /*isObject*/ false, /*isSnippet*/ false); if (tagNameOnly) { // Remove `@` insertText = insertText.slice(1); snippetText = snippetText.slice(1); } return { - name: insertText, // >> TODO: what should the name be? + name: insertText, kind: ScriptElementKind.parameterElement, sortText: SortText.LocationPriority, insertText: isSnippet ? snippetText : undefined, isSnippet, }; } - else if (param.parent.parameters.indexOf(param) === paramTagCount) {// Destructuring parameter; do it positionally + else if (param.parent.parameters.indexOf(param) === paramTagCount) { // Destructuring parameter; do it positionally const paramPath = `param${paramTagCount}`; - let insertTextResult = generateJSDocParamTagsForDestructuring(paramPath, param.name, isJs, /*isSnippet*/ false); - let snippetTextResult = generateJSDocParamTagsForDestructuring(paramPath, param.name, isJs, /*isSnippet*/ true); + const insertTextResult = + generateJSDocParamTagsForDestructuring(paramPath, param.name, param.initializer, isJs, /*isSnippet*/ false); + const snippetTextResult = + generateJSDocParamTagsForDestructuring(paramPath, param.name, param.initializer, isJs, /*isSnippet*/ true); for (let i = 1; i < insertTextResult.length; i++) { insertTextResult[i] = `* ${insertTextResult[i]}`; snippetTextResult[i] = `* ${snippetTextResult[i]}`; @@ -888,7 +890,7 @@ function getJSDocParameterCompletions( snippetText = snippetText.slice(1); } return { - name: insertText, // >> TODO: what should the name be? + name: insertText, kind: ScriptElementKind.parameterElement, sortText: SortText.LocationPriority, insertText: isSnippet ? snippetText : undefined, @@ -898,15 +900,22 @@ function getJSDocParameterCompletions( }); } -function generateJSDocParamTagsForDestructuring(path: string, pattern: BindingPattern, isJs: boolean, isSnippet: boolean) { +function generateJSDocParamTagsForDestructuring( + path: string, + pattern: BindingPattern, + initializer: Expression | undefined, + isJs: boolean, + isSnippet: boolean): string[] { + if (!isJs) { + return [getJSDocParamAnnotation(path, initializer, isJs, /*isObject*/ false, isSnippet, { tabstop: 1 })]; + } return patternWorker(path, pattern, { tabstop: 1 }); function patternWorker(path: string, pattern: BindingPattern, counter: TabStopCounter, initializer?: Expression): string[] { - const paramName = initializer ? getJSDocParamNameWithInitializer(path, initializer) : path; if (isObjectBindingPattern(pattern)) { const oldTabstop = counter.tabstop; const childCounter = { tabstop: oldTabstop }; - const rootParam = getJSDocParamAnnotation(paramName, isJs, /*isObject*/ true, isSnippet, childCounter); + const rootParam = getJSDocParamAnnotation(path, initializer, isJs, /*isObject*/ true, isSnippet, childCounter); let childTags: string[] | undefined = []; for (const element of pattern.elements) { const elementTags = elementWorker(path, element, childCounter); @@ -923,22 +932,19 @@ function generateJSDocParamTagsForDestructuring(path: string, pattern: BindingPa return [rootParam].concat(childTags); } } - return [getJSDocParamAnnotation(paramName, isJs, /*isObject*/ false, isSnippet, counter)]; + return [getJSDocParamAnnotation(path, initializer, isJs, /*isObject*/ false, isSnippet, counter)]; } // Assumes binding element is inside object binding pattern. // We can't really deeply annotate an array binding pattern. function elementWorker(path: string, element: BindingElement, counter: TabStopCounter): string[] | undefined { if ((!element.propertyName && isIdentifier(element.name)) || isIdentifier(element.name)) { // `{ b }` or `{ b: newB }` - const propertyName = element.propertyName ? tryGetTextOfPropertyName(element.propertyName) : (element.name as Identifier).text; + const propertyName = element.propertyName ? tryGetTextOfPropertyName(element.propertyName) : element.name.text; if (!propertyName) { return undefined; } - let paramName = `${path}.${propertyName}`; - if (element.initializer) { - paramName = getJSDocParamNameWithInitializer(paramName, element.initializer); - } - return [getJSDocParamAnnotation(paramName, isJs, /*isObject*/ false, isSnippet, counter)]; + const paramName = `${path}.${propertyName}`; + return [getJSDocParamAnnotation(paramName, element.initializer, isJs, /*isObject*/ false, isSnippet, counter)]; } else if (element.propertyName) { // `{ b: {...} }` or `{ b: [...] }` const propertyName = tryGetTextOfPropertyName(element.propertyName); @@ -952,11 +958,13 @@ interface TabStopCounter { tabstop: number; } -function getJSDocParamAnnotation(paramName: string, isJs: boolean, isObject: boolean, isSnippet: boolean, tabstopCounter?: TabStopCounter) { +function getJSDocParamAnnotation(paramName: string, initializer: Expression | undefined, isJs: boolean, isObject: boolean, isSnippet: boolean, tabstopCounter?: TabStopCounter) { if (isSnippet) { Debug.assertIsDefined(tabstopCounter); } - const description = isSnippet ? `\${${tabstopCounter!.tabstop++}}` : ""; + if (initializer) { + paramName = getJSDocParamNameWithInitializer(paramName, initializer); + } if (isSnippet) { paramName = escapeSnippetText(paramName); } @@ -973,9 +981,11 @@ function getJSDocParamAnnotation(paramName: string, isJs: boolean, isObject: boo type = "*"; } } + const description = isSnippet ? `\${${tabstopCounter!.tabstop++}}` : ""; return `@param {${type}} ${paramName} ${description}`; } else { + const description = isSnippet ? `\${${tabstopCounter!.tabstop++}}` : ""; return `@param ${paramName} ${description}`; } } diff --git a/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline b/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline new file mode 100644 index 0000000000000..d5fd568c187c1 --- /dev/null +++ b/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline @@ -0,0 +1,15640 @@ +=== /tests/cases/fourslash/b.js === +// /** +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param0 +// | * @param {*} [param0.a=1] +// | param {*} b +// | ---------------------------------------------------------------------- +// */ +// function aa({ a = 1 }, b) { +// a; +// } +// /** +// * +// ^ +// | ---------------------------------------------------------------------- +// | @abstract +// | @access +// | @alias +// | @argument +// | @async +// | @augments +// | @author +// | @borrows +// | @callback +// | @class +// | @classdesc +// | @constant +// | @constructor +// | @constructs +// | @copyright +// | @default +// | @deprecated +// | @description +// | @emits +// | @enum +// | @event +// | @example +// | @exports +// | @extends +// | @external +// | @field +// | @file +// | @fileoverview +// | @fires +// | @function +// | @generator +// | @global +// | @hideconstructor +// | @host +// | @ignore +// | @implements +// | @inheritdoc +// | @inner +// | @instance +// | @interface +// | @kind +// | @lends +// | @license +// | @link +// | @linkcode +// | @linkplain +// | @listens +// | @member +// | @memberof +// | @method +// | @mixes +// | @module +// | @name +// | @namespace +// | @overload +// | @override +// | @package +// | @param +// | @private +// | @prop +// | @property +// | @protected +// | @public +// | @readonly +// | @requires +// | @returns +// | @satisfies +// | @see +// | @since +// | @static +// | @summary +// | @template +// | @this +// | @throws +// | @todo +// | @tutorial +// | @type +// | @typedef +// | @var +// | @variation +// | @version +// | @virtual +// | @yields +// | @param {*} b +// | ---------------------------------------------------------------------- +// */ +// function bb(b) {} +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param0 +// | * @param {Object} [param0.b={ a: 1, c: 3 }] +// | * @param {*} param0.b.a +// | * @param {*} param0.b.c +// | ---------------------------------------------------------------------- +// */ +// function cc({ b: { a, c } = { a: 1, c: 3 } }) { +// } +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param0 +// | * @param {Object} param0.a +// | * @param {*} param0.a.b +// | * @param {*} param0.a.c +// | * @param {*} param0.d +// | ---------------------------------------------------------------------- +// */ +// function dd({ a: { b, c }, d: [e, f] }) { +// } +// const someconst = "aa"; +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {*} param0 +// | ---------------------------------------------------------------------- +// */ +// function ee({ [someconst]: b }) { +// } +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param0 +// | * @param {*} param0.a +// | ---------------------------------------------------------------------- +// */ +// function ff({ "a": b }) { +// } +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {*} a +// | ---------------------------------------------------------------------- +// */ +// function gg(a, { b }) { +// } +// /** +// * +// * @param {boolean} a a's description +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param1 +// | * @param {*} param1.b +// | ---------------------------------------------------------------------- +// */ +// function hh(a, { b }) { + +=== /tests/cases/fourslash/a.ts === +// /** +// * @para +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param value +// | param maximumFractionDigits +// | ---------------------------------------------------------------------- +// */ +// function printValue(value, maximumFractionDigits) {} +// /** +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param param0 +// | param b +// | ---------------------------------------------------------------------- +// */ +// function aa({ a = 1 }, b: string) { +// a; +// } +// /** +// * +// ^ +// | ---------------------------------------------------------------------- +// | @abstract +// | @access +// | @alias +// | @argument +// | @async +// | @augments +// | @author +// | @borrows +// | @callback +// | @class +// | @classdesc +// | @constant +// | @constructor +// | @constructs +// | @copyright +// | @default +// | @deprecated +// | @description +// | @emits +// | @enum +// | @event +// | @example +// | @exports +// | @extends +// | @external +// | @field +// | @file +// | @fileoverview +// | @fires +// | @function +// | @generator +// | @global +// | @hideconstructor +// | @host +// | @ignore +// | @implements +// | @inheritdoc +// | @inner +// | @instance +// | @interface +// | @kind +// | @lends +// | @license +// | @link +// | @linkcode +// | @linkplain +// | @listens +// | @member +// | @memberof +// | @method +// | @mixes +// | @module +// | @name +// | @namespace +// | @overload +// | @override +// | @package +// | @param +// | @private +// | @prop +// | @property +// | @protected +// | @public +// | @readonly +// | @requires +// | @returns +// | @satisfies +// | @see +// | @since +// | @static +// | @summary +// | @template +// | @this +// | @throws +// | @todo +// | @tutorial +// | @type +// | @typedef +// | @var +// | @variation +// | @version +// | @virtual +// | @yields +// | @param b +// | ---------------------------------------------------------------------- +// */ +// function bb(b: string) {} +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param param0 +// | ---------------------------------------------------------------------- +// */ +// function cc({ b: { a, c } = { a: 1, c: 3 } }) { +// } +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param param0 +// | ---------------------------------------------------------------------- +// */ +// function dd({ a: { b, c }, d: [e, f] }: { a: { b: number, c: number }, d: [string, string] }) { +// } + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/a.ts", + "position": 12, + "name": "0" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param value ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param value ", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param maximumFractionDigits ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param maximumFractionDigits ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.ts", + "position": 79, + "name": "a" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param param0 ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param param0 ", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param b ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param b ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.ts", + "position": 136, + "name": "b" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "@abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@param b ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "@param b ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.ts", + "position": 180, + "name": "c" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param param0 ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param param0 ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.ts", + "position": 248, + "name": "d" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param param0 ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param param0 ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 9, + "name": "ja" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param0 \r\n* @param {*} [param0.a=1] ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param0 \r\n* @param {*} [param0.a=1] ", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {*} b ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {*} b ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 58, + "name": "jb" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "@abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@param {*} b ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "@param {*} b ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 94, + "name": "jc" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param0 \r\n* @param {Object} [param0.b={ a: 1, c: 3 }] \r\n* @param {*} param0.b.a \r\n* @param {*} param0.b.c ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param0 \r\n* @param {Object} [param0.b={ a: 1, c: 3 }] \r\n* @param {*} param0.b.a \r\n* @param {*} param0.b.c ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 162, + "name": "jd" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param0 \r\n* @param {Object} param0.a \r\n* @param {*} param0.a.b \r\n* @param {*} param0.a.c \r\n* @param {*} param0.d ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param0 \r\n* @param {Object} param0.a \r\n* @param {*} param0.a.b \r\n* @param {*} param0.a.c \r\n* @param {*} param0.d ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 248, + "name": "je" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {*} param0 ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {*} param0 ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 302, + "name": "jf" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param0 \r\n* @param {*} param0.a ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param0 \r\n* @param {*} param0.a ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 348, + "name": "jg" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {*} a ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {*} a ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 430, + "name": "jh" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param1 \r\n* @param {*} param1.b ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param1 \r\n* @param {*} param1.b ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + } +] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline b/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline new file mode 100644 index 0000000000000..10f9fc8ae954f --- /dev/null +++ b/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline @@ -0,0 +1,3608 @@ +=== /tests/cases/fourslash/b.js === +// /** +// * +// ^ +// | ---------------------------------------------------------------------- +// | @abstract +// | @access +// | @alias +// | @argument +// | @async +// | @augments +// | @author +// | @borrows +// | @callback +// | @class +// | @classdesc +// | @constant +// | @constructor +// | @constructs +// | @copyright +// | @default +// | @deprecated +// | @description +// | @emits +// | @enum +// | @event +// | @example +// | @exports +// | @extends +// | @external +// | @field +// | @file +// | @fileoverview +// | @fires +// | @function +// | @generator +// | @global +// | @hideconstructor +// | @host +// | @ignore +// | @implements +// | @inheritdoc +// | @inner +// | @instance +// | @interface +// | @kind +// | @lends +// | @license +// | @link +// | @linkcode +// | @linkplain +// | @listens +// | @member +// | @memberof +// | @method +// | @mixes +// | @module +// | @name +// | @namespace +// | @overload +// | @override +// | @package +// | @param +// | @private +// | @prop +// | @property +// | @protected +// | @public +// | @readonly +// | @requires +// | @returns +// | @satisfies +// | @see +// | @since +// | @static +// | @summary +// | @template +// | @this +// | @throws +// | @todo +// | @tutorial +// | @type +// | @typedef +// | @var +// | @variation +// | @version +// | @virtual +// | @yields +// | @param {*} b +// | ---------------------------------------------------------------------- +// */ +// function bb(b) {} +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param0 +// | * @param {Object} [param0.b={ a: 1, c: 3 }] +// | * @param {*} param0.b.a +// | * @param {*} param0.b.c +// | ---------------------------------------------------------------------- +// */ +// function cc({ b: { a, c } = { a: 1, c: 3 } }) { +// } + +=== /tests/cases/fourslash/a.ts === +// /** +// * +// ^ +// | ---------------------------------------------------------------------- +// | @abstract +// | @access +// | @alias +// | @argument +// | @async +// | @augments +// | @author +// | @borrows +// | @callback +// | @class +// | @classdesc +// | @constant +// | @constructor +// | @constructs +// | @copyright +// | @default +// | @deprecated +// | @description +// | @emits +// | @enum +// | @event +// | @example +// | @exports +// | @extends +// | @external +// | @field +// | @file +// | @fileoverview +// | @fires +// | @function +// | @generator +// | @global +// | @hideconstructor +// | @host +// | @ignore +// | @implements +// | @inheritdoc +// | @inner +// | @instance +// | @interface +// | @kind +// | @lends +// | @license +// | @link +// | @linkcode +// | @linkplain +// | @listens +// | @member +// | @memberof +// | @method +// | @mixes +// | @module +// | @name +// | @namespace +// | @overload +// | @override +// | @package +// | @param +// | @private +// | @prop +// | @property +// | @protected +// | @public +// | @readonly +// | @requires +// | @returns +// | @satisfies +// | @see +// | @since +// | @static +// | @summary +// | @template +// | @this +// | @throws +// | @todo +// | @tutorial +// | @type +// | @typedef +// | @var +// | @variation +// | @version +// | @virtual +// | @yields +// | @param b +// | ---------------------------------------------------------------------- +// */ +// function bb(b: string) {} + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/a.ts", + "position": 7, + "name": "b" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "@abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@param b ", + "kind": "", + "sortText": "11", + "insertText": "@param b ${1}", + "isSnippet": true, + "kindModifiers": "", + "displayParts": [ + { + "text": "@param b ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 7, + "name": "jb" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "@abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@param {*} b ", + "kind": "", + "sortText": "11", + "insertText": "@param {${1:*}} b ${2}", + "isSnippet": true, + "kindModifiers": "", + "displayParts": [ + { + "text": "@param {*} b ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 43, + "name": "jc" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param0 \r\n* @param {Object} [param0.b={ a: 1, c: 3 }] \r\n* @param {*} param0.b.a \r\n* @param {*} param0.b.c ", + "kind": "", + "sortText": "11", + "insertText": "param {Object} param0 ${1}\r\n* @param {Object} [param0.b={ a: 1, c: 3 }] ${2}\r\n* @param {${3:*}} param0.b.a ${4}\r\n* @param {${5:*}} param0.b.c ${6}", + "isSnippet": true, + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param0 \r\n* @param {Object} [param0.b={ a: 1, c: 3 }] \r\n* @param {*} param0.b.a \r\n* @param {*} param0.b.c ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + } +] \ No newline at end of file diff --git a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts new file mode 100644 index 0000000000000..97ee2b3f04c62 --- /dev/null +++ b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts @@ -0,0 +1,103 @@ +/// + +// @allowJs: true + +// @Filename: a.ts +//// /** +//// * @para/*0*/ +//// */ +//// function printValue(value, maximumFractionDigits) {} + +//// /** +//// * @p/*a*/ +//// */ +//// function aa({ a = 1 }, b: string) { +//// a; +//// } + +//// /** +//// * /*b*/ +//// */ +//// function bb(b: string) {} + +//// /** +//// * +//// * @p/*c*/ +//// */ +//// function cc({ b: { a, c } = { a: 1, c: 3 } }) { + +//// } + +//// /** +//// * +//// * @p/*d*/ +//// */ +//// function dd({ a: { b, c }, d: [e, f] }: { a: { b: number, c: number }, d: [string, string] }) { + +//// } + +// @Filename: b.js +//// /** +//// * @p/*ja*/ +//// */ +//// function aa({ a = 1 }, b) { +//// a; +//// } + +//// /** +//// * /*jb*/ +//// */ +//// function bb(b) {} + + +//// /** +//// * +//// * @p/*jc*/ +//// */ +//// function cc({ b: { a, c } = { a: 1, c: 3 } }) { + +//// } + +//// /** +//// * +//// * @p/*jd*/ +//// */ +//// function dd({ a: { b, c }, d: [e, f] }) { + +//// } + +//// const someconst = "aa"; +//// /** +//// * +//// * @p/*je*/ +//// */ +//// function ee({ [someconst]: b }) { + +//// } + +//// /** +//// * +//// * @p/*jf*/ +//// */ +//// function ff({ "a": b }) { + +//// } + +//// /** +//// * +//// * @p/*jg*/ +//// */ +//// function gg(a, { b }) { + +//// } + +//// /** +//// * +//// * @param {boolean} a a's description +//// * @p/*jh*/ +//// */ +//// function hh(a, { b }) { + +//// } + +verify.baselineCompletions(); \ No newline at end of file diff --git a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts new file mode 100644 index 0000000000000..f17bf6228862b --- /dev/null +++ b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts @@ -0,0 +1,28 @@ +/// + +// @allowJs: true + +// @Filename: a.ts +//// /** +//// * /*b*/ +//// */ +//// function bb(b: string) {} + +// @Filename: b.js +//// /** +//// * /*jb*/ +//// */ +//// function bb(b) {} + + +//// /** +//// * +//// * @p/*jc*/ +//// */ +//// function cc({ b: { a, c } = { a: 1, c: 3 } }) { + +//// } + +verify.baselineCompletions({ + includeCompletionsWithSnippetText: true, +}); \ No newline at end of file From d26d8b7099553278854cd559b1a63bbcd934d78b Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 15 Mar 2023 12:23:13 -0700 Subject: [PATCH 3/8] address CR comments --- src/services/completions.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/services/completions.ts b/src/services/completions.ts index 7ff4b93ecc20e..d820ea41b6176 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -710,10 +710,14 @@ export function getCompletionsAtPosition( return response; case CompletionDataKind.JsDocTagName: // If the current position is a jsDoc tag name, only tag names should be provided for completion - return jsdocCompletionInfo(JsDoc.getJSDocTagNameCompletions().concat(getJSDocParameterCompletions(sourceFile, position, preferences, compilerOptions, /*tagNameOnly*/ true))); + return jsdocCompletionInfo([ + ...JsDoc.getJSDocTagNameCompletions(), + ...getJSDocParameterCompletions(sourceFile, position, preferences, compilerOptions, /*tagNameOnly*/ true)]); case CompletionDataKind.JsDocTag: // If the current position is a jsDoc tag, only tags should be provided for completion - return jsdocCompletionInfo(JsDoc.getJSDocTagCompletions().concat(getJSDocParameterCompletions(sourceFile, position, preferences, compilerOptions, /*tagNameOnly*/ false))); + return jsdocCompletionInfo([ + ...JsDoc.getJSDocTagCompletions(), + ...getJSDocParameterCompletions(sourceFile, position, preferences, compilerOptions, /*tagNameOnly*/ false)]); case CompletionDataKind.JsDocParameterName: return jsdocCompletionInfo(JsDoc.getJSDocParameterNameCompletions(completionData.tag)); case CompletionDataKind.Keywords: @@ -879,12 +883,8 @@ function getJSDocParameterCompletions( generateJSDocParamTagsForDestructuring(paramPath, param.name, param.initializer, isJs, /*isSnippet*/ false); const snippetTextResult = generateJSDocParamTagsForDestructuring(paramPath, param.name, param.initializer, isJs, /*isSnippet*/ true); - for (let i = 1; i < insertTextResult.length; i++) { - insertTextResult[i] = `* ${insertTextResult[i]}`; - snippetTextResult[i] = `* ${snippetTextResult[i]}`; - } - let insertText = insertTextResult.join(getNewLineCharacter(options)); - let snippetText = snippetTextResult.join(getNewLineCharacter(options)); + let insertText = insertTextResult.join(getNewLineCharacter(options) + "* "); + let snippetText = snippetTextResult.join(getNewLineCharacter(options) + "* "); if (tagNameOnly) { // Remove `@` insertText = insertText.slice(1); snippetText = snippetText.slice(1); @@ -924,12 +924,12 @@ function generateJSDocParamTagsForDestructuring( break; } else { - childTags = childTags.concat(elementTags); + childTags.push(...elementTags); } } if (childTags) { counter.tabstop = childCounter.tabstop; - return [rootParam].concat(childTags); + return [rootParam, ...childTags]; } } return [getJSDocParamAnnotation(path, initializer, isJs, /*isObject*/ false, isSnippet, counter)]; From f912d3e2ba15bff8024bf7017ac29ace31a13cf0 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Wed, 15 Mar 2023 15:25:13 -0700 Subject: [PATCH 4/8] Handle dot dot dot --- src/services/completions.ts | 45 +- ...docParameterTagSnippetCompletion1.baseline | 5030 ++++++++++++++--- ...docParameterTagSnippetCompletion2.baseline | 1205 +++- .../jsdocParameterTagSnippetCompletion1.ts | 56 +- .../jsdocParameterTagSnippetCompletion2.ts | 12 +- 5 files changed, 5611 insertions(+), 737 deletions(-) diff --git a/src/services/completions.ts b/src/services/completions.ts index d820ea41b6176..21938d873d922 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -46,6 +46,7 @@ import { Diagnostics, diagnosticToString, displayPart, + DotDotDotToken, EmitHint, EmitTextWriter, EntityName, @@ -863,8 +864,8 @@ function getJSDocParameterCompletions( if (isIdentifier(param.name)) { // Named parameter const tabstopCounter = { tabstop: 1 }; const paramName = param.name.text; - let snippetText = getJSDocParamAnnotation(paramName, param.initializer, isJs, /*isObject*/ false, /*isSnippet*/ true, tabstopCounter); - let insertText = getJSDocParamAnnotation(paramName, param.initializer, isJs, /*isObject*/ false, /*isSnippet*/ false); + let snippetText = getJSDocParamAnnotation(paramName, param.initializer, param.dotDotDotToken, isJs, /*isObject*/ false, /*isSnippet*/ true, tabstopCounter); + let insertText = getJSDocParamAnnotation(paramName, param.initializer, param.dotDotDotToken, isJs, /*isObject*/ false, /*isSnippet*/ false); if (tagNameOnly) { // Remove `@` insertText = insertText.slice(1); snippetText = snippetText.slice(1); @@ -880,9 +881,9 @@ function getJSDocParameterCompletions( else if (param.parent.parameters.indexOf(param) === paramTagCount) { // Destructuring parameter; do it positionally const paramPath = `param${paramTagCount}`; const insertTextResult = - generateJSDocParamTagsForDestructuring(paramPath, param.name, param.initializer, isJs, /*isSnippet*/ false); + generateJSDocParamTagsForDestructuring(paramPath, param.name, param.initializer, param.dotDotDotToken, isJs, /*isSnippet*/ false); const snippetTextResult = - generateJSDocParamTagsForDestructuring(paramPath, param.name, param.initializer, isJs, /*isSnippet*/ true); + generateJSDocParamTagsForDestructuring(paramPath, param.name, param.initializer, param.dotDotDotToken, isJs, /*isSnippet*/ true); let insertText = insertTextResult.join(getNewLineCharacter(options) + "* "); let snippetText = snippetTextResult.join(getNewLineCharacter(options) + "* "); if (tagNameOnly) { // Remove `@` @@ -904,18 +905,24 @@ function generateJSDocParamTagsForDestructuring( path: string, pattern: BindingPattern, initializer: Expression | undefined, + dotDotDotToken: DotDotDotToken | undefined, isJs: boolean, isSnippet: boolean): string[] { if (!isJs) { - return [getJSDocParamAnnotation(path, initializer, isJs, /*isObject*/ false, isSnippet, { tabstop: 1 })]; + return [getJSDocParamAnnotation(path, initializer, dotDotDotToken, isJs, /*isObject*/ false, isSnippet, { tabstop: 1 })]; } - return patternWorker(path, pattern, { tabstop: 1 }); + return patternWorker(path, pattern, initializer, dotDotDotToken, { tabstop: 1 }); - function patternWorker(path: string, pattern: BindingPattern, counter: TabStopCounter, initializer?: Expression): string[] { - if (isObjectBindingPattern(pattern)) { + function patternWorker( + path: string, + pattern: BindingPattern, + initializer: Expression | undefined, + dotDotDotToken: DotDotDotToken | undefined, + counter: TabStopCounter): string[] { + if (isObjectBindingPattern(pattern) && !dotDotDotToken) { const oldTabstop = counter.tabstop; const childCounter = { tabstop: oldTabstop }; - const rootParam = getJSDocParamAnnotation(path, initializer, isJs, /*isObject*/ true, isSnippet, childCounter); + const rootParam = getJSDocParamAnnotation(path, initializer, dotDotDotToken, isJs, /*isObject*/ true, isSnippet, childCounter); let childTags: string[] | undefined = []; for (const element of pattern.elements) { const elementTags = elementWorker(path, element, childCounter); @@ -932,7 +939,7 @@ function generateJSDocParamTagsForDestructuring( return [rootParam, ...childTags]; } } - return [getJSDocParamAnnotation(path, initializer, isJs, /*isObject*/ false, isSnippet, counter)]; + return [getJSDocParamAnnotation(path, initializer, dotDotDotToken, isJs, /*isObject*/ false, isSnippet, counter)]; } // Assumes binding element is inside object binding pattern. @@ -944,11 +951,12 @@ function generateJSDocParamTagsForDestructuring( return undefined; } const paramName = `${path}.${propertyName}`; - return [getJSDocParamAnnotation(paramName, element.initializer, isJs, /*isObject*/ false, isSnippet, counter)]; + return [getJSDocParamAnnotation(paramName, element.initializer, element.dotDotDotToken, isJs, /*isObject*/ false, isSnippet, counter)]; } else if (element.propertyName) { // `{ b: {...} }` or `{ b: [...] }` const propertyName = tryGetTextOfPropertyName(element.propertyName); - return propertyName && patternWorker(`${path}.${propertyName}`, element.name, counter, element.initializer); + return propertyName + && patternWorker(`${path}.${propertyName}`, element.name, element.initializer, element.dotDotDotToken, counter); } return undefined; } @@ -958,7 +966,14 @@ interface TabStopCounter { tabstop: number; } -function getJSDocParamAnnotation(paramName: string, initializer: Expression | undefined, isJs: boolean, isObject: boolean, isSnippet: boolean, tabstopCounter?: TabStopCounter) { +function getJSDocParamAnnotation( + paramName: string, + initializer: Expression | undefined, + dotDotDotToken: DotDotDotToken | undefined, + isJs: boolean, + isObject: boolean, + isSnippet: boolean, + tabstopCounter?: TabStopCounter) { if (isSnippet) { Debug.assertIsDefined(tabstopCounter); } @@ -971,6 +986,7 @@ function getJSDocParamAnnotation(paramName: string, initializer: Expression | un if (isJs) { let type: string; if (isObject) { + Debug.assert(!dotDotDotToken, `Cannot annotate a rest parameter with type 'Object'.`); type = "Object"; } else { @@ -981,8 +997,9 @@ function getJSDocParamAnnotation(paramName: string, initializer: Expression | un type = "*"; } } + const dotDotDot = !isObject && dotDotDotToken ? "..." : ""; const description = isSnippet ? `\${${tabstopCounter!.tabstop++}}` : ""; - return `@param {${type}} ${paramName} ${description}`; + return `@param {${dotDotDot}${type}} ${paramName} ${description}`; } else { const description = isSnippet ? `\${${tabstopCounter!.tabstop++}}` : ""; diff --git a/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline b/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline index d5fd568c187c1..de6130f404bdc 100644 --- a/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline +++ b/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline @@ -94,6 +94,7 @@ // function aa({ a = 1 }, b) { // a; // } +// // /** // * // ^ @@ -185,6 +186,7 @@ // | ---------------------------------------------------------------------- // */ // function bb(b) {} +// // /** // * // * @p @@ -280,7 +282,9 @@ // | ---------------------------------------------------------------------- // */ // function cc({ b: { a, c } = { a: 1, c: 3 } }) { +// // } +// // /** // * // * @p @@ -377,7 +381,9 @@ // | ---------------------------------------------------------------------- // */ // function dd({ a: { b, c }, d: [e, f] }) { +// // } +// // const someconst = "aa"; // /** // * @@ -471,7 +477,9 @@ // | ---------------------------------------------------------------------- // */ // function ee({ [someconst]: b }) { +// // } +// // /** // * // * @p @@ -565,7 +573,9 @@ // | ---------------------------------------------------------------------- // */ // function ff({ "a": b }) { +// // } +// // /** // * // * @p @@ -658,7 +668,9 @@ // | ---------------------------------------------------------------------- // */ // function gg(a, { b }) { +// // } +// // /** // * // * @param {boolean} a a's description @@ -753,11 +765,12 @@ // | ---------------------------------------------------------------------- // */ // function hh(a, { b }) { - -=== /tests/cases/fourslash/a.ts === +// +// } // /** -// * @para -// ^ +// * +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -842,12 +855,16 @@ // | version // | virtual // | yields -// | param value -// | param maximumFractionDigits +// | param {Object} param0 +// | * @param {*} param0.b +// | * @param {...*} param0.c +// | param {...*} a // | ---------------------------------------------------------------------- // */ -// function printValue(value, maximumFractionDigits) {} +// function ii({ b, ...c }, ...a) {} +// // /** +// * // * @p // ^ // | ---------------------------------------------------------------------- @@ -934,108 +951,108 @@ // | version // | virtual // | yields -// | param param0 -// | param b +// | param {...*} param0 // | ---------------------------------------------------------------------- // */ -// function aa({ a = 1 }, b: string) { -// a; -// } +// function jj(...{ length }) {} +// // /** // * -// ^ +// * @p +// ^ // | ---------------------------------------------------------------------- -// | @abstract -// | @access -// | @alias -// | @argument -// | @async -// | @augments -// | @author -// | @borrows -// | @callback -// | @class -// | @classdesc -// | @constant -// | @constructor -// | @constructs -// | @copyright -// | @default -// | @deprecated -// | @description -// | @emits -// | @enum -// | @event -// | @example -// | @exports -// | @extends -// | @external -// | @field -// | @file -// | @fileoverview -// | @fires -// | @function -// | @generator -// | @global -// | @hideconstructor -// | @host -// | @ignore -// | @implements -// | @inheritdoc -// | @inner -// | @instance -// | @interface -// | @kind -// | @lends -// | @license -// | @link -// | @linkcode -// | @linkplain -// | @listens -// | @member -// | @memberof -// | @method -// | @mixes -// | @module -// | @name -// | @namespace -// | @overload -// | @override -// | @package -// | @param -// | @private -// | @prop -// | @property -// | @protected -// | @public -// | @readonly -// | @requires -// | @returns -// | @satisfies -// | @see -// | @since -// | @static -// | @summary -// | @template -// | @this -// | @throws -// | @todo -// | @tutorial -// | @type -// | @typedef -// | @var -// | @variation -// | @version -// | @virtual -// | @yields -// | @param b +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {...*} a // | ---------------------------------------------------------------------- // */ -// function bb(b: string) {} +// function kk(...a) {} + +=== /tests/cases/fourslash/a.ts === // /** -// * -// * @p -// ^ +// * @para +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -1120,13 +1137,13 @@ // | version // | virtual // | yields -// | param param0 +// | param value +// | param maximumFractionDigits // | ---------------------------------------------------------------------- // */ -// function cc({ b: { a, c } = { a: 1, c: 3 } }) { -// } +// function printValue(value, maximumFractionDigits) {} +// // /** -// * // * @p // ^ // | ---------------------------------------------------------------------- @@ -1214,17 +1231,3645 @@ // | virtual // | yields // | param param0 +// | param b // | ---------------------------------------------------------------------- // */ -// function dd({ a: { b, c }, d: [e, f] }: { a: { b: number, c: number }, d: [string, string] }) { +// function aa({ a = 1 }, b: string) { +// a; // } - -[ +// +// /** +// * +// ^ +// | ---------------------------------------------------------------------- +// | @abstract +// | @access +// | @alias +// | @argument +// | @async +// | @augments +// | @author +// | @borrows +// | @callback +// | @class +// | @classdesc +// | @constant +// | @constructor +// | @constructs +// | @copyright +// | @default +// | @deprecated +// | @description +// | @emits +// | @enum +// | @event +// | @example +// | @exports +// | @extends +// | @external +// | @field +// | @file +// | @fileoverview +// | @fires +// | @function +// | @generator +// | @global +// | @hideconstructor +// | @host +// | @ignore +// | @implements +// | @inheritdoc +// | @inner +// | @instance +// | @interface +// | @kind +// | @lends +// | @license +// | @link +// | @linkcode +// | @linkplain +// | @listens +// | @member +// | @memberof +// | @method +// | @mixes +// | @module +// | @name +// | @namespace +// | @overload +// | @override +// | @package +// | @param +// | @private +// | @prop +// | @property +// | @protected +// | @public +// | @readonly +// | @requires +// | @returns +// | @satisfies +// | @see +// | @since +// | @static +// | @summary +// | @template +// | @this +// | @throws +// | @todo +// | @tutorial +// | @type +// | @typedef +// | @var +// | @variation +// | @version +// | @virtual +// | @yields +// | @param b +// | ---------------------------------------------------------------------- +// */ +// function bb(b: string) {} +// +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param param0 +// | ---------------------------------------------------------------------- +// */ +// function cc({ b: { a, c } = { a: 1, c: 3 } }) { +// +// } +// +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param param0 +// | ---------------------------------------------------------------------- +// */ +// function dd({ a: { b, c }, d: [e, f] }: { a: { b: number, c: number }, d: [string, string] }) { +// +// } + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/a.ts", + "position": 12, + "name": "0" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param value ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param value ", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param maximumFractionDigits ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param maximumFractionDigits ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.ts", + "position": 80, + "name": "a" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param param0 ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param param0 ", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param b ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param b ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.ts", + "position": 138, + "name": "b" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "@abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "@yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "@param b ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "@param b ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, { "marker": { "fileName": "/tests/cases/fourslash/a.ts", - "position": 12, - "name": "0" + "position": 183, + "name": "c" }, "item": { "isGlobalCompletion": false, @@ -2311,26 +5956,13 @@ "documentation": [] }, { - "name": "param value ", - "kind": "", - "sortText": "11", - "kindModifiers": "", - "displayParts": [ - { - "text": "param value ", - "kind": "text" - } - ], - "documentation": [] - }, - { - "name": "param maximumFractionDigits ", + "name": "param param0 ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param maximumFractionDigits ", + "text": "param param0 ", "kind": "text" } ], @@ -2342,8 +5974,8 @@ { "marker": { "fileName": "/tests/cases/fourslash/a.ts", - "position": 79, - "name": "a" + "position": 253, + "name": "d" }, "item": { "isGlobalCompletion": false, @@ -3441,28 +7073,15 @@ } ], "documentation": [] - }, - { - "name": "param b ", - "kind": "", - "sortText": "11", - "kindModifiers": "", - "displayParts": [ - { - "text": "param b ", - "kind": "text" - } - ], - "documentation": [] } ] } }, { "marker": { - "fileName": "/tests/cases/fourslash/a.ts", - "position": 136, - "name": "b" + "fileName": "/tests/cases/fourslash/b.js", + "position": 9, + "name": "ja" }, "item": { "isGlobalCompletion": false, @@ -3470,1092 +7089,1105 @@ "isNewIdentifierLocation": false, "entries": [ { - "name": "@abstract", + "name": "abstract", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@abstract", + "text": "abstract", "kind": "text" } ], "documentation": [] }, { - "name": "@access", + "name": "access", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@access", + "text": "access", "kind": "text" } ], "documentation": [] }, { - "name": "@alias", + "name": "alias", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@alias", + "text": "alias", "kind": "text" } ], "documentation": [] }, { - "name": "@argument", + "name": "argument", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@argument", + "text": "argument", "kind": "text" } ], "documentation": [] }, { - "name": "@async", + "name": "async", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@async", + "text": "async", "kind": "text" } ], "documentation": [] }, { - "name": "@augments", + "name": "augments", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@augments", + "text": "augments", "kind": "text" } ], "documentation": [] }, { - "name": "@author", + "name": "author", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@author", + "text": "author", "kind": "text" } ], "documentation": [] }, { - "name": "@borrows", + "name": "borrows", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@borrows", + "text": "borrows", "kind": "text" } ], "documentation": [] }, { - "name": "@callback", + "name": "callback", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@callback", + "text": "callback", "kind": "text" } ], "documentation": [] }, { - "name": "@class", + "name": "class", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@class", + "text": "class", "kind": "text" } ], "documentation": [] }, { - "name": "@classdesc", + "name": "classdesc", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@classdesc", + "text": "classdesc", "kind": "text" } ], "documentation": [] }, { - "name": "@constant", + "name": "constant", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@constant", + "text": "constant", "kind": "text" } ], "documentation": [] }, { - "name": "@constructor", + "name": "constructor", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@constructor", + "text": "constructor", "kind": "text" } ], "documentation": [] }, { - "name": "@constructs", + "name": "constructs", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@constructs", + "text": "constructs", "kind": "text" } ], "documentation": [] }, { - "name": "@copyright", + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@copyright", + "text": "default", "kind": "text" } ], "documentation": [] }, { - "name": "@default", + "name": "deprecated", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@default", + "text": "deprecated", "kind": "text" } ], "documentation": [] }, { - "name": "@deprecated", + "name": "description", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@deprecated", + "text": "description", "kind": "text" } ], "documentation": [] }, { - "name": "@description", + "name": "emits", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@description", + "text": "emits", "kind": "text" } ], "documentation": [] }, { - "name": "@emits", + "name": "enum", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@emits", + "text": "enum", "kind": "text" } ], "documentation": [] }, { - "name": "@enum", + "name": "event", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@enum", + "text": "event", "kind": "text" } ], "documentation": [] }, { - "name": "@event", + "name": "example", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@event", + "text": "example", "kind": "text" } ], "documentation": [] }, { - "name": "@example", + "name": "exports", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@example", + "text": "exports", "kind": "text" } ], "documentation": [] }, { - "name": "@exports", + "name": "extends", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@exports", + "text": "extends", "kind": "text" } ], "documentation": [] }, { - "name": "@extends", + "name": "external", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@extends", + "text": "external", "kind": "text" } ], "documentation": [] }, { - "name": "@external", + "name": "field", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@external", + "text": "field", "kind": "text" } ], "documentation": [] }, { - "name": "@field", + "name": "file", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@field", + "text": "file", "kind": "text" } ], "documentation": [] }, { - "name": "@file", + "name": "fileoverview", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@file", + "text": "fileoverview", "kind": "text" } ], "documentation": [] }, { - "name": "@fileoverview", + "name": "fires", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@fileoverview", + "text": "fires", "kind": "text" } ], "documentation": [] }, { - "name": "@fires", + "name": "function", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@fires", + "text": "function", "kind": "text" } ], "documentation": [] }, { - "name": "@function", + "name": "generator", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@function", + "text": "generator", "kind": "text" } ], "documentation": [] }, { - "name": "@generator", + "name": "global", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@generator", + "text": "global", "kind": "text" } ], "documentation": [] }, { - "name": "@global", + "name": "hideconstructor", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@global", + "text": "hideconstructor", "kind": "text" } ], "documentation": [] }, { - "name": "@hideconstructor", + "name": "host", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@hideconstructor", + "text": "host", "kind": "text" } ], "documentation": [] }, { - "name": "@host", + "name": "ignore", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@host", + "text": "ignore", "kind": "text" } ], "documentation": [] }, { - "name": "@ignore", + "name": "implements", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@ignore", + "text": "implements", "kind": "text" } ], "documentation": [] }, { - "name": "@implements", + "name": "inheritdoc", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@implements", + "text": "inheritdoc", "kind": "text" } ], "documentation": [] }, { - "name": "@inheritdoc", + "name": "inner", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@inheritdoc", + "text": "inner", "kind": "text" } ], "documentation": [] }, { - "name": "@inner", + "name": "instance", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@inner", + "text": "instance", "kind": "text" } ], "documentation": [] }, { - "name": "@instance", + "name": "interface", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@instance", + "text": "interface", "kind": "text" } ], "documentation": [] }, { - "name": "@interface", + "name": "kind", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@interface", + "text": "kind", "kind": "text" } ], "documentation": [] }, { - "name": "@kind", + "name": "lends", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@kind", + "text": "lends", "kind": "text" } ], "documentation": [] }, { - "name": "@lends", + "name": "license", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@lends", + "text": "license", "kind": "text" } ], "documentation": [] }, { - "name": "@license", + "name": "link", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@license", + "text": "link", "kind": "text" } ], "documentation": [] }, { - "name": "@link", + "name": "linkcode", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@link", + "text": "linkcode", "kind": "text" } ], "documentation": [] }, { - "name": "@linkcode", + "name": "linkplain", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@linkcode", + "text": "linkplain", "kind": "text" } ], "documentation": [] }, { - "name": "@linkplain", + "name": "listens", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@linkplain", + "text": "listens", "kind": "text" } ], "documentation": [] }, { - "name": "@listens", + "name": "member", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@listens", + "text": "member", "kind": "text" } ], "documentation": [] }, { - "name": "@member", + "name": "memberof", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@member", + "text": "memberof", "kind": "text" } ], "documentation": [] }, { - "name": "@memberof", + "name": "method", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@memberof", + "text": "method", "kind": "text" } ], "documentation": [] }, { - "name": "@method", + "name": "mixes", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@method", + "text": "mixes", "kind": "text" } ], "documentation": [] }, { - "name": "@mixes", + "name": "module", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@mixes", + "text": "module", "kind": "text" } ], "documentation": [] }, { - "name": "@module", + "name": "name", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@module", + "text": "name", "kind": "text" } ], "documentation": [] }, { - "name": "@name", + "name": "namespace", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@name", + "text": "namespace", "kind": "text" } ], "documentation": [] }, { - "name": "@namespace", + "name": "overload", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@namespace", + "text": "overload", "kind": "text" } ], "documentation": [] }, { - "name": "@overload", + "name": "override", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@overload", + "text": "override", "kind": "text" } ], "documentation": [] }, { - "name": "@override", + "name": "package", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@override", + "text": "package", "kind": "text" } ], "documentation": [] }, { - "name": "@package", + "name": "param", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@package", + "text": "param", "kind": "text" } ], "documentation": [] }, { - "name": "@param", + "name": "private", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@param", + "text": "private", "kind": "text" } ], "documentation": [] }, { - "name": "@private", + "name": "prop", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@private", + "text": "prop", "kind": "text" } ], "documentation": [] }, { - "name": "@prop", + "name": "property", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@prop", + "text": "property", "kind": "text" } ], "documentation": [] }, { - "name": "@property", + "name": "protected", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@property", + "text": "protected", "kind": "text" } ], "documentation": [] }, { - "name": "@protected", + "name": "public", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@protected", + "text": "public", "kind": "text" } ], "documentation": [] }, { - "name": "@public", + "name": "readonly", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@public", + "text": "readonly", "kind": "text" } ], "documentation": [] }, { - "name": "@readonly", + "name": "requires", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@readonly", + "text": "requires", "kind": "text" } ], "documentation": [] }, { - "name": "@requires", + "name": "returns", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@requires", + "text": "returns", "kind": "text" } ], "documentation": [] }, { - "name": "@returns", + "name": "satisfies", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@returns", + "text": "satisfies", "kind": "text" } ], "documentation": [] }, { - "name": "@satisfies", + "name": "see", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@satisfies", + "text": "see", "kind": "text" } ], "documentation": [] }, { - "name": "@see", + "name": "since", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@see", + "text": "since", "kind": "text" } ], "documentation": [] }, { - "name": "@since", + "name": "static", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@since", + "text": "static", "kind": "text" } ], "documentation": [] }, { - "name": "@static", + "name": "summary", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@static", + "text": "summary", "kind": "text" } ], "documentation": [] }, { - "name": "@summary", + "name": "template", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@summary", + "text": "template", "kind": "text" } ], "documentation": [] }, { - "name": "@template", + "name": "this", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@template", + "text": "this", "kind": "text" } ], "documentation": [] }, { - "name": "@this", + "name": "throws", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@this", + "text": "throws", "kind": "text" } ], "documentation": [] }, { - "name": "@throws", + "name": "todo", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@throws", + "text": "todo", "kind": "text" } ], "documentation": [] }, { - "name": "@todo", + "name": "tutorial", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@todo", + "text": "tutorial", "kind": "text" } ], "documentation": [] }, { - "name": "@tutorial", + "name": "type", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@tutorial", + "text": "type", "kind": "text" } ], "documentation": [] }, { - "name": "@type", + "name": "typedef", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@type", + "text": "typedef", "kind": "text" } ], "documentation": [] }, { - "name": "@typedef", + "name": "var", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@typedef", + "text": "var", "kind": "text" } ], "documentation": [] }, { - "name": "@var", + "name": "variation", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@var", + "text": "variation", "kind": "text" } ], "documentation": [] }, { - "name": "@variation", + "name": "version", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@variation", + "text": "version", "kind": "text" } ], "documentation": [] }, { - "name": "@version", + "name": "virtual", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@version", + "text": "virtual", "kind": "text" } ], "documentation": [] }, { - "name": "@virtual", + "name": "yields", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@virtual", + "text": "yields", "kind": "text" } ], "documentation": [] }, { - "name": "@yields", + "name": "param {Object} param0 \r\n* @param {*} [param0.a=1] ", "kind": "", - "kindModifiers": "", "sortText": "11", + "kindModifiers": "", "displayParts": [ { - "text": "@yields", + "text": "param {Object} param0 \r\n* @param {*} [param0.a=1] ", "kind": "text" } ], "documentation": [] }, { - "name": "@param b ", + "name": "param {*} b ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "@param b ", + "text": "param {*} b ", "kind": "text" } ], @@ -4566,9 +8198,9 @@ }, { "marker": { - "fileName": "/tests/cases/fourslash/a.ts", - "position": 180, - "name": "c" + "fileName": "/tests/cases/fourslash/b.js", + "position": 59, + "name": "jb" }, "item": { "isGlobalCompletion": false, @@ -4576,1092 +8208,1092 @@ "isNewIdentifierLocation": false, "entries": [ { - "name": "abstract", + "name": "@abstract", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "abstract", + "text": "@abstract", "kind": "text" } ], "documentation": [] }, { - "name": "access", + "name": "@access", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "access", + "text": "@access", "kind": "text" } ], "documentation": [] }, { - "name": "alias", + "name": "@alias", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "alias", + "text": "@alias", "kind": "text" } ], "documentation": [] }, { - "name": "argument", + "name": "@argument", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "argument", + "text": "@argument", "kind": "text" } ], "documentation": [] }, { - "name": "async", + "name": "@async", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "async", + "text": "@async", "kind": "text" } ], "documentation": [] }, { - "name": "augments", + "name": "@augments", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "augments", + "text": "@augments", "kind": "text" } ], "documentation": [] }, { - "name": "author", + "name": "@author", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "author", + "text": "@author", "kind": "text" } ], "documentation": [] }, { - "name": "borrows", + "name": "@borrows", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "borrows", + "text": "@borrows", "kind": "text" } ], "documentation": [] }, { - "name": "callback", + "name": "@callback", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "callback", + "text": "@callback", "kind": "text" } ], "documentation": [] }, { - "name": "class", + "name": "@class", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "class", + "text": "@class", "kind": "text" } ], "documentation": [] }, { - "name": "classdesc", + "name": "@classdesc", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "classdesc", + "text": "@classdesc", "kind": "text" } ], "documentation": [] }, { - "name": "constant", + "name": "@constant", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "constant", + "text": "@constant", "kind": "text" } ], "documentation": [] }, { - "name": "constructor", + "name": "@constructor", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "constructor", + "text": "@constructor", "kind": "text" } ], "documentation": [] }, { - "name": "constructs", + "name": "@constructs", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "constructs", + "text": "@constructs", "kind": "text" } ], "documentation": [] }, { - "name": "copyright", + "name": "@copyright", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "copyright", + "text": "@copyright", "kind": "text" } ], "documentation": [] }, { - "name": "default", + "name": "@default", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "default", + "text": "@default", "kind": "text" } ], "documentation": [] }, { - "name": "deprecated", + "name": "@deprecated", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "deprecated", + "text": "@deprecated", "kind": "text" } ], "documentation": [] }, { - "name": "description", + "name": "@description", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "description", + "text": "@description", "kind": "text" } ], "documentation": [] }, { - "name": "emits", + "name": "@emits", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "emits", + "text": "@emits", "kind": "text" } ], "documentation": [] }, { - "name": "enum", + "name": "@enum", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "enum", + "text": "@enum", "kind": "text" } ], "documentation": [] }, { - "name": "event", + "name": "@event", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "event", + "text": "@event", "kind": "text" } ], "documentation": [] }, { - "name": "example", + "name": "@example", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "example", + "text": "@example", "kind": "text" } ], "documentation": [] }, { - "name": "exports", + "name": "@exports", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "exports", + "text": "@exports", "kind": "text" } ], "documentation": [] }, { - "name": "extends", + "name": "@extends", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "extends", + "text": "@extends", "kind": "text" } ], "documentation": [] }, { - "name": "external", + "name": "@external", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "external", + "text": "@external", "kind": "text" } ], "documentation": [] }, { - "name": "field", + "name": "@field", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "field", + "text": "@field", "kind": "text" } ], "documentation": [] }, { - "name": "file", + "name": "@file", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "file", + "text": "@file", "kind": "text" } ], "documentation": [] }, { - "name": "fileoverview", + "name": "@fileoverview", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "fileoverview", + "text": "@fileoverview", "kind": "text" } ], "documentation": [] }, { - "name": "fires", + "name": "@fires", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "fires", + "text": "@fires", "kind": "text" } ], "documentation": [] }, { - "name": "function", + "name": "@function", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "function", + "text": "@function", "kind": "text" } ], "documentation": [] }, { - "name": "generator", + "name": "@generator", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "generator", + "text": "@generator", "kind": "text" } ], "documentation": [] }, { - "name": "global", + "name": "@global", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "global", + "text": "@global", "kind": "text" } ], "documentation": [] }, { - "name": "hideconstructor", + "name": "@hideconstructor", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "hideconstructor", + "text": "@hideconstructor", "kind": "text" } ], "documentation": [] }, { - "name": "host", + "name": "@host", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "host", + "text": "@host", "kind": "text" } ], "documentation": [] }, { - "name": "ignore", + "name": "@ignore", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "ignore", + "text": "@ignore", "kind": "text" } ], "documentation": [] }, { - "name": "implements", + "name": "@implements", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "implements", + "text": "@implements", "kind": "text" } ], "documentation": [] }, { - "name": "inheritdoc", + "name": "@inheritdoc", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "inheritdoc", + "text": "@inheritdoc", "kind": "text" } ], "documentation": [] }, { - "name": "inner", + "name": "@inner", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "inner", + "text": "@inner", "kind": "text" } ], "documentation": [] }, { - "name": "instance", + "name": "@instance", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "instance", + "text": "@instance", "kind": "text" } ], "documentation": [] }, { - "name": "interface", + "name": "@interface", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "interface", + "text": "@interface", "kind": "text" } ], "documentation": [] }, { - "name": "kind", + "name": "@kind", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "kind", + "text": "@kind", "kind": "text" } ], "documentation": [] }, { - "name": "lends", + "name": "@lends", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "lends", + "text": "@lends", "kind": "text" } ], "documentation": [] }, { - "name": "license", + "name": "@license", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "license", + "text": "@license", "kind": "text" } ], "documentation": [] }, { - "name": "link", + "name": "@link", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "link", + "text": "@link", "kind": "text" } ], "documentation": [] }, { - "name": "linkcode", + "name": "@linkcode", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "linkcode", + "text": "@linkcode", "kind": "text" } ], "documentation": [] }, { - "name": "linkplain", + "name": "@linkplain", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "linkplain", + "text": "@linkplain", "kind": "text" } ], "documentation": [] }, { - "name": "listens", + "name": "@listens", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "listens", + "text": "@listens", "kind": "text" } ], "documentation": [] }, { - "name": "member", + "name": "@member", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "member", + "text": "@member", "kind": "text" } ], "documentation": [] }, { - "name": "memberof", + "name": "@memberof", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "memberof", + "text": "@memberof", "kind": "text" } ], "documentation": [] }, { - "name": "method", + "name": "@method", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "method", + "text": "@method", "kind": "text" } ], "documentation": [] }, { - "name": "mixes", + "name": "@mixes", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "mixes", + "text": "@mixes", "kind": "text" } ], "documentation": [] }, { - "name": "module", + "name": "@module", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "module", + "text": "@module", "kind": "text" } ], "documentation": [] }, { - "name": "name", + "name": "@name", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "name", + "text": "@name", "kind": "text" } ], "documentation": [] }, { - "name": "namespace", + "name": "@namespace", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "namespace", + "text": "@namespace", "kind": "text" } ], "documentation": [] }, { - "name": "overload", + "name": "@overload", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "overload", + "text": "@overload", "kind": "text" } ], "documentation": [] }, { - "name": "override", + "name": "@override", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "override", + "text": "@override", "kind": "text" } ], "documentation": [] }, { - "name": "package", + "name": "@package", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "package", + "text": "@package", "kind": "text" } ], "documentation": [] }, { - "name": "param", + "name": "@param", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "param", + "text": "@param", "kind": "text" } ], "documentation": [] }, { - "name": "private", + "name": "@private", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "private", + "text": "@private", "kind": "text" } ], "documentation": [] }, { - "name": "prop", + "name": "@prop", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "prop", + "text": "@prop", "kind": "text" } ], "documentation": [] }, { - "name": "property", + "name": "@property", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "property", + "text": "@property", "kind": "text" } ], "documentation": [] }, { - "name": "protected", + "name": "@protected", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "protected", + "text": "@protected", "kind": "text" } ], "documentation": [] }, { - "name": "public", + "name": "@public", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "public", + "text": "@public", "kind": "text" } ], "documentation": [] }, { - "name": "readonly", + "name": "@readonly", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "readonly", + "text": "@readonly", "kind": "text" } ], "documentation": [] }, { - "name": "requires", + "name": "@requires", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "requires", + "text": "@requires", "kind": "text" } ], "documentation": [] }, { - "name": "returns", + "name": "@returns", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "returns", + "text": "@returns", "kind": "text" } ], "documentation": [] }, { - "name": "satisfies", + "name": "@satisfies", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "satisfies", + "text": "@satisfies", "kind": "text" } ], "documentation": [] }, { - "name": "see", + "name": "@see", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "see", + "text": "@see", "kind": "text" } ], "documentation": [] }, { - "name": "since", + "name": "@since", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "since", + "text": "@since", "kind": "text" } ], "documentation": [] }, { - "name": "static", + "name": "@static", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "static", + "text": "@static", "kind": "text" } ], "documentation": [] }, { - "name": "summary", + "name": "@summary", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "summary", + "text": "@summary", "kind": "text" } ], "documentation": [] }, { - "name": "template", + "name": "@template", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "template", + "text": "@template", "kind": "text" } ], "documentation": [] }, { - "name": "this", + "name": "@this", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "this", + "text": "@this", "kind": "text" } ], "documentation": [] }, { - "name": "throws", + "name": "@throws", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "throws", + "text": "@throws", "kind": "text" } ], "documentation": [] }, { - "name": "todo", + "name": "@todo", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "todo", + "text": "@todo", "kind": "text" } ], "documentation": [] }, { - "name": "tutorial", + "name": "@tutorial", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "tutorial", + "text": "@tutorial", "kind": "text" } ], "documentation": [] }, { - "name": "type", + "name": "@type", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "type", + "text": "@type", "kind": "text" } ], "documentation": [] }, { - "name": "typedef", + "name": "@typedef", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "typedef", + "text": "@typedef", "kind": "text" } ], "documentation": [] }, { - "name": "var", + "name": "@var", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "var", + "text": "@var", "kind": "text" } ], "documentation": [] }, { - "name": "variation", + "name": "@variation", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "variation", + "text": "@variation", "kind": "text" } ], "documentation": [] }, { - "name": "version", + "name": "@version", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "version", + "text": "@version", "kind": "text" } ], "documentation": [] }, { - "name": "virtual", + "name": "@virtual", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "virtual", + "text": "@virtual", "kind": "text" } ], "documentation": [] }, { - "name": "yields", + "name": "@yields", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "yields", + "text": "@yields", "kind": "text" } ], "documentation": [] }, { - "name": "param param0 ", + "name": "@param {*} b ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param param0 ", + "text": "@param {*} b ", "kind": "text" } ], @@ -5672,9 +9304,9 @@ }, { "marker": { - "fileName": "/tests/cases/fourslash/a.ts", - "position": 248, - "name": "d" + "fileName": "/tests/cases/fourslash/b.js", + "position": 96, + "name": "jc" }, "item": { "isGlobalCompletion": false, @@ -6761,13 +10393,13 @@ "documentation": [] }, { - "name": "param param0 ", + "name": "param {Object} param0 \r\n* @param {Object} [param0.b={ a: 1, c: 3 }] \r\n* @param {*} param0.b.a \r\n* @param {*} param0.b.c ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param param0 ", + "text": "param {Object} param0 \r\n* @param {Object} [param0.b={ a: 1, c: 3 }] \r\n* @param {*} param0.b.a \r\n* @param {*} param0.b.c ", "kind": "text" } ], @@ -6779,8 +10411,8 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 9, - "name": "ja" + "position": 166, + "name": "jd" }, "item": { "isGlobalCompletion": false, @@ -7867,26 +11499,13 @@ "documentation": [] }, { - "name": "param {Object} param0 \r\n* @param {*} [param0.a=1] ", - "kind": "", - "sortText": "11", - "kindModifiers": "", - "displayParts": [ - { - "text": "param {Object} param0 \r\n* @param {*} [param0.a=1] ", - "kind": "text" - } - ], - "documentation": [] - }, - { - "name": "param {*} b ", + "name": "param {Object} param0 \r\n* @param {Object} param0.a \r\n* @param {*} param0.a.b \r\n* @param {*} param0.a.c \r\n* @param {*} param0.d ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param {*} b ", + "text": "param {Object} param0 \r\n* @param {Object} param0.a \r\n* @param {*} param0.a.b \r\n* @param {*} param0.a.c \r\n* @param {*} param0.d ", "kind": "text" } ], @@ -7898,8 +11517,8 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 58, - "name": "jb" + "position": 254, + "name": "je" }, "item": { "isGlobalCompletion": false, @@ -7907,1092 +11526,1092 @@ "isNewIdentifierLocation": false, "entries": [ { - "name": "@abstract", + "name": "abstract", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@abstract", + "text": "abstract", "kind": "text" } ], "documentation": [] }, { - "name": "@access", + "name": "access", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@access", + "text": "access", "kind": "text" } ], "documentation": [] }, { - "name": "@alias", + "name": "alias", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@alias", + "text": "alias", "kind": "text" } ], "documentation": [] }, { - "name": "@argument", + "name": "argument", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@argument", + "text": "argument", "kind": "text" } ], "documentation": [] }, { - "name": "@async", + "name": "async", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@async", + "text": "async", "kind": "text" } ], "documentation": [] }, { - "name": "@augments", + "name": "augments", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@augments", + "text": "augments", "kind": "text" } ], "documentation": [] }, { - "name": "@author", + "name": "author", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@author", + "text": "author", "kind": "text" } ], "documentation": [] }, { - "name": "@borrows", + "name": "borrows", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@borrows", + "text": "borrows", "kind": "text" } ], "documentation": [] }, { - "name": "@callback", + "name": "callback", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@callback", + "text": "callback", "kind": "text" } ], "documentation": [] }, { - "name": "@class", + "name": "class", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@class", + "text": "class", "kind": "text" } ], "documentation": [] }, { - "name": "@classdesc", + "name": "classdesc", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@classdesc", + "text": "classdesc", "kind": "text" } ], "documentation": [] }, { - "name": "@constant", + "name": "constant", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@constant", + "text": "constant", "kind": "text" } ], "documentation": [] }, { - "name": "@constructor", + "name": "constructor", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@constructor", + "text": "constructor", "kind": "text" } ], "documentation": [] }, { - "name": "@constructs", + "name": "constructs", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@constructs", + "text": "constructs", "kind": "text" } ], "documentation": [] }, { - "name": "@copyright", + "name": "copyright", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@copyright", + "text": "copyright", "kind": "text" } ], "documentation": [] }, { - "name": "@default", + "name": "default", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@default", + "text": "default", "kind": "text" } ], "documentation": [] }, { - "name": "@deprecated", + "name": "deprecated", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@deprecated", + "text": "deprecated", "kind": "text" } ], "documentation": [] }, { - "name": "@description", + "name": "description", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@description", + "text": "description", "kind": "text" } ], "documentation": [] }, { - "name": "@emits", + "name": "emits", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@emits", + "text": "emits", "kind": "text" } ], "documentation": [] }, { - "name": "@enum", + "name": "enum", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@enum", + "text": "enum", "kind": "text" } ], "documentation": [] }, { - "name": "@event", + "name": "event", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@event", + "text": "event", "kind": "text" } ], "documentation": [] }, { - "name": "@example", + "name": "example", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@example", + "text": "example", "kind": "text" } ], "documentation": [] }, { - "name": "@exports", + "name": "exports", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@exports", + "text": "exports", "kind": "text" } ], "documentation": [] }, { - "name": "@extends", + "name": "extends", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@extends", + "text": "extends", "kind": "text" } ], "documentation": [] }, { - "name": "@external", + "name": "external", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@external", + "text": "external", "kind": "text" } ], "documentation": [] }, { - "name": "@field", + "name": "field", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@field", + "text": "field", "kind": "text" } ], "documentation": [] }, { - "name": "@file", + "name": "file", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@file", + "text": "file", "kind": "text" } ], "documentation": [] }, { - "name": "@fileoverview", + "name": "fileoverview", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@fileoverview", + "text": "fileoverview", "kind": "text" } ], "documentation": [] }, { - "name": "@fires", + "name": "fires", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@fires", + "text": "fires", "kind": "text" } ], "documentation": [] }, { - "name": "@function", + "name": "function", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@function", + "text": "function", "kind": "text" } ], "documentation": [] }, { - "name": "@generator", + "name": "generator", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@generator", + "text": "generator", "kind": "text" } ], "documentation": [] }, { - "name": "@global", + "name": "global", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@global", + "text": "global", "kind": "text" } ], "documentation": [] }, { - "name": "@hideconstructor", + "name": "hideconstructor", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@hideconstructor", + "text": "hideconstructor", "kind": "text" } ], "documentation": [] }, { - "name": "@host", + "name": "host", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@host", + "text": "host", "kind": "text" } ], "documentation": [] }, { - "name": "@ignore", + "name": "ignore", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@ignore", + "text": "ignore", "kind": "text" } ], "documentation": [] }, { - "name": "@implements", + "name": "implements", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@implements", + "text": "implements", "kind": "text" } ], "documentation": [] }, { - "name": "@inheritdoc", + "name": "inheritdoc", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@inheritdoc", + "text": "inheritdoc", "kind": "text" } ], "documentation": [] }, { - "name": "@inner", + "name": "inner", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@inner", + "text": "inner", "kind": "text" } ], "documentation": [] }, { - "name": "@instance", + "name": "instance", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@instance", + "text": "instance", "kind": "text" } ], "documentation": [] }, { - "name": "@interface", + "name": "interface", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@interface", + "text": "interface", "kind": "text" } ], "documentation": [] }, { - "name": "@kind", + "name": "kind", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@kind", + "text": "kind", "kind": "text" } ], "documentation": [] }, { - "name": "@lends", + "name": "lends", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@lends", + "text": "lends", "kind": "text" } ], "documentation": [] }, { - "name": "@license", + "name": "license", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@license", + "text": "license", "kind": "text" } ], "documentation": [] }, { - "name": "@link", + "name": "link", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@link", + "text": "link", "kind": "text" } ], "documentation": [] }, { - "name": "@linkcode", + "name": "linkcode", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@linkcode", + "text": "linkcode", "kind": "text" } ], "documentation": [] }, { - "name": "@linkplain", + "name": "linkplain", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@linkplain", + "text": "linkplain", "kind": "text" } ], "documentation": [] }, { - "name": "@listens", + "name": "listens", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@listens", + "text": "listens", "kind": "text" } ], "documentation": [] }, { - "name": "@member", + "name": "member", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@member", + "text": "member", "kind": "text" } ], "documentation": [] }, { - "name": "@memberof", + "name": "memberof", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@memberof", + "text": "memberof", "kind": "text" } ], "documentation": [] }, { - "name": "@method", + "name": "method", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@method", + "text": "method", "kind": "text" } ], "documentation": [] }, { - "name": "@mixes", + "name": "mixes", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@mixes", + "text": "mixes", "kind": "text" } ], "documentation": [] }, { - "name": "@module", + "name": "module", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@module", + "text": "module", "kind": "text" } ], "documentation": [] }, { - "name": "@name", + "name": "name", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@name", + "text": "name", "kind": "text" } ], "documentation": [] }, { - "name": "@namespace", + "name": "namespace", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@namespace", + "text": "namespace", "kind": "text" } ], "documentation": [] }, { - "name": "@overload", + "name": "overload", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@overload", + "text": "overload", "kind": "text" } ], "documentation": [] }, { - "name": "@override", + "name": "override", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@override", + "text": "override", "kind": "text" } ], "documentation": [] }, { - "name": "@package", + "name": "package", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@package", + "text": "package", "kind": "text" } ], "documentation": [] }, { - "name": "@param", + "name": "param", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@param", + "text": "param", "kind": "text" } ], "documentation": [] }, { - "name": "@private", + "name": "private", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@private", + "text": "private", "kind": "text" } ], "documentation": [] }, { - "name": "@prop", + "name": "prop", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@prop", + "text": "prop", "kind": "text" } ], "documentation": [] }, { - "name": "@property", + "name": "property", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@property", + "text": "property", "kind": "text" } ], "documentation": [] }, { - "name": "@protected", + "name": "protected", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@protected", + "text": "protected", "kind": "text" } ], "documentation": [] }, { - "name": "@public", + "name": "public", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@public", + "text": "public", "kind": "text" } ], "documentation": [] }, { - "name": "@readonly", + "name": "readonly", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@readonly", + "text": "readonly", "kind": "text" } ], "documentation": [] }, { - "name": "@requires", + "name": "requires", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@requires", + "text": "requires", "kind": "text" } ], "documentation": [] }, { - "name": "@returns", + "name": "returns", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@returns", + "text": "returns", "kind": "text" } ], "documentation": [] }, { - "name": "@satisfies", + "name": "satisfies", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@satisfies", + "text": "satisfies", "kind": "text" } ], "documentation": [] }, { - "name": "@see", + "name": "see", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@see", + "text": "see", "kind": "text" } ], "documentation": [] }, { - "name": "@since", + "name": "since", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@since", + "text": "since", "kind": "text" } ], "documentation": [] }, { - "name": "@static", + "name": "static", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@static", + "text": "static", "kind": "text" } ], "documentation": [] }, { - "name": "@summary", + "name": "summary", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@summary", + "text": "summary", "kind": "text" } ], "documentation": [] }, { - "name": "@template", + "name": "template", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@template", + "text": "template", "kind": "text" } ], "documentation": [] }, { - "name": "@this", + "name": "this", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@this", + "text": "this", "kind": "text" } ], "documentation": [] }, { - "name": "@throws", + "name": "throws", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@throws", + "text": "throws", "kind": "text" } ], "documentation": [] }, { - "name": "@todo", + "name": "todo", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@todo", + "text": "todo", "kind": "text" } ], "documentation": [] }, { - "name": "@tutorial", + "name": "tutorial", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@tutorial", + "text": "tutorial", "kind": "text" } ], "documentation": [] }, { - "name": "@type", + "name": "type", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@type", + "text": "type", "kind": "text" } ], "documentation": [] }, { - "name": "@typedef", + "name": "typedef", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@typedef", + "text": "typedef", "kind": "text" } ], "documentation": [] }, { - "name": "@var", + "name": "var", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@var", + "text": "var", "kind": "text" } ], "documentation": [] }, { - "name": "@variation", + "name": "variation", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@variation", + "text": "variation", "kind": "text" } ], "documentation": [] }, { - "name": "@version", + "name": "version", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@version", + "text": "version", "kind": "text" } ], "documentation": [] }, { - "name": "@virtual", + "name": "virtual", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@virtual", + "text": "virtual", "kind": "text" } ], "documentation": [] }, { - "name": "@yields", + "name": "yields", "kind": "", "kindModifiers": "", "sortText": "11", "displayParts": [ { - "text": "@yields", + "text": "yields", "kind": "text" } ], "documentation": [] }, { - "name": "@param {*} b ", + "name": "param {*} param0 ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "@param {*} b ", + "text": "param {*} param0 ", "kind": "text" } ], @@ -9004,8 +12623,8 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 94, - "name": "jc" + "position": 310, + "name": "jf" }, "item": { "isGlobalCompletion": false, @@ -10092,13 +13711,13 @@ "documentation": [] }, { - "name": "param {Object} param0 \r\n* @param {Object} [param0.b={ a: 1, c: 3 }] \r\n* @param {*} param0.b.a \r\n* @param {*} param0.b.c ", + "name": "param {Object} param0 \r\n* @param {*} param0.a ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param {Object} param0 \r\n* @param {Object} [param0.b={ a: 1, c: 3 }] \r\n* @param {*} param0.b.a \r\n* @param {*} param0.b.c ", + "text": "param {Object} param0 \r\n* @param {*} param0.a ", "kind": "text" } ], @@ -10110,8 +13729,8 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 162, - "name": "jd" + "position": 358, + "name": "jg" }, "item": { "isGlobalCompletion": false, @@ -11198,13 +14817,13 @@ "documentation": [] }, { - "name": "param {Object} param0 \r\n* @param {Object} param0.a \r\n* @param {*} param0.a.b \r\n* @param {*} param0.a.c \r\n* @param {*} param0.d ", + "name": "param {*} a ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param {Object} param0 \r\n* @param {Object} param0.a \r\n* @param {*} param0.a.b \r\n* @param {*} param0.a.c \r\n* @param {*} param0.d ", + "text": "param {*} a ", "kind": "text" } ], @@ -11216,8 +14835,8 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 248, - "name": "je" + "position": 442, + "name": "jh" }, "item": { "isGlobalCompletion": false, @@ -12304,13 +15923,13 @@ "documentation": [] }, { - "name": "param {*} param0 ", + "name": "param {Object} param1 \r\n* @param {*} param1.b ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param {*} param0 ", + "text": "param {Object} param1 \r\n* @param {*} param1.b ", "kind": "text" } ], @@ -12322,8 +15941,8 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 302, - "name": "jf" + "position": 490, + "name": "ji" }, "item": { "isGlobalCompletion": false, @@ -13410,13 +17029,26 @@ "documentation": [] }, { - "name": "param {Object} param0 \r\n* @param {*} param0.a ", + "name": "param {Object} param0 \r\n* @param {*} param0.b \r\n* @param {...*} param0.c ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param {Object} param0 \r\n* @param {*} param0.a ", + "text": "param {Object} param0 \r\n* @param {*} param0.b \r\n* @param {...*} param0.c ", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {...*} a ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {...*} a ", "kind": "text" } ], @@ -13428,8 +17060,8 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 348, - "name": "jg" + "position": 543, + "name": "jj" }, "item": { "isGlobalCompletion": false, @@ -14516,13 +18148,13 @@ "documentation": [] }, { - "name": "param {*} a ", + "name": "param {...*} param0 ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param {*} a ", + "text": "param {...*} param0 ", "kind": "text" } ], @@ -14534,8 +18166,8 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 430, - "name": "jh" + "position": 592, + "name": "jk" }, "item": { "isGlobalCompletion": false, @@ -15622,13 +19254,13 @@ "documentation": [] }, { - "name": "param {Object} param1 \r\n* @param {*} param1.b ", + "name": "param {...*} a ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param {Object} param1 \r\n* @param {*} param1.b ", + "text": "param {...*} a ", "kind": "text" } ], diff --git a/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline b/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline index 10f9fc8ae954f..359ed99ebbeb5 100644 --- a/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline +++ b/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline @@ -90,6 +90,7 @@ // | ---------------------------------------------------------------------- // */ // function bb(b) {} +// // /** // * // * @p @@ -185,7 +186,101 @@ // | ---------------------------------------------------------------------- // */ // function cc({ b: { a, c } = { a: 1, c: 3 } }) { +// // } +// +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {...*} a +// | ---------------------------------------------------------------------- +// */ +// function dd(...a) {} === /tests/cases/fourslash/a.ts === // /** @@ -2500,7 +2595,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 43, + "position": 44, "name": "jc" }, "item": { @@ -3604,5 +3699,1113 @@ } ] } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 114, + "name": "jd" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {...*} a ", + "kind": "", + "sortText": "11", + "insertText": "param {...${1:*}} a ${2}", + "isSnippet": true, + "kindModifiers": "", + "displayParts": [ + { + "text": "param {...*} a ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } } ] \ No newline at end of file diff --git a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts index 97ee2b3f04c62..d003ff1be97a3 100644 --- a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts +++ b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts @@ -7,33 +7,33 @@ //// * @para/*0*/ //// */ //// function printValue(value, maximumFractionDigits) {} - +//// //// /** //// * @p/*a*/ //// */ //// function aa({ a = 1 }, b: string) { //// a; //// } - +//// //// /** //// * /*b*/ //// */ //// function bb(b: string) {} - +//// //// /** //// * //// * @p/*c*/ //// */ //// function cc({ b: { a, c } = { a: 1, c: 3 } }) { - +//// //// } - +//// //// /** //// * //// * @p/*d*/ //// */ //// function dd({ a: { b, c }, d: [e, f] }: { a: { b: number, c: number }, d: [string, string] }) { - +//// //// } // @Filename: b.js @@ -43,61 +43,77 @@ //// function aa({ a = 1 }, b) { //// a; //// } - +//// //// /** //// * /*jb*/ //// */ //// function bb(b) {} - - +//// //// /** //// * //// * @p/*jc*/ //// */ //// function cc({ b: { a, c } = { a: 1, c: 3 } }) { - +//// //// } - +//// //// /** //// * //// * @p/*jd*/ //// */ //// function dd({ a: { b, c }, d: [e, f] }) { - +//// //// } - +//// //// const someconst = "aa"; //// /** //// * //// * @p/*je*/ //// */ //// function ee({ [someconst]: b }) { - +//// //// } - +//// //// /** //// * //// * @p/*jf*/ //// */ //// function ff({ "a": b }) { - +//// //// } - +//// //// /** //// * //// * @p/*jg*/ //// */ //// function gg(a, { b }) { - +//// //// } - +//// //// /** //// * //// * @param {boolean} a a's description //// * @p/*jh*/ //// */ //// function hh(a, { b }) { - +//// //// } +//// /** +//// * +//// * @p/*ji*/ +//// */ +//// function ii({ b, ...c }, ...a) {} +//// +//// /** +//// * +//// * @p/*jj*/ +//// */ +//// function jj(...{ length }) {} +//// +//// /** +//// * +//// * @p/*jk*/ +//// */ +//// function kk(...a) {} verify.baselineCompletions(); \ No newline at end of file diff --git a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts index f17bf6228862b..645693ae60395 100644 --- a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts +++ b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts @@ -13,15 +13,21 @@ //// * /*jb*/ //// */ //// function bb(b) {} - - +//// //// /** //// * //// * @p/*jc*/ //// */ //// function cc({ b: { a, c } = { a: 1, c: 3 } }) { - +//// //// } +//// +//// /** +//// * +//// * @p/*jd*/ +//// */ +//// function dd(...a) {} + verify.baselineCompletions({ includeCompletionsWithSnippetText: true, From 2d81c573cf6b82a6f1bab0fa81b37016ead57f6f Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Thu, 30 Mar 2023 15:48:44 -0700 Subject: [PATCH 5/8] add long initializer test case and infer type from initializer --- src/services/completions.ts | 164 +- ...docParameterTagSnippetCompletion1.baseline | 1373 +++++++++++++++-- .../jsdocParameterTagSnippetCompletion1.ts | 8 + 3 files changed, 1441 insertions(+), 104 deletions(-) diff --git a/src/services/completions.ts b/src/services/completions.ts index 21938d873d922..a3bc70a73f978 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -47,6 +47,7 @@ import { diagnosticToString, displayPart, DotDotDotToken, + EmitFlags, EmitHint, EmitTextWriter, EntityName, @@ -312,6 +313,7 @@ import { ScriptElementKindModifier, ScriptTarget, SemanticMeaning, + setEmitFlags, setSnippetElement, shouldUseUriStyleNodeCoreModules, SignatureHelp, @@ -673,9 +675,10 @@ export function getCompletionsAtPosition( } + const compilerOptions = program.getCompilerOptions(); + const checker = program.getTypeChecker(); // If the request is a continuation of an earlier `isIncomplete` response, // we can continue it from the cached previous response. - const compilerOptions = program.getCompilerOptions(); const incompleteCompletionsCache = preferences.allowIncompleteCompletions ? host.getIncompleteCompletionsCache?.() : undefined; if (incompleteCompletionsCache && completionKind === CompletionTriggerKind.TriggerForIncompleteCompletions && previousToken && isIdentifier(previousToken)) { const incompleteContinuation = continuePreviousIncompleteResponse(incompleteCompletionsCache, sourceFile, previousToken, program, host, preferences, cancellationToken, position); @@ -713,12 +716,24 @@ export function getCompletionsAtPosition( // If the current position is a jsDoc tag name, only tag names should be provided for completion return jsdocCompletionInfo([ ...JsDoc.getJSDocTagNameCompletions(), - ...getJSDocParameterCompletions(sourceFile, position, preferences, compilerOptions, /*tagNameOnly*/ true)]); + ...getJSDocParameterCompletions( + sourceFile, + position, + checker, + compilerOptions, + preferences, + /*tagNameOnly*/ true)]); case CompletionDataKind.JsDocTag: // If the current position is a jsDoc tag, only tags should be provided for completion return jsdocCompletionInfo([ ...JsDoc.getJSDocTagCompletions(), - ...getJSDocParameterCompletions(sourceFile, position, preferences, compilerOptions, /*tagNameOnly*/ false)]); + ...getJSDocParameterCompletions( + sourceFile, + position, + checker, + compilerOptions, + preferences, + /*tagNameOnly*/ false)]); case CompletionDataKind.JsDocParameterName: return jsdocCompletionInfo(JsDoc.getJSDocParameterNameCompletions(completionData.tag)); case CompletionDataKind.Keywords: @@ -838,8 +853,9 @@ function jsdocCompletionInfo(entries: CompletionEntry[]): CompletionInfo { function getJSDocParameterCompletions( sourceFile: SourceFile, position: number, - preferences: UserPreferences, + checker: TypeChecker, options: CompilerOptions, + preferences: UserPreferences, tagNameOnly: boolean): CompletionEntry[] { const currentToken = getTokenAtPosition(sourceFile, position); if (!isJSDocTag(currentToken) && !isJSDoc(currentToken)) { @@ -864,8 +880,29 @@ function getJSDocParameterCompletions( if (isIdentifier(param.name)) { // Named parameter const tabstopCounter = { tabstop: 1 }; const paramName = param.name.text; - let snippetText = getJSDocParamAnnotation(paramName, param.initializer, param.dotDotDotToken, isJs, /*isObject*/ false, /*isSnippet*/ true, tabstopCounter); - let insertText = getJSDocParamAnnotation(paramName, param.initializer, param.dotDotDotToken, isJs, /*isObject*/ false, /*isSnippet*/ false); + let snippetText = + getJSDocParamAnnotation( + paramName, + param.initializer, + param.dotDotDotToken, + isJs, + /*isObject*/ false, + /*isSnippet*/ true, + checker, + options, + preferences, + tabstopCounter); + let insertText = + getJSDocParamAnnotation( + paramName, + param.initializer, + param.dotDotDotToken, + isJs, + /*isObject*/ false, + /*isSnippet*/ false, + checker, + options, + preferences); if (tagNameOnly) { // Remove `@` insertText = insertText.slice(1); snippetText = snippetText.slice(1); @@ -881,9 +918,27 @@ function getJSDocParameterCompletions( else if (param.parent.parameters.indexOf(param) === paramTagCount) { // Destructuring parameter; do it positionally const paramPath = `param${paramTagCount}`; const insertTextResult = - generateJSDocParamTagsForDestructuring(paramPath, param.name, param.initializer, param.dotDotDotToken, isJs, /*isSnippet*/ false); + generateJSDocParamTagsForDestructuring( + paramPath, + param.name, + param.initializer, + param.dotDotDotToken, + isJs, + /*isSnippet*/ false, + checker, + options, + preferences,); const snippetTextResult = - generateJSDocParamTagsForDestructuring(paramPath, param.name, param.initializer, param.dotDotDotToken, isJs, /*isSnippet*/ true); + generateJSDocParamTagsForDestructuring( + paramPath, + param.name, + param.initializer, + param.dotDotDotToken, + isJs, + /*isSnippet*/ true, + checker, + options, + preferences,); let insertText = insertTextResult.join(getNewLineCharacter(options) + "* "); let snippetText = snippetTextResult.join(getNewLineCharacter(options) + "* "); if (tagNameOnly) { // Remove `@` @@ -907,9 +962,24 @@ function generateJSDocParamTagsForDestructuring( initializer: Expression | undefined, dotDotDotToken: DotDotDotToken | undefined, isJs: boolean, - isSnippet: boolean): string[] { + isSnippet: boolean, + checker: TypeChecker, + options: CompilerOptions, + preferences: UserPreferences): string[] { if (!isJs) { - return [getJSDocParamAnnotation(path, initializer, dotDotDotToken, isJs, /*isObject*/ false, isSnippet, { tabstop: 1 })]; + return [ + getJSDocParamAnnotation( + path, + initializer, + dotDotDotToken, + isJs, + /*isObject*/ false, + isSnippet, + checker, + options, + preferences, + { tabstop: 1 }) + ]; } return patternWorker(path, pattern, initializer, dotDotDotToken, { tabstop: 1 }); @@ -922,7 +992,18 @@ function generateJSDocParamTagsForDestructuring( if (isObjectBindingPattern(pattern) && !dotDotDotToken) { const oldTabstop = counter.tabstop; const childCounter = { tabstop: oldTabstop }; - const rootParam = getJSDocParamAnnotation(path, initializer, dotDotDotToken, isJs, /*isObject*/ true, isSnippet, childCounter); + const rootParam = + getJSDocParamAnnotation( + path, + initializer, + dotDotDotToken, + isJs, + /*isObject*/ true, + isSnippet, + checker, + options, + preferences, + childCounter); let childTags: string[] | undefined = []; for (const element of pattern.elements) { const elementTags = elementWorker(path, element, childCounter); @@ -939,7 +1020,19 @@ function generateJSDocParamTagsForDestructuring( return [rootParam, ...childTags]; } } - return [getJSDocParamAnnotation(path, initializer, dotDotDotToken, isJs, /*isObject*/ false, isSnippet, counter)]; + return [ + getJSDocParamAnnotation( + path, + initializer, + dotDotDotToken, + isJs, + /*isObject*/ false, + isSnippet, + checker, + options, + preferences, + counter) + ]; } // Assumes binding element is inside object binding pattern. @@ -951,7 +1044,18 @@ function generateJSDocParamTagsForDestructuring( return undefined; } const paramName = `${path}.${propertyName}`; - return [getJSDocParamAnnotation(paramName, element.initializer, element.dotDotDotToken, isJs, /*isObject*/ false, isSnippet, counter)]; + return [ + getJSDocParamAnnotation( + paramName, + element.initializer, + element.dotDotDotToken, + isJs, + /*isObject*/ false, + isSnippet, + checker, + options, + preferences, + counter)]; } else if (element.propertyName) { // `{ b: {...} }` or `{ b: [...] }` const propertyName = tryGetTextOfPropertyName(element.propertyName); @@ -973,6 +1077,9 @@ function getJSDocParamAnnotation( isJs: boolean, isObject: boolean, isSnippet: boolean, + checker: TypeChecker, + options: CompilerOptions, + preferences: UserPreferences, tabstopCounter?: TabStopCounter) { if (isSnippet) { Debug.assertIsDefined(tabstopCounter); @@ -984,17 +1091,38 @@ function getJSDocParamAnnotation( paramName = escapeSnippetText(paramName); } if (isJs) { - let type: string; + let type = "*"; if (isObject) { Debug.assert(!dotDotDotToken, `Cannot annotate a rest parameter with type 'Object'.`); type = "Object"; } else { - if (isSnippet) { - type = `\${${tabstopCounter!.tabstop++}:*}`; + if (initializer) { + const inferredType = checker.getTypeAtLocation(initializer.parent); + if (!(inferredType.flags & TypeFlags.Any)) { + const sourceFile = initializer.getSourceFile(); + const quotePreference = getQuotePreference(sourceFile, preferences); + const builderFlags = (quotePreference === QuotePreference.Single ? NodeBuilderFlags.UseSingleQuotesForStringLiteralType : NodeBuilderFlags.None); + const typeNode = checker.typeToTypeNode(inferredType, findAncestor(initializer, isFunctionLike), builderFlags); + if (typeNode) { + const printer = isSnippet + ? createSnippetPrinter({ + removeComments: true, + module: options.module, + target: options.target, + }) + : createPrinter({ + removeComments: true, + module: options.module, + target: options.target + }); + setEmitFlags(typeNode, EmitFlags.SingleLine); + type = printer.printNode(EmitHint.Unspecified, typeNode, sourceFile); + } + } } - else { - type = "*"; + if (isSnippet) { + type = `\${${tabstopCounter!.tabstop++}:${type}}`; } } const dotDotDot = !isObject && dotDotDotToken ? "..." : ""; diff --git a/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline b/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline index de6130f404bdc..8c3d93671502b 100644 --- a/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline +++ b/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline @@ -1,7 +1,7 @@ === /tests/cases/fourslash/b.js === -// /** -// * @p -// ^ +// /** +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -90,14 +90,14 @@ // | * @param {*} [param0.a=1] // | param {*} b // | ---------------------------------------------------------------------- -// */ -// function aa({ a = 1 }, b) { -// a; -// } +// */ +// function aa({ a = 1 }, b) { +// a; +// } // -// /** -// * -// ^ +// /** +// * +// ^ // | ---------------------------------------------------------------------- // | @abstract // | @access @@ -184,13 +184,13 @@ // | @yields // | @param {*} b // | ---------------------------------------------------------------------- -// */ -// function bb(b) {} +// */ +// function bb(b) {} // -// /** -// * -// * @p -// ^ +// /** +// * +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -280,15 +280,15 @@ // | * @param {*} param0.b.a // | * @param {*} param0.b.c // | ---------------------------------------------------------------------- -// */ -// function cc({ b: { a, c } = { a: 1, c: 3 } }) { +// */ +// function cc({ b: { a, c } = { a: 1, c: 3 } }) { // -// } +// } // -// /** -// * -// * @p -// ^ +// /** +// * +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -379,16 +379,16 @@ // | * @param {*} param0.a.c // | * @param {*} param0.d // | ---------------------------------------------------------------------- -// */ -// function dd({ a: { b, c }, d: [e, f] }) { +// */ +// function dd({ a: { b, c }, d: [e, f] }) { // -// } +// } // -// const someconst = "aa"; -// /** -// * -// * @p -// ^ +// const someconst = "aa"; +// /** +// * +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -475,15 +475,15 @@ // | yields // | param {*} param0 // | ---------------------------------------------------------------------- -// */ -// function ee({ [someconst]: b }) { +// */ +// function ee({ [someconst]: b }) { // -// } +// } // -// /** -// * -// * @p -// ^ +// /** +// * +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -571,15 +571,15 @@ // | param {Object} param0 // | * @param {*} param0.a // | ---------------------------------------------------------------------- -// */ -// function ff({ "a": b }) { +// */ +// function ff({ "a": b }) { // -// } +// } // -// /** -// * -// * @p -// ^ +// /** +// * +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -666,16 +666,16 @@ // | yields // | param {*} a // | ---------------------------------------------------------------------- -// */ -// function gg(a, { b }) { +// */ +// function gg(a, { b }) { // -// } +// } // -// /** -// * -// * @param {boolean} a a's description -// * @p -// ^ +// /** +// * +// * @param {boolean} a a's description +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -763,14 +763,14 @@ // | param {Object} param1 // | * @param {*} param1.b // | ---------------------------------------------------------------------- -// */ -// function hh(a, { b }) { -// -// } -// /** -// * -// * @p -// ^ +// */ +// function hh(a, { b }) { +// +// } +// /** +// * +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -860,13 +860,13 @@ // | * @param {...*} param0.c // | param {...*} a // | ---------------------------------------------------------------------- -// */ -// function ii({ b, ...c }, ...a) {} +// */ +// function ii({ b, ...c }, ...a) {} // -// /** -// * -// * @p -// ^ +// /** +// * +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -953,13 +953,13 @@ // | yields // | param {...*} param0 // | ---------------------------------------------------------------------- -// */ -// function jj(...{ length }) {} +// */ +// function jj(...{ length }) {} // -// /** -// * -// * @p -// ^ +// /** +// * +// * @p +// ^ // | ---------------------------------------------------------------------- // | abstract // | access @@ -1046,8 +1046,103 @@ // | yields // | param {...*} a // | ---------------------------------------------------------------------- -// */ -// function kk(...a) {} +// */ +// function kk(...a) {} +// +// function reallylongfunctionnameabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl(a) {} +// /** +// * +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {*} [a] +// | ---------------------------------------------------------------------- +// */ +// function ll(a = reallylongfunctionnameabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl("")) {} +// } === /tests/cases/fourslash/a.ts === // /** @@ -7080,7 +7175,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 9, + "position": 11, "name": "ja" }, "item": { @@ -8199,7 +8294,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 59, + "position": 67, "name": "jb" }, "item": { @@ -9305,7 +9400,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 96, + "position": 109, "name": "jc" }, "item": { @@ -10411,7 +10506,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 166, + "position": 185, "name": "jd" }, "item": { @@ -11517,7 +11612,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 254, + "position": 280, "name": "je" }, "item": { @@ -12623,7 +12718,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 310, + "position": 342, "name": "jf" }, "item": { @@ -13729,7 +13824,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 358, + "position": 396, "name": "jg" }, "item": { @@ -14835,7 +14930,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 442, + "position": 487, "name": "jh" }, "item": { @@ -15941,7 +16036,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 490, + "position": 542, "name": "ji" }, "item": { @@ -17060,7 +17155,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 543, + "position": 600, "name": "jj" }, "item": { @@ -18166,7 +18261,7 @@ { "marker": { "fileName": "/tests/cases/fourslash/b.js", - "position": 592, + "position": 654, "name": "jk" }, "item": { @@ -19268,5 +19363,1111 @@ } ] } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 827, + "name": "jl" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {*} [a] ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {*} [a] ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } } ] \ No newline at end of file diff --git a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts index d003ff1be97a3..8daa0ea15ecd3 100644 --- a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts +++ b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion1.ts @@ -115,5 +115,13 @@ //// * @p/*jk*/ //// */ //// function kk(...a) {} +//// +//// function reallylongfunctionnameabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl(a) {} +//// /** +//// * +//// * @p/*jl*/ +//// */ +//// function ll(a = reallylongfunctionnameabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl("")) {} +////} verify.baselineCompletions(); \ No newline at end of file From 0e3ac3f5784e40d8b98cef5306809b329cd5cb78 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 3 Apr 2023 13:08:23 -0700 Subject: [PATCH 6/8] fix getting type from initializer --- src/compiler/checker.ts | 6 +- src/services/completions.ts | 4 +- ...docParameterTagSnippetCompletion1.baseline | 6 +- ...docParameterTagSnippetCompletion2.baseline | 1200 +++ ...docParameterTagSnippetCompletion3.baseline | 7198 +++++++++++++++++ .../jsdocParameterTagSnippetCompletion2.ts | 5 + .../jsdocParameterTagSnippetCompletion3.ts | 39 + 7 files changed, 8452 insertions(+), 6 deletions(-) create mode 100644 tests/baselines/reference/jsdocParameterTagSnippetCompletion3.baseline create mode 100644 tests/cases/fourslash/jsdocParameterTagSnippetCompletion3.ts diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index e52570b6f41b0..77fed50f68ad7 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -45461,9 +45461,13 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { return symbol ? getDeclaredTypeOfSymbol(symbol) : errorType; } + if (isBindingElement(node)) { + return getTypeForVariableLikeDeclaration(node, /*includeOptionality*/ true, CheckMode.Normal) || errorType; + } + if (isDeclaration(node)) { // In this case, we call getSymbolOfNode instead of getSymbolAtLocation because it is a declaration - const symbol = getSymbolOfDeclaration(node); + const symbol = getSymbolOfDeclaration(node) || getSymbolAtLocation(node); return symbol ? getTypeOfSymbol(symbol) : errorType; } diff --git a/src/services/completions.ts b/src/services/completions.ts index a3bc70a73f978..7510607344674 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -1099,7 +1099,7 @@ function getJSDocParamAnnotation( else { if (initializer) { const inferredType = checker.getTypeAtLocation(initializer.parent); - if (!(inferredType.flags & TypeFlags.Any)) { + if (!(inferredType.flags & (TypeFlags.Any | TypeFlags.Void))) { const sourceFile = initializer.getSourceFile(); const quotePreference = getQuotePreference(sourceFile, preferences); const builderFlags = (quotePreference === QuotePreference.Single ? NodeBuilderFlags.UseSingleQuotesForStringLiteralType : NodeBuilderFlags.None); @@ -1121,7 +1121,7 @@ function getJSDocParamAnnotation( } } } - if (isSnippet) { + if (isSnippet && type === "*") { type = `\${${tabstopCounter!.tabstop++}:${type}}`; } } diff --git a/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline b/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline index 8c3d93671502b..d391120bfe81d 100644 --- a/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline +++ b/tests/baselines/reference/jsdocParameterTagSnippetCompletion1.baseline @@ -87,7 +87,7 @@ // | virtual // | yields // | param {Object} param0 -// | * @param {*} [param0.a=1] +// | * @param {number} [param0.a=1] // | param {*} b // | ---------------------------------------------------------------------- // */ @@ -8263,13 +8263,13 @@ "documentation": [] }, { - "name": "param {Object} param0 \r\n* @param {*} [param0.a=1] ", + "name": "param {Object} param0 \r\n* @param {number} [param0.a=1] ", "kind": "", "sortText": "11", "kindModifiers": "", "displayParts": [ { - "text": "param {Object} param0 \r\n* @param {*} [param0.a=1] ", + "text": "param {Object} param0 \r\n* @param {number} [param0.a=1] ", "kind": "text" } ], diff --git a/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline b/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline index 359ed99ebbeb5..bae9309cb2b07 100644 --- a/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline +++ b/tests/baselines/reference/jsdocParameterTagSnippetCompletion2.baseline @@ -281,6 +281,98 @@ // | ---------------------------------------------------------------------- // */ // function dd(...a) {} +// +// /** +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {number} [a=3] +// | ---------------------------------------------------------------------- +// */ +// function zz(a = 3) {} === /tests/cases/fourslash/a.ts === // /** @@ -4807,5 +4899,1113 @@ } ] } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/b.js", + "position": 150, + "name": "z" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {number} [a=3] ", + "kind": "", + "sortText": "11", + "insertText": "param {number} [a=3] ${1}", + "isSnippet": true, + "kindModifiers": "", + "displayParts": [ + { + "text": "param {number} [a=3] ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } } ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocParameterTagSnippetCompletion3.baseline b/tests/baselines/reference/jsdocParameterTagSnippetCompletion3.baseline new file mode 100644 index 0000000000000..676ec666e053b --- /dev/null +++ b/tests/baselines/reference/jsdocParameterTagSnippetCompletion3.baseline @@ -0,0 +1,7198 @@ +=== /tests/cases/fourslash/a.js === +// /** +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {number} [a=3] +// | ---------------------------------------------------------------------- +// */ +// function zz(a = 3) {} +// /** +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param0 +// | * @param {number} [param0.a=3] +// | ---------------------------------------------------------------------- +// */ +// function yy({ a = 3 }) {} +// /** +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param0 +// | * @param {*} param0.a +// | * @param {Object} param0.o +// | * @param {*} param0.o.b +// | * @param {*} param0.o.c +// | ---------------------------------------------------------------------- +// */ +// function xx({ a, o: { b, c: [d, e = 1] }}) {} +// /** +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param0 +// | * @param {*} param0.a +// | * @param {Object} param0.o +// | * @param {*} param0.o.b +// | * @param {[number, boolean]} [param0.o.c=[1, true]] +// | ---------------------------------------------------------------------- +// */ +// function ww({ a, o: { b, c: [d, e] = [1, true] }}) {} +// /** +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param0 +// | * @param {(number | boolean)[]} [param0.a=[1, true]] +// | ---------------------------------------------------------------------- +// */ +// function vv({ a = [1, true] }) {} +// function random(a) { return a } +// /** +// * @p +// ^ +// | ---------------------------------------------------------------------- +// | abstract +// | access +// | alias +// | argument +// | async +// | augments +// | author +// | borrows +// | callback +// | class +// | classdesc +// | constant +// | constructor +// | constructs +// | copyright +// | default +// | deprecated +// | description +// | emits +// | enum +// | event +// | example +// | exports +// | extends +// | external +// | field +// | file +// | fileoverview +// | fires +// | function +// | generator +// | global +// | hideconstructor +// | host +// | ignore +// | implements +// | inheritdoc +// | inner +// | instance +// | interface +// | kind +// | lends +// | license +// | link +// | linkcode +// | linkplain +// | listens +// | member +// | memberof +// | method +// | mixes +// | module +// | name +// | namespace +// | overload +// | override +// | package +// | param +// | private +// | prop +// | property +// | protected +// | public +// | readonly +// | requires +// | returns +// | satisfies +// | see +// | since +// | static +// | summary +// | template +// | this +// | throws +// | todo +// | tutorial +// | type +// | typedef +// | var +// | variation +// | version +// | virtual +// | yields +// | param {Object} param0 +// | * @param {*} [param0.a=random()] +// | ---------------------------------------------------------------------- +// */ +// function uu({ a = random() }) {} + +[ + { + "marker": { + "fileName": "/tests/cases/fourslash/a.js", + "position": 9, + "name": "z" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {number} [a=3] ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {number} [a=3] ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.js", + "position": 45, + "name": "y" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param0 \r\n* @param {number} [param0.a=3] ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param0 \r\n* @param {number} [param0.a=3] ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.js", + "position": 85, + "name": "x" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param0 \r\n* @param {*} param0.a \r\n* @param {Object} param0.o \r\n* @param {*} param0.o.b \r\n* @param {*} param0.o.c ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param0 \r\n* @param {*} param0.a \r\n* @param {Object} param0.o \r\n* @param {*} param0.o.b \r\n* @param {*} param0.o.c ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.js", + "position": 145, + "name": "w" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param0 \r\n* @param {*} param0.a \r\n* @param {Object} param0.o \r\n* @param {*} param0.o.b \r\n* @param {[number, boolean]} [param0.o.c=[1, true]] ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param0 \r\n* @param {*} param0.a \r\n* @param {Object} param0.o \r\n* @param {*} param0.o.b \r\n* @param {[number, boolean]} [param0.o.c=[1, true]] ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.js", + "position": 213, + "name": "v" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param0 \r\n* @param {(number | boolean)[]} [param0.a=[1, true]] ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param0 \r\n* @param {(number | boolean)[]} [param0.a=[1, true]] ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + }, + { + "marker": { + "fileName": "/tests/cases/fourslash/a.js", + "position": 293, + "name": "u" + }, + "item": { + "isGlobalCompletion": false, + "isMemberCompletion": false, + "isNewIdentifierLocation": false, + "entries": [ + { + "name": "abstract", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "abstract", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "access", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "access", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "alias", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "alias", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "argument", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "argument", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "async", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "async", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "augments", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "augments", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "author", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "author", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "borrows", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "borrows", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "callback", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "callback", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "class", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "class", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "classdesc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "classdesc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constant", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constant", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "constructs", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "constructs", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "copyright", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "copyright", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "default", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "default", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "deprecated", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "deprecated", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "description", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "description", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "emits", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "emits", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "enum", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "enum", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "event", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "event", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "example", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "example", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "exports", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "exports", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "extends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "extends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "external", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "external", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "field", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "field", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "file", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "file", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fileoverview", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fileoverview", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "fires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "fires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "function", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "function", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "generator", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "generator", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "global", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "global", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "hideconstructor", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "hideconstructor", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "host", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "host", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "ignore", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "ignore", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "implements", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "implements", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inheritdoc", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inheritdoc", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "inner", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "inner", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "instance", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "instance", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "interface", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "interface", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "kind", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "kind", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "lends", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "lends", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "license", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "license", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "link", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "link", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkcode", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkcode", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "linkplain", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "linkplain", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "listens", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "listens", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "member", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "member", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "memberof", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "memberof", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "method", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "method", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "mixes", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "mixes", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "module", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "module", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "name", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "name", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "namespace", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "namespace", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "overload", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "overload", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "override", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "override", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "package", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "package", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "param", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "private", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "private", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "prop", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "prop", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "property", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "property", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "protected", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "protected", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "public", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "public", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "readonly", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "readonly", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "requires", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "requires", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "returns", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "returns", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "satisfies", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "satisfies", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "see", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "see", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "since", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "since", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "static", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "static", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "summary", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "summary", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "template", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "template", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "this", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "this", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "throws", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "throws", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "todo", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "todo", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "tutorial", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "tutorial", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "type", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "type", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "typedef", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "typedef", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "var", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "var", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "variation", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "variation", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "version", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "version", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "virtual", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "virtual", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "yields", + "kind": "", + "kindModifiers": "", + "sortText": "11", + "displayParts": [ + { + "text": "yields", + "kind": "text" + } + ], + "documentation": [] + }, + { + "name": "param {Object} param0 \r\n* @param {*} [param0.a=random()] ", + "kind": "", + "sortText": "11", + "kindModifiers": "", + "displayParts": [ + { + "text": "param {Object} param0 \r\n* @param {*} [param0.a=random()] ", + "kind": "text" + } + ], + "documentation": [] + } + ] + } + } +] \ No newline at end of file diff --git a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts index 645693ae60395..f1cdff2015354 100644 --- a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts +++ b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion2.ts @@ -27,6 +27,11 @@ //// * @p/*jd*/ //// */ //// function dd(...a) {} +//// +//// /** +//// * @p/*z*/ +//// */ +//// function zz(a = 3) {} verify.baselineCompletions({ diff --git a/tests/cases/fourslash/jsdocParameterTagSnippetCompletion3.ts b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion3.ts new file mode 100644 index 0000000000000..034eefe579235 --- /dev/null +++ b/tests/cases/fourslash/jsdocParameterTagSnippetCompletion3.ts @@ -0,0 +1,39 @@ +/// + +// Infer types from initializer + +// @allowJs: true + +// @Filename: a.js +//// /** +//// * @p/*z*/ +//// */ +//// function zz(a = 3) {} + +//// /** +//// * @p/*y*/ +//// */ +//// function yy({ a = 3 }) {} + +//// /** +//// * @p/*x*/ +//// */ +//// function xx({ a, o: { b, c: [d, e = 1] }}) {} + +//// /** +//// * @p/*w*/ +//// */ +//// function ww({ a, o: { b, c: [d, e] = [1, true] }}) {} + +//// /** +//// * @p/*v*/ +//// */ +//// function vv({ a = [1, true] }) {} + +//// function random(a) { return a } +//// /** +//// * @p/*u*/ +//// */ +//// function uu({ a = random() }) {} + +verify.baselineCompletions(); \ No newline at end of file From ae306b789ea4eca4a24cd7c1e585800069f4a41d Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 3 Apr 2023 14:22:31 -0700 Subject: [PATCH 7/8] CR: refactor --- src/services/completions.ts | 45 ++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/src/services/completions.ts b/src/services/completions.ts index 7510607344674..78ddeff0c14a5 100644 --- a/src/services/completions.ts +++ b/src/services/completions.ts @@ -34,6 +34,7 @@ import { concatenate, ConstructorDeclaration, ContextFlags, + countWhere, createModuleSpecifierResolutionHost, createPackageJsonImportFilter, createPrinter, @@ -872,7 +873,7 @@ function getJSDocParameterCompletions( const isJs = isSourceFileJS(sourceFile); const isSnippet = preferences.includeCompletionsWithSnippetText || undefined; - const paramTagCount = jsDoc.tags?.filter(tag => isJSDocParameterTag(tag) && tag.getEnd() <= position).length; + const paramTagCount = countWhere(jsDoc.tags, tag => isJSDocParameterTag(tag) && tag.getEnd() <= position); return mapDefined(func.parameters, param => { if (getJSDocParameterTags(param).length) { return undefined; // Parameter is already annotated. @@ -880,35 +881,36 @@ function getJSDocParameterCompletions( if (isIdentifier(param.name)) { // Named parameter const tabstopCounter = { tabstop: 1 }; const paramName = param.name.text; - let snippetText = + let displayText = getJSDocParamAnnotation( paramName, param.initializer, param.dotDotDotToken, isJs, /*isObject*/ false, - /*isSnippet*/ true, + /*isSnippet*/ false, checker, options, - preferences, - tabstopCounter); - let insertText = - getJSDocParamAnnotation( + preferences); + let snippetText = isSnippet + ? getJSDocParamAnnotation( paramName, param.initializer, param.dotDotDotToken, isJs, /*isObject*/ false, - /*isSnippet*/ false, + /*isSnippet*/ true, checker, options, - preferences); + preferences, + tabstopCounter) + : undefined; if (tagNameOnly) { // Remove `@` - insertText = insertText.slice(1); - snippetText = snippetText.slice(1); + displayText = displayText.slice(1); + if (snippetText) snippetText = snippetText.slice(1); } return { - name: insertText, + name: displayText, kind: ScriptElementKind.parameterElement, sortText: SortText.LocationPriority, insertText: isSnippet ? snippetText : undefined, @@ -917,7 +919,7 @@ function getJSDocParameterCompletions( } else if (param.parent.parameters.indexOf(param) === paramTagCount) { // Destructuring parameter; do it positionally const paramPath = `param${paramTagCount}`; - const insertTextResult = + const displayTextResult = generateJSDocParamTagsForDestructuring( paramPath, param.name, @@ -928,8 +930,8 @@ function getJSDocParameterCompletions( checker, options, preferences,); - const snippetTextResult = - generateJSDocParamTagsForDestructuring( + const snippetTextResult = isSnippet + ? generateJSDocParamTagsForDestructuring( paramPath, param.name, param.initializer, @@ -938,15 +940,16 @@ function getJSDocParameterCompletions( /*isSnippet*/ true, checker, options, - preferences,); - let insertText = insertTextResult.join(getNewLineCharacter(options) + "* "); - let snippetText = snippetTextResult.join(getNewLineCharacter(options) + "* "); + preferences,) + : undefined; + let displayText = displayTextResult.join(getNewLineCharacter(options) + "* "); + let snippetText = snippetTextResult?.join(getNewLineCharacter(options) + "* "); if (tagNameOnly) { // Remove `@` - insertText = insertText.slice(1); - snippetText = snippetText.slice(1); + displayText = displayText.slice(1); + if (snippetText) snippetText = snippetText.slice(1); } return { - name: insertText, + name: displayText, kind: ScriptElementKind.parameterElement, sortText: SortText.LocationPriority, insertText: isSnippet ? snippetText : undefined, From cfbe5c8481be86fa6aa2d03c14bcfda2321e8291 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 3 Apr 2023 16:30:07 -0700 Subject: [PATCH 8/8] revert useless diff in checker --- src/compiler/checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 77fed50f68ad7..db3a595470915 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -45467,7 +45467,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker { if (isDeclaration(node)) { // In this case, we call getSymbolOfNode instead of getSymbolAtLocation because it is a declaration - const symbol = getSymbolOfDeclaration(node) || getSymbolAtLocation(node); + const symbol = getSymbolOfDeclaration(node); return symbol ? getTypeOfSymbol(symbol) : errorType; }