From 0e3ac3f5784e40d8b98cef5306809b329cd5cb78 Mon Sep 17 00:00:00 2001 From: Gabriela Araujo Britto Date: Mon, 3 Apr 2023 13:08:23 -0700 Subject: [PATCH] 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