Improve rendering of JSDoc comment text with displayparts (#43390)

* feat(services): jsdoc use custom name for display parts

* fix(services): jsdoc typo

* feat(services): revert jsDoc changes

* feat(services): jsdoc improve displayparts with more comment kinds

Improve rendering of JSDoc comment text with displayparts for:

- `@typedef`
- `@callback`
- `@param`
- `@property`

* feat(services): jsdoc improve displayparts for template

* test: accept baseline

* test: update jsdoc parameterName

* feat: resolve pr comments

* test: add fourslash tests for jsdoc callback, typedef

* test: accept baselines

* test: revert changes for api baselines

* refactor: naming

* refactor: code quality

* refactor: clean up code as to pr comments
This commit is contained in:
Sang 2021-04-10 02:44:44 +10:00 committed by GitHub
parent 75e9c94e50
commit a354a77030
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 1143 additions and 667 deletions

View file

@ -142,8 +142,9 @@ namespace ts.JsDoc {
}
function getCommentDisplayParts(tag: JSDocTag, checker?: TypeChecker): SymbolDisplayPart[] | undefined {
const { comment } = tag;
switch (tag.kind) {
const { comment, kind } = tag;
const namePart = getTagNameDisplayPart(kind);
switch (kind) {
case SyntaxKind.JSDocImplementsTag:
return withNode((tag as JSDocImplementsTag).class);
case SyntaxKind.JSDocAugmentsTag:
@ -157,7 +158,7 @@ namespace ts.JsDoc {
case SyntaxKind.JSDocPropertyTag:
case SyntaxKind.JSDocParameterTag:
case SyntaxKind.JSDocSeeTag:
const { name } = tag as JSDocTypedefTag | JSDocPropertyTag | JSDocParameterTag | JSDocSeeTag;
const { name } = tag as JSDocTypedefTag | JSDocCallbackTag | JSDocPropertyTag | JSDocParameterTag | JSDocSeeTag;
return name ? withNode(name) : comment === undefined ? undefined : getDisplayPartsFromComment(comment, checker);
default:
return comment === undefined ? undefined : getDisplayPartsFromComment(comment, checker);
@ -168,7 +169,25 @@ namespace ts.JsDoc {
}
function addComment(s: string) {
return comment ? [textPart(s), spacePart(), ...getDisplayPartsFromComment(comment, checker)] : [textPart(s)];
return comment
? [namePart(s), spacePart(), ...getDisplayPartsFromComment(comment, checker)]
: [textPart(s)];
}
}
function getTagNameDisplayPart(kind: SyntaxKind): (text: string) => SymbolDisplayPart {
switch (kind) {
case SyntaxKind.JSDocParameterTag:
return parameterNamePart;
case SyntaxKind.JSDocPropertyTag:
return propertyNamePart;
case SyntaxKind.JSDocTemplateTag:
return typeParameterNamePart;
case SyntaxKind.JSDocTypedefTag:
case SyntaxKind.JSDocCallbackTag:
return typeAliasNamePart;
default:
return textPart;
}
}

View file

@ -2173,6 +2173,14 @@ namespace ts {
return displayPart(tokenToString(kind)!, SymbolDisplayPartKind.operator);
}
export function parameterNamePart(text: string) {
return displayPart(text, SymbolDisplayPartKind.parameterName);
}
export function propertyNamePart(text: string) {
return displayPart(text, SymbolDisplayPartKind.propertyName);
}
export function textOrKeywordPart(text: string) {
const kind = stringToToken(text);
return kind === undefined
@ -2184,6 +2192,14 @@ namespace ts {
return displayPart(text, SymbolDisplayPartKind.text);
}
export function typeAliasNamePart(text: string) {
return displayPart(text, SymbolDisplayPartKind.aliasName);
}
export function typeParameterNamePart(text: string) {
return displayPart(text, SymbolDisplayPartKind.typeParameterName);
}
export function linkTextPart(text: string) {
return displayPart(text, SymbolDisplayPartKind.linkText);
}

View file

@ -418,7 +418,7 @@ x(1)`
const tags = [{
name: "param",
text: [{
kind: "text",
kind: "parameterName",
text: "y"
}, {
kind: "space",
@ -489,7 +489,7 @@ x(1)`
const tags = [{
name: "param",
text: [{
kind: "text",
kind: "parameterName",
text: "y"
}, {
kind: "space",
@ -603,7 +603,7 @@ foo`
tags: [{
name: "param",
text: [{
kind: "text",
kind: "parameterName",
text: "x"
}, {
kind: "space",
@ -652,7 +652,7 @@ foo`
tags: [{
name: "param",
text: [{
kind: "text",
kind: "parameterName",
text: "x"
}, {
kind: "space",

View file

@ -421,7 +421,7 @@
"text": [
{
"text": "items",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -906,7 +906,7 @@
"text": [
{
"text": "items",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -923,7 +923,7 @@
"text": [
{
"text": "items",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1036,7 +1036,7 @@
"text": [
{
"text": "separator",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1405,7 +1405,7 @@
"text": [
{
"text": "start",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1422,7 +1422,7 @@
"text": [
{
"text": "end",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1715,7 +1715,7 @@
"text": [
{
"text": "compareFn",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1912,7 +1912,7 @@
"text": [
{
"text": "start",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1929,7 +1929,7 @@
"text": [
{
"text": "deleteCount",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2055,7 +2055,7 @@
"text": [
{
"text": "items",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2188,7 +2188,7 @@
"text": [
{
"text": "searchElement",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2205,7 +2205,7 @@
"text": [
{
"text": "fromIndex",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2338,7 +2338,7 @@
"text": [
{
"text": "searchElement",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2355,7 +2355,7 @@
"text": [
{
"text": "fromIndex",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2892,7 +2892,7 @@
"text": [
{
"text": "predicate",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2909,7 +2909,7 @@
"text": [
{
"text": "thisArg",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2926,7 +2926,7 @@
"text": [
{
"text": "predicate",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2943,7 +2943,7 @@
"text": [
{
"text": "thisArg",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3292,7 +3292,7 @@
"text": [
{
"text": "predicate",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3309,7 +3309,7 @@
"text": [
{
"text": "thisArg",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3658,7 +3658,7 @@
"text": [
{
"text": "callbackfn",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3675,7 +3675,7 @@
"text": [
{
"text": "thisArg",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4044,7 +4044,7 @@
"text": [
{
"text": "callbackfn",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4061,7 +4061,7 @@
"text": [
{
"text": "thisArg",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4590,7 +4590,7 @@
"text": [
{
"text": "predicate",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4607,7 +4607,7 @@
"text": [
{
"text": "thisArg",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4624,7 +4624,7 @@
"text": [
{
"text": "predicate",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4641,7 +4641,7 @@
"text": [
{
"text": "thisArg",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5326,7 +5326,7 @@
"text": [
{
"text": "callbackfn",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5343,7 +5343,7 @@
"text": [
{
"text": "initialValue",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5360,7 +5360,7 @@
"text": [
{
"text": "callbackfn",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5377,7 +5377,7 @@
"text": [
{
"text": "initialValue",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6062,7 +6062,7 @@
"text": [
{
"text": "callbackfn",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6079,7 +6079,7 @@
"text": [
{
"text": "initialValue",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6096,7 +6096,7 @@
"text": [
{
"text": "callbackfn",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6113,7 +6113,7 @@
"text": [
{
"text": "initialValue",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -98,7 +98,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -207,7 +207,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -224,7 +224,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -305,7 +305,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -386,7 +386,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -467,7 +467,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -548,7 +548,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -629,7 +629,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -710,7 +710,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -823,7 +823,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -904,7 +904,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -985,7 +985,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -9037,7 +9037,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9146,7 +9146,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9163,7 +9163,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9244,7 +9244,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9325,7 +9325,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9406,7 +9406,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9487,7 +9487,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9568,7 +9568,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9649,7 +9649,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9762,7 +9762,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9843,7 +9843,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9924,7 +9924,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14183,7 +14183,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14292,7 +14292,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14309,7 +14309,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14390,7 +14390,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14471,7 +14471,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14552,7 +14552,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14633,7 +14633,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14714,7 +14714,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14795,7 +14795,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14908,7 +14908,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -14989,7 +14989,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -15070,7 +15070,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -22737,7 +22737,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -22846,7 +22846,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -22863,7 +22863,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -22944,7 +22944,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -23025,7 +23025,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -23106,7 +23106,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -23187,7 +23187,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -23268,7 +23268,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -23349,7 +23349,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -23462,7 +23462,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -23543,7 +23543,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -23624,7 +23624,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -26743,7 +26743,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -26852,7 +26852,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -26869,7 +26869,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -26950,7 +26950,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -27031,7 +27031,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -27112,7 +27112,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -27193,7 +27193,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -27274,7 +27274,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -27355,7 +27355,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -27468,7 +27468,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -27549,7 +27549,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -27630,7 +27630,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -30749,7 +30749,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -30858,7 +30858,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -30875,7 +30875,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -30956,7 +30956,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -31037,7 +31037,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -31118,7 +31118,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -31199,7 +31199,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -31280,7 +31280,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -31361,7 +31361,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -31474,7 +31474,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -31555,7 +31555,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -31636,7 +31636,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -34755,7 +34755,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -34864,7 +34864,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -34881,7 +34881,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -34962,7 +34962,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -35043,7 +35043,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -35124,7 +35124,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -35205,7 +35205,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -35286,7 +35286,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -35367,7 +35367,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -35480,7 +35480,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -35561,7 +35561,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -35642,7 +35642,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -38761,7 +38761,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -38870,7 +38870,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -38887,7 +38887,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -38968,7 +38968,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -39049,7 +39049,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -39130,7 +39130,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -39211,7 +39211,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -39292,7 +39292,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -39373,7 +39373,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -39486,7 +39486,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -39567,7 +39567,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -39648,7 +39648,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -42767,7 +42767,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -42876,7 +42876,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -42893,7 +42893,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -42974,7 +42974,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -43055,7 +43055,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -43136,7 +43136,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -43217,7 +43217,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -43298,7 +43298,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -43379,7 +43379,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -43492,7 +43492,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -43573,7 +43573,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -43654,7 +43654,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -50173,7 +50173,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -98,7 +98,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -207,7 +207,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -224,7 +224,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -305,7 +305,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -386,7 +386,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -467,7 +467,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -548,7 +548,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -629,7 +629,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -710,7 +710,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -823,7 +823,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -904,7 +904,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -985,7 +985,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3721,7 +3721,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4606,7 +4606,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4715,7 +4715,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4732,7 +4732,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4813,7 +4813,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4894,7 +4894,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4975,7 +4975,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5056,7 +5056,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5137,7 +5137,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5218,7 +5218,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5331,7 +5331,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5412,7 +5412,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5493,7 +5493,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7262,7 +7262,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7949,7 +7949,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8058,7 +8058,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8075,7 +8075,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8156,7 +8156,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8237,7 +8237,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8318,7 +8318,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8399,7 +8399,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8480,7 +8480,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8561,7 +8561,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8674,7 +8674,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8755,7 +8755,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8836,7 +8836,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -11572,7 +11572,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -98,7 +98,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -207,7 +207,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -224,7 +224,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -305,7 +305,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -386,7 +386,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -467,7 +467,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -548,7 +548,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -629,7 +629,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -710,7 +710,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -823,7 +823,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -904,7 +904,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -985,7 +985,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2903,7 +2903,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2929,7 +2929,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3835,7 +3835,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3944,7 +3944,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3961,7 +3961,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4042,7 +4042,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4123,7 +4123,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4204,7 +4204,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4285,7 +4285,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4366,7 +4366,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4447,7 +4447,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4560,7 +4560,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4641,7 +4641,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4722,7 +4722,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7607,7 +7607,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7633,7 +7633,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8527,7 +8527,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8636,7 +8636,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8653,7 +8653,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8734,7 +8734,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8815,7 +8815,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8896,7 +8896,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -8977,7 +8977,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9058,7 +9058,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9139,7 +9139,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9252,7 +9252,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9333,7 +9333,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -9414,7 +9414,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -11332,7 +11332,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -11358,7 +11358,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -12264,7 +12264,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -12373,7 +12373,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -12390,7 +12390,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -12471,7 +12471,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -12552,7 +12552,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -12633,7 +12633,7 @@
"text": [
{
"text": "number",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -12714,7 +12714,7 @@
"text": [
{
"text": "encodedURI",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -12795,7 +12795,7 @@
"text": [
{
"text": "encodedURIComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -12876,7 +12876,7 @@
"text": [
{
"text": "uri",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -12989,7 +12989,7 @@
"text": [
{
"text": "uriComponent",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -13070,7 +13070,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -13151,7 +13151,7 @@
"text": [
{
"text": "string",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -16036,7 +16036,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -16062,7 +16062,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -408,7 +408,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -185,7 +185,7 @@
"text": [
{
"text": "basePath",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -202,7 +202,7 @@
"text": [
{
"text": "pattern",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -219,7 +219,7 @@
"text": [
{
"text": "type",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -236,7 +236,7 @@
"text": [
{
"text": "options",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -180,7 +180,7 @@
"text": [
{
"text": "p1",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -197,7 +197,7 @@
"text": [
{
"text": "p2",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -214,7 +214,7 @@
"text": [
{
"text": "p3",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -231,7 +231,7 @@
"text": [
{
"text": "p4",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -436,7 +436,7 @@
"text": [
{
"text": "p1",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -453,7 +453,7 @@
"text": [
{
"text": "p2",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -470,7 +470,7 @@
"text": [
{
"text": "p3",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -487,7 +487,7 @@
"text": [
{
"text": "p4",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -692,7 +692,7 @@
"text": [
{
"text": "p1",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -709,7 +709,7 @@
"text": [
{
"text": "p2",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -726,7 +726,7 @@
"text": [
{
"text": "p3",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -743,7 +743,7 @@
"text": [
{
"text": "p4",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -948,7 +948,7 @@
"text": [
{
"text": "p1",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -965,7 +965,7 @@
"text": [
{
"text": "p2",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -982,7 +982,7 @@
"text": [
{
"text": "p3",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -999,7 +999,7 @@
"text": [
{
"text": "p4",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -5588,7 +5588,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5762,7 +5762,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5844,7 +5844,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -803,7 +803,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -877,7 +877,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -991,7 +991,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1008,7 +1008,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1082,7 +1082,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1339,7 +1339,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1546,7 +1546,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1593,7 +1593,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1814,7 +1814,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1932,7 +1932,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2056,7 +2056,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2150,7 +2150,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2244,7 +2244,7 @@
"text": [
{
"text": "d",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2338,7 +2338,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2723,7 +2723,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2740,7 +2740,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2757,7 +2757,7 @@
"text": [
{
"text": "d",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2774,7 +2774,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2791,7 +2791,7 @@
"text": [
{
"text": "",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2865,7 +2865,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2964,7 +2964,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3047,7 +3047,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3121,7 +3121,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3235,7 +3235,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3261,7 +3261,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3335,7 +3335,7 @@
"text": [
{
"text": "foo",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3409,7 +3409,7 @@
"text": [
{
"text": "bar",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3523,7 +3523,7 @@
"text": [
{
"text": "foo",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3540,7 +3540,7 @@
"text": [
{
"text": "bar",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3622,7 +3622,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3751,7 +3751,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3963,7 +3963,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3980,7 +3980,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4164,7 +4164,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4238,7 +4238,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4312,7 +4312,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4450,7 +4450,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4467,7 +4467,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4484,7 +4484,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -390,7 +390,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -464,7 +464,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -638,7 +638,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -756,7 +756,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -866,7 +866,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -892,7 +892,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1011,7 +1011,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1037,7 +1037,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -471,7 +471,7 @@
"text": [
{
"text": "foo",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -100,7 +100,7 @@
"text": [
{
"text": "T",
"kind": "text"
"kind": "typeParameterName"
},
{
"text": " ",
@ -152,7 +152,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -100,7 +100,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -117,7 +117,7 @@
"text": [
{
"text": "y",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -140,7 +140,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -157,7 +157,7 @@
"text": [
{
"text": "y",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -140,7 +140,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -157,7 +157,7 @@
"text": [
{
"text": "y",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -140,7 +140,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -157,7 +157,7 @@
"text": [
{
"text": "y",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -0,0 +1,166 @@
[
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoJsDocTagsCallback.js",
"position": 19,
"name": "1"
},
"quickInfo": {
"kind": "type",
"kindModifiers": "",
"textSpan": {
"start": 17,
"length": 2
},
"displayParts": [
{
"text": "type",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "cb",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "(",
"kind": "punctuation"
},
{
"text": "x",
"kind": "parameterName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "string",
"kind": "keyword"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=>",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "any",
"kind": "keyword"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoJsDocTagsCallback.js",
"position": 73,
"name": "2"
},
"quickInfo": {
"kind": "type",
"kindModifiers": "",
"textSpan": {
"start": 73,
"length": 2
},
"displayParts": [
{
"text": "type",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "cb",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "(",
"kind": "punctuation"
},
{
"text": "x",
"kind": "parameterName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "string",
"kind": "keyword"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=>",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "any",
"kind": "keyword"
}
],
"documentation": []
}
}
]

View file

@ -0,0 +1,232 @@
[
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoJsDocTagsTypedef.js",
"position": 40,
"name": "1"
},
"quickInfo": {
"kind": "type",
"kindModifiers": "",
"textSpan": {
"start": 40,
"length": 3
},
"displayParts": [
{
"text": "type",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "Bar",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "{",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
},
{
"text": " ",
"kind": "space"
},
{
"text": "baz",
"kind": "propertyName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "string",
"kind": "keyword"
},
{
"text": ";",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
},
{
"text": " ",
"kind": "space"
},
{
"text": "qux",
"kind": "propertyName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "string",
"kind": "keyword"
},
{
"text": ";",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
},
{
"text": "}",
"kind": "punctuation"
}
],
"documentation": [
{
"text": "Bar comment",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoJsDocTagsTypedef.js",
"position": 159,
"name": "2"
},
"quickInfo": {
"kind": "type",
"kindModifiers": "",
"textSpan": {
"start": 159,
"length": 3
},
"displayParts": [
{
"text": "type",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "Bar",
"kind": "aliasName"
},
{
"text": " ",
"kind": "space"
},
{
"text": "=",
"kind": "operator"
},
{
"text": " ",
"kind": "space"
},
{
"text": "{",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
},
{
"text": " ",
"kind": "space"
},
{
"text": "baz",
"kind": "propertyName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "string",
"kind": "keyword"
},
{
"text": ";",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
},
{
"text": " ",
"kind": "space"
},
{
"text": "qux",
"kind": "propertyName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "string",
"kind": "keyword"
},
{
"text": ";",
"kind": "punctuation"
},
{
"text": "\n",
"kind": "lineBreak"
},
{
"text": "}",
"kind": "punctuation"
}
],
"documentation": [
{
"text": "Bar comment",
"kind": "text"
}
]
}
}
]

View file

@ -114,7 +114,7 @@
"text": [
{
"text": "var1",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -131,7 +131,7 @@
"text": [
{
"text": "var2",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -270,7 +270,7 @@
"text": [
{
"text": "var1",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -287,7 +287,7 @@
"text": [
{
"text": "var2",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -426,7 +426,7 @@
"text": [
{
"text": "var1",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -443,7 +443,7 @@
"text": [
{
"text": "var2",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -582,7 +582,7 @@
"text": [
{
"text": "var1",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -599,7 +599,7 @@
"text": [
{
"text": "var2",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -738,7 +738,7 @@
"text": [
{
"text": "var1",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -755,7 +755,7 @@
"text": [
{
"text": "var2",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -415,7 +415,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -1032,7 +1032,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1049,7 +1049,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1193,7 +1193,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1210,7 +1210,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1447,7 +1447,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1494,7 +1494,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1734,7 +1734,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1781,7 +1781,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2021,7 +2021,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2068,7 +2068,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2308,7 +2308,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2355,7 +2355,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2595,7 +2595,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2642,7 +2642,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2755,7 +2755,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -2934,7 +2934,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3358,7 +3358,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3375,7 +3375,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3392,7 +3392,7 @@
"text": [
{
"text": "d",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3409,7 +3409,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3426,7 +3426,7 @@
"text": [
{
"text": "",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3781,7 +3781,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3798,7 +3798,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3815,7 +3815,7 @@
"text": [
{
"text": "d",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3832,7 +3832,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -3849,7 +3849,7 @@
"text": [
{
"text": "",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4204,7 +4204,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4221,7 +4221,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4238,7 +4238,7 @@
"text": [
{
"text": "d",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4255,7 +4255,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4272,7 +4272,7 @@
"text": [
{
"text": "",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4627,7 +4627,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4644,7 +4644,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4661,7 +4661,7 @@
"text": [
{
"text": "d",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4678,7 +4678,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -4695,7 +4695,7 @@
"text": [
{
"text": "",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5050,7 +5050,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5067,7 +5067,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5084,7 +5084,7 @@
"text": [
{
"text": "d",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5101,7 +5101,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5118,7 +5118,7 @@
"text": [
{
"text": "",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5473,7 +5473,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5490,7 +5490,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5507,7 +5507,7 @@
"text": [
{
"text": "d",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5524,7 +5524,7 @@
"text": [
{
"text": "e",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5541,7 +5541,7 @@
"text": [
{
"text": "",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5665,7 +5665,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5818,7 +5818,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5844,7 +5844,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -5988,7 +5988,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6014,7 +6014,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6158,7 +6158,7 @@
"text": [
{
"text": "foo",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6175,7 +6175,7 @@
"text": [
{
"text": "bar",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6319,7 +6319,7 @@
"text": [
{
"text": "foo",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6336,7 +6336,7 @@
"text": [
{
"text": "bar",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6548,7 +6548,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6565,7 +6565,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6770,7 +6770,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6787,7 +6787,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -6992,7 +6992,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7009,7 +7009,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7214,7 +7214,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7231,7 +7231,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7538,7 +7538,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7555,7 +7555,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7572,7 +7572,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7745,7 +7745,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7762,7 +7762,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7779,7 +7779,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7952,7 +7952,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7969,7 +7969,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -7986,7 +7986,7 @@
"text": [
{
"text": "c",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -409,7 +409,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -382,7 +382,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -408,7 +408,7 @@
"text": [
{
"text": "s",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -90,7 +90,7 @@
"text": [
{
"text": "radius",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -283,7 +283,7 @@
"text": [
{
"text": "predicate",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -300,7 +300,7 @@
"text": [
{
"text": "thisArg",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -546,7 +546,7 @@
"text": [
{
"text": "predicate",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -563,7 +563,7 @@
"text": [
{
"text": "thisArg",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -196,7 +196,7 @@
"text": [
{
"text": "T",
"kind": "text"
"kind": "typeParameterName"
},
{
"text": " ",
@ -222,7 +222,7 @@
"text": [
{
"text": "U, V",
"kind": "text"
"kind": "typeParameterName"
},
{
"text": " ",
@ -239,7 +239,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -256,7 +256,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -477,7 +477,7 @@
"text": [
{
"text": "T",
"kind": "text"
"kind": "typeParameterName"
},
{
"text": " ",
@ -503,7 +503,7 @@
"text": [
{
"text": "U, V",
"kind": "text"
"kind": "typeParameterName"
},
{
"text": " ",
@ -520,7 +520,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -537,7 +537,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -758,7 +758,7 @@
"text": [
{
"text": "T",
"kind": "text"
"kind": "typeParameterName"
},
{
"text": " ",
@ -784,7 +784,7 @@
"text": [
{
"text": "U, V",
"kind": "text"
"kind": "typeParameterName"
},
{
"text": " ",
@ -801,7 +801,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -818,7 +818,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1039,7 +1039,7 @@
"text": [
{
"text": "T",
"kind": "text"
"kind": "typeParameterName"
},
{
"text": " ",
@ -1065,7 +1065,7 @@
"text": [
{
"text": "U, V",
"kind": "text"
"kind": "typeParameterName"
},
{
"text": " ",
@ -1082,7 +1082,7 @@
"text": [
{
"text": "a",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",
@ -1099,7 +1099,7 @@
"text": [
{
"text": "b",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -90,7 +90,7 @@
"text": [
{
"text": "x",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -183,7 +183,7 @@
"text": [
{
"text": "radix",
"kind": "text"
"kind": "parameterName"
},
{
"text": " ",

View file

@ -37,7 +37,7 @@ verify.signatureHelp({
text: "z(a: number | boolean, b: string[]): string",
parameterDocComment: "The first param",
tags: [
{ name: "param", text: [{ kind: "text", text: "a" }, { kind: "space", text: " " }, { kind: "text", text: "The first param" }] },
{ name: "param", text: [{ kind: "text", text: "b" }, { kind: "space", text: " " }, { kind: "text", text: "The second param" }] },
{ name: "param", text: [{ kind: "parameterName", text: "a" }, { kind: "space", text: " " }, { kind: "text", text: "The first param" }] },
{ name: "param", text: [{ kind: "parameterName", text: "b" }, { kind: "space", text: " " }, { kind: "text", text: "The second param" }] },
],
});

View file

@ -0,0 +1,19 @@
/// <reference path='fourslash.ts'/>
// @noEmit: true
// @allowJs: true
// @Filename: quickInfoJsDocTagsCallback.js
/////**
//// * @callback cb/*1*/
//// * @param {string} x - x comment
//// */
////
/////**
//// * @param {/*2*/cb} bar -callback comment
//// */
////function foo(bar) {
//// bar(bar);
////}
verify.baselineQuickInfo();

View file

@ -0,0 +1,24 @@
/// <reference path='fourslash.ts'/>
// @noEmit: true
// @allowJs: true
// @Filename: quickInfoJsDocTagsTypedef.js
/////**
//// * Bar comment
//// * @typedef {Object} /*1*/Bar
//// * @property {string} baz - baz comment
//// * @property {string} qux - qux comment
//// */
////
/////**
//// * foo comment
//// * @param {/*2*/Bar} x - x comment
//// * @returns {Bar}
//// */
////function foo(x) {
//// return x;
////}
verify.baselineQuickInfo();

View file

@ -10,8 +10,8 @@
////fo/*1*/
const tags: ReadonlyArray<FourSlashInterface.JSDocTagInfo> = [
{ name: "param", text: [{ kind: "text", text: "start" }, { kind: "space", text: " " }, { kind: "text", text: "The start" }] },
{ name: "param", text: [{ kind: "text", text: "end" }, { kind: "space", text: " " }, { kind: "text", text: "The end\nMore text" }] },
{ name: "param", text: [{ kind: "parameterName", text: "start" }, { kind: "space", text: " " }, { kind: "text", text: "The start" }] },
{ name: "param", text: [{ kind: "parameterName", text: "end" }, { kind: "space", text: " " }, { kind: "text", text: "The end\nMore text" }] },
];
verify.noSignatureHelp("1");
edit.insert("o");