15722e6b64
* Remove referenceGroups/noReferences from fourslash
I left most singleReferenceGroups because there were so many, and my current
PR doesn't affect many of them.
* update fourslash/server too
* Explicitly sort keys
Needed for node 10 compatibility
* Revert "Explicitly sort keys"
This reverts commit 1d1c58a4e3
.
It shouldn't be needed now that we're not testing with node 10
63 lines
1.4 KiB
Plaintext
63 lines
1.4 KiB
Plaintext
// === /tests/cases/fourslash/findAllRefsOfConstructor_withModifier.ts ===
|
|
// class X {
|
|
// public /*FIND ALL REFS*/[|constructor|]() {}
|
|
// }
|
|
// var x = new [|X|]();
|
|
|
|
[
|
|
{
|
|
"definition": {
|
|
"containerKind": "",
|
|
"containerName": "",
|
|
"fileName": "/tests/cases/fourslash/findAllRefsOfConstructor_withModifier.ts",
|
|
"kind": "class",
|
|
"name": "class X",
|
|
"textSpan": {
|
|
"start": 6,
|
|
"length": 1
|
|
},
|
|
"displayParts": [
|
|
{
|
|
"text": "class",
|
|
"kind": "keyword"
|
|
},
|
|
{
|
|
"text": " ",
|
|
"kind": "space"
|
|
},
|
|
{
|
|
"text": "X",
|
|
"kind": "className"
|
|
}
|
|
],
|
|
"contextSpan": {
|
|
"start": 0,
|
|
"length": 39
|
|
}
|
|
},
|
|
"references": [
|
|
{
|
|
"textSpan": {
|
|
"start": 21,
|
|
"length": 11
|
|
},
|
|
"fileName": "/tests/cases/fourslash/findAllRefsOfConstructor_withModifier.ts",
|
|
"contextSpan": {
|
|
"start": 14,
|
|
"length": 23
|
|
},
|
|
"isWriteAccess": false,
|
|
"isDefinition": true
|
|
},
|
|
{
|
|
"textSpan": {
|
|
"start": 52,
|
|
"length": 1
|
|
},
|
|
"fileName": "/tests/cases/fourslash/findAllRefsOfConstructor_withModifier.ts",
|
|
"isWriteAccess": false,
|
|
"isDefinition": false
|
|
}
|
|
]
|
|
}
|
|
] |