TypeScript/tests/baselines/reference/quickInfoCommentsClass.baseline
Nathan Shively-Sanders 5dbb110497
Baseline completions and signature help (#43049)
* Initial implementation+first big transitions

* about 10 more

* Change baseline filename + more baselines

1. Use containing file name instead of first @Filename.
2. Switch the rest of the tests I need for @link over to baselines.

* fix lint

* Remove unused/incorrectly named fourslash baselines

* fix incorrectly updated baselines

* dedupe non-unique filenames

* Add names to marker baselines

Also rename another duped test filename.

* Fix semicolon lint
2021-03-02 16:33:32 -08:00

1164 lines
22 KiB
Plaintext

[
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 50,
"name": "1"
},
"quickInfo": {
"kind": "class",
"kindModifiers": "",
"textSpan": {
"start": 49,
"length": 2
},
"displayParts": [
{
"text": "class",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c2",
"kind": "className"
}
],
"documentation": [
{
"text": "This is class c2 without constructor",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 61,
"name": "2"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 60,
"length": 2
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "i2",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c2",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 70,
"name": "28"
},
"quickInfo": {
"kind": "constructor",
"kindModifiers": "",
"textSpan": {
"start": 69,
"length": 2
},
"displayParts": [
{
"text": "constructor",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c2",
"kind": "className"
},
{
"text": "(",
"kind": "punctuation"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c2",
"kind": "className"
}
],
"documentation": [
{
"text": "This is class c2 without constructor",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 81,
"name": "4"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 79,
"length": 4
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "i2_c",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "typeof",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c2",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 87,
"name": "5"
},
"quickInfo": {
"kind": "class",
"kindModifiers": "",
"textSpan": {
"start": 86,
"length": 2
},
"displayParts": [
{
"text": "class",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c2",
"kind": "className"
}
],
"documentation": [
{
"text": "This is class c2 without constructor",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 97,
"name": "6"
},
"quickInfo": {
"kind": "class",
"kindModifiers": "",
"textSpan": {
"start": 96,
"length": 2
},
"displayParts": [
{
"text": "class",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c3",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 164,
"name": "7"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 163,
"length": 2
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "i3",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c3",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 173,
"name": "29"
},
"quickInfo": {
"kind": "constructor",
"kindModifiers": "",
"textSpan": {
"start": 172,
"length": 2
},
"displayParts": [
{
"text": "constructor",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c3",
"kind": "className"
},
{
"text": "(",
"kind": "punctuation"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c3",
"kind": "className"
}
],
"documentation": [
{
"text": "Constructor comment",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 184,
"name": "9"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 182,
"length": 4
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "i3_c",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "typeof",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c3",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 190,
"name": "10"
},
"quickInfo": {
"kind": "class",
"kindModifiers": "",
"textSpan": {
"start": 189,
"length": 2
},
"displayParts": [
{
"text": "class",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c3",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 220,
"name": "11"
},
"quickInfo": {
"kind": "class",
"kindModifiers": "",
"textSpan": {
"start": 219,
"length": 2
},
"displayParts": [
{
"text": "class",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c4",
"kind": "className"
}
],
"documentation": [
{
"text": "Class comment",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 287,
"name": "12"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 286,
"length": 2
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "i4",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c4",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 296,
"name": "30"
},
"quickInfo": {
"kind": "constructor",
"kindModifiers": "",
"textSpan": {
"start": 295,
"length": 2
},
"displayParts": [
{
"text": "constructor",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c4",
"kind": "className"
},
{
"text": "(",
"kind": "punctuation"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c4",
"kind": "className"
}
],
"documentation": [
{
"text": "Constructor comment",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 307,
"name": "14"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 305,
"length": 4
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "i4_c",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "typeof",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c4",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 313,
"name": "15"
},
"quickInfo": {
"kind": "class",
"kindModifiers": "",
"textSpan": {
"start": 312,
"length": 2
},
"displayParts": [
{
"text": "class",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c4",
"kind": "className"
}
],
"documentation": [
{
"text": "Class comment",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 348,
"name": "16"
},
"quickInfo": {
"kind": "class",
"kindModifiers": "",
"textSpan": {
"start": 347,
"length": 2
},
"displayParts": [
{
"text": "class",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c5",
"kind": "className"
}
],
"documentation": [
{
"text": "Class with statics",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 382,
"name": "17"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 381,
"length": 2
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "i5",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c5",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 391,
"name": "31"
},
"quickInfo": {
"kind": "constructor",
"kindModifiers": "",
"textSpan": {
"start": 390,
"length": 2
},
"displayParts": [
{
"text": "constructor",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c5",
"kind": "className"
},
{
"text": "(",
"kind": "punctuation"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c5",
"kind": "className"
}
],
"documentation": [
{
"text": "Class with statics",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 403,
"name": "19"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 400,
"length": 4
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "i5_c",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "typeof",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c5",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 408,
"name": "20"
},
"quickInfo": {
"kind": "class",
"kindModifiers": "",
"textSpan": {
"start": 407,
"length": 2
},
"displayParts": [
{
"text": "class",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c5",
"kind": "className"
}
],
"documentation": [
{
"text": "Class with statics",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 459,
"name": "21"
},
"quickInfo": {
"kind": "class",
"kindModifiers": "",
"textSpan": {
"start": 458,
"length": 2
},
"displayParts": [
{
"text": "class",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c6",
"kind": "className"
}
],
"documentation": [
{
"text": "class with statics and constructor",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 570,
"name": "22"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 569,
"length": 2
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "i6",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c6",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 579,
"name": "32"
},
"quickInfo": {
"kind": "constructor",
"kindModifiers": "",
"textSpan": {
"start": 578,
"length": 2
},
"displayParts": [
{
"text": "constructor",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c6",
"kind": "className"
},
{
"text": "(",
"kind": "punctuation"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c6",
"kind": "className"
}
],
"documentation": [
{
"text": "constructor comment",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 590,
"name": "24"
},
"quickInfo": {
"kind": "var",
"kindModifiers": "",
"textSpan": {
"start": 588,
"length": 4
},
"displayParts": [
{
"text": "var",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "i6_c",
"kind": "localName"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "typeof",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c6",
"kind": "className"
}
],
"documentation": []
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 596,
"name": "25"
},
"quickInfo": {
"kind": "class",
"kindModifiers": "",
"textSpan": {
"start": 595,
"length": 2
},
"displayParts": [
{
"text": "class",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "c6",
"kind": "className"
}
],
"documentation": [
{
"text": "class with statics and constructor",
"kind": "text"
}
]
}
},
{
"marker": {
"fileName": "/tests/cases/fourslash/quickInfoCommentsClass.ts",
"position": 935,
"name": "33"
},
"quickInfo": {
"kind": "constructor",
"kindModifiers": "export",
"textSpan": {
"start": 934,
"length": 2
},
"displayParts": [
{
"text": "constructor",
"kind": "keyword"
},
{
"text": " ",
"kind": "space"
},
{
"text": "m",
"kind": "moduleName"
},
{
"text": ".",
"kind": "punctuation"
},
{
"text": "m2",
"kind": "moduleName"
},
{
"text": ".",
"kind": "punctuation"
},
{
"text": "c1",
"kind": "className"
},
{
"text": "(",
"kind": "punctuation"
},
{
"text": ")",
"kind": "punctuation"
},
{
"text": ":",
"kind": "punctuation"
},
{
"text": " ",
"kind": "space"
},
{
"text": "m",
"kind": "moduleName"
},
{
"text": ".",
"kind": "punctuation"
},
{
"text": "m2",
"kind": "moduleName"
},
{
"text": ".",
"kind": "punctuation"
},
{
"text": "c1",
"kind": "className"
}
],
"documentation": [
{
"text": "constructor comment",
"kind": "text"
}
]
}
}
]