@angular/language-server 17.0.0-next.1 → 17.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +288 -62
- package/package.json +5 -3
package/index.js
CHANGED
|
@@ -757,9 +757,9 @@ var require_server_host = __commonJS({
|
|
|
757
757
|
}
|
|
758
758
|
});
|
|
759
759
|
|
|
760
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@angular+language-service@
|
|
760
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@angular+language-service@17.0.0-next.8/node_modules/@angular/language-service/api_bundle.js
|
|
761
761
|
var require_api_bundle = __commonJS({
|
|
762
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@angular+language-service@
|
|
762
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@angular+language-service@17.0.0-next.8/node_modules/@angular/language-service/api_bundle.js"(exports2, module2) {
|
|
763
763
|
var __defProp2 = Object.defineProperty;
|
|
764
764
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
765
765
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -803,9 +803,9 @@ var require_notifications = __commonJS({
|
|
|
803
803
|
}
|
|
804
804
|
});
|
|
805
805
|
|
|
806
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-types@
|
|
806
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-types@3.16.0/node_modules/vscode-languageserver-types/lib/umd/main.js
|
|
807
807
|
var require_main = __commonJS({
|
|
808
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-types@
|
|
808
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-types@3.16.0/node_modules/vscode-languageserver-types/lib/umd/main.js"(exports2, module2) {
|
|
809
809
|
(function(factory) {
|
|
810
810
|
if (typeof module2 === "object" && typeof module2.exports === "object") {
|
|
811
811
|
var v = factory(require, exports2);
|
|
@@ -2095,9 +2095,9 @@ var require_main = __commonJS({
|
|
|
2095
2095
|
}
|
|
2096
2096
|
});
|
|
2097
2097
|
|
|
2098
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2098
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/messages.js
|
|
2099
2099
|
var require_messages = __commonJS({
|
|
2100
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2100
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/messages.js"(exports2) {
|
|
2101
2101
|
"use strict";
|
|
2102
2102
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2103
2103
|
exports2.ProtocolNotificationType = exports2.ProtocolNotificationType0 = exports2.ProtocolRequestType = exports2.ProtocolRequestType0 = exports2.RegistrationType = void 0;
|
|
@@ -2135,9 +2135,9 @@ var require_messages = __commonJS({
|
|
|
2135
2135
|
}
|
|
2136
2136
|
});
|
|
2137
2137
|
|
|
2138
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2138
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js
|
|
2139
2139
|
var require_is = __commonJS({
|
|
2140
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2140
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js"(exports2) {
|
|
2141
2141
|
"use strict";
|
|
2142
2142
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2143
2143
|
exports2.objectLiteral = exports2.typedArray = exports2.stringArray = exports2.array = exports2.func = exports2.error = exports2.number = exports2.string = exports2.boolean = void 0;
|
|
@@ -2180,9 +2180,9 @@ var require_is = __commonJS({
|
|
|
2180
2180
|
}
|
|
2181
2181
|
});
|
|
2182
2182
|
|
|
2183
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2183
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js
|
|
2184
2184
|
var require_protocol_implementation = __commonJS({
|
|
2185
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2185
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js"(exports2) {
|
|
2186
2186
|
"use strict";
|
|
2187
2187
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2188
2188
|
exports2.ImplementationRequest = void 0;
|
|
@@ -2195,9 +2195,9 @@ var require_protocol_implementation = __commonJS({
|
|
|
2195
2195
|
}
|
|
2196
2196
|
});
|
|
2197
2197
|
|
|
2198
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2198
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js
|
|
2199
2199
|
var require_protocol_typeDefinition = __commonJS({
|
|
2200
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2200
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js"(exports2) {
|
|
2201
2201
|
"use strict";
|
|
2202
2202
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2203
2203
|
exports2.TypeDefinitionRequest = void 0;
|
|
@@ -2210,9 +2210,9 @@ var require_protocol_typeDefinition = __commonJS({
|
|
|
2210
2210
|
}
|
|
2211
2211
|
});
|
|
2212
2212
|
|
|
2213
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2213
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolders.js
|
|
2214
2214
|
var require_protocol_workspaceFolders = __commonJS({
|
|
2215
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2215
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolders.js"(exports2) {
|
|
2216
2216
|
"use strict";
|
|
2217
2217
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2218
2218
|
exports2.DidChangeWorkspaceFoldersNotification = exports2.WorkspaceFoldersRequest = void 0;
|
|
@@ -2228,9 +2228,9 @@ var require_protocol_workspaceFolders = __commonJS({
|
|
|
2228
2228
|
}
|
|
2229
2229
|
});
|
|
2230
2230
|
|
|
2231
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2231
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js
|
|
2232
2232
|
var require_protocol_configuration = __commonJS({
|
|
2233
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2233
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js"(exports2) {
|
|
2234
2234
|
"use strict";
|
|
2235
2235
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2236
2236
|
exports2.ConfigurationRequest = void 0;
|
|
@@ -2242,9 +2242,9 @@ var require_protocol_configuration = __commonJS({
|
|
|
2242
2242
|
}
|
|
2243
2243
|
});
|
|
2244
2244
|
|
|
2245
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2245
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js
|
|
2246
2246
|
var require_protocol_colorProvider = __commonJS({
|
|
2247
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2247
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js"(exports2) {
|
|
2248
2248
|
"use strict";
|
|
2249
2249
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2250
2250
|
exports2.ColorPresentationRequest = exports2.DocumentColorRequest = void 0;
|
|
@@ -2261,9 +2261,9 @@ var require_protocol_colorProvider = __commonJS({
|
|
|
2261
2261
|
}
|
|
2262
2262
|
});
|
|
2263
2263
|
|
|
2264
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2264
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js
|
|
2265
2265
|
var require_protocol_foldingRange = __commonJS({
|
|
2266
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2266
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js"(exports2) {
|
|
2267
2267
|
"use strict";
|
|
2268
2268
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2269
2269
|
exports2.FoldingRangeRequest = exports2.FoldingRangeKind = void 0;
|
|
@@ -2282,9 +2282,9 @@ var require_protocol_foldingRange = __commonJS({
|
|
|
2282
2282
|
}
|
|
2283
2283
|
});
|
|
2284
2284
|
|
|
2285
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2285
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js
|
|
2286
2286
|
var require_protocol_declaration = __commonJS({
|
|
2287
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2287
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js"(exports2) {
|
|
2288
2288
|
"use strict";
|
|
2289
2289
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2290
2290
|
exports2.DeclarationRequest = void 0;
|
|
@@ -2297,9 +2297,9 @@ var require_protocol_declaration = __commonJS({
|
|
|
2297
2297
|
}
|
|
2298
2298
|
});
|
|
2299
2299
|
|
|
2300
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2300
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js
|
|
2301
2301
|
var require_protocol_selectionRange = __commonJS({
|
|
2302
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2302
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js"(exports2) {
|
|
2303
2303
|
"use strict";
|
|
2304
2304
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2305
2305
|
exports2.SelectionRangeRequest = void 0;
|
|
@@ -2312,9 +2312,9 @@ var require_protocol_selectionRange = __commonJS({
|
|
|
2312
2312
|
}
|
|
2313
2313
|
});
|
|
2314
2314
|
|
|
2315
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2315
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js
|
|
2316
2316
|
var require_protocol_progress = __commonJS({
|
|
2317
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2317
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js"(exports2) {
|
|
2318
2318
|
"use strict";
|
|
2319
2319
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2320
2320
|
exports2.WorkDoneProgressCancelNotification = exports2.WorkDoneProgressCreateRequest = exports2.WorkDoneProgress = void 0;
|
|
@@ -2339,9 +2339,9 @@ var require_protocol_progress = __commonJS({
|
|
|
2339
2339
|
}
|
|
2340
2340
|
});
|
|
2341
2341
|
|
|
2342
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2342
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js
|
|
2343
2343
|
var require_protocol_callHierarchy = __commonJS({
|
|
2344
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2344
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js"(exports2) {
|
|
2345
2345
|
"use strict";
|
|
2346
2346
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2347
2347
|
exports2.CallHierarchyOutgoingCallsRequest = exports2.CallHierarchyIncomingCallsRequest = exports2.CallHierarchyPrepareRequest = void 0;
|
|
@@ -2364,9 +2364,9 @@ var require_protocol_callHierarchy = __commonJS({
|
|
|
2364
2364
|
}
|
|
2365
2365
|
});
|
|
2366
2366
|
|
|
2367
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2367
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js
|
|
2368
2368
|
var require_protocol_semanticTokens = __commonJS({
|
|
2369
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2369
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js"(exports2) {
|
|
2370
2370
|
"use strict";
|
|
2371
2371
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2372
2372
|
exports2.SemanticTokensRefreshRequest = exports2.SemanticTokensRangeRequest = exports2.SemanticTokensDeltaRequest = exports2.SemanticTokensRequest = exports2.SemanticTokensRegistrationType = exports2.TokenFormat = exports2.SemanticTokens = exports2.SemanticTokenModifiers = exports2.SemanticTokenTypes = void 0;
|
|
@@ -2449,9 +2449,9 @@ var require_protocol_semanticTokens = __commonJS({
|
|
|
2449
2449
|
}
|
|
2450
2450
|
});
|
|
2451
2451
|
|
|
2452
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2452
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js
|
|
2453
2453
|
var require_protocol_showDocument = __commonJS({
|
|
2454
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2454
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js"(exports2) {
|
|
2455
2455
|
"use strict";
|
|
2456
2456
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2457
2457
|
exports2.ShowDocumentRequest = void 0;
|
|
@@ -2464,9 +2464,9 @@ var require_protocol_showDocument = __commonJS({
|
|
|
2464
2464
|
}
|
|
2465
2465
|
});
|
|
2466
2466
|
|
|
2467
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2467
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js
|
|
2468
2468
|
var require_protocol_linkedEditingRange = __commonJS({
|
|
2469
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2469
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js"(exports2) {
|
|
2470
2470
|
"use strict";
|
|
2471
2471
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2472
2472
|
exports2.LinkedEditingRangeRequest = void 0;
|
|
@@ -2479,9 +2479,9 @@ var require_protocol_linkedEditingRange = __commonJS({
|
|
|
2479
2479
|
}
|
|
2480
2480
|
});
|
|
2481
2481
|
|
|
2482
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2482
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js
|
|
2483
2483
|
var require_protocol_fileOperations = __commonJS({
|
|
2484
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2484
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js"(exports2) {
|
|
2485
2485
|
"use strict";
|
|
2486
2486
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2487
2487
|
exports2.WillDeleteFilesRequest = exports2.DidDeleteFilesNotification = exports2.DidRenameFilesNotification = exports2.WillRenameFilesRequest = exports2.DidCreateFilesNotification = exports2.WillCreateFilesRequest = exports2.FileOperationPatternKind = void 0;
|
|
@@ -2524,9 +2524,9 @@ var require_protocol_fileOperations = __commonJS({
|
|
|
2524
2524
|
}
|
|
2525
2525
|
});
|
|
2526
2526
|
|
|
2527
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2527
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js
|
|
2528
2528
|
var require_protocol_moniker = __commonJS({
|
|
2529
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2529
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js"(exports2) {
|
|
2530
2530
|
"use strict";
|
|
2531
2531
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2532
2532
|
exports2.MonikerRequest = exports2.MonikerKind = exports2.UniquenessLevel = void 0;
|
|
@@ -2553,9 +2553,9 @@ var require_protocol_moniker = __commonJS({
|
|
|
2553
2553
|
}
|
|
2554
2554
|
});
|
|
2555
2555
|
|
|
2556
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2556
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.js
|
|
2557
2557
|
var require_protocol = __commonJS({
|
|
2558
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
2558
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/protocol.js"(exports2) {
|
|
2559
2559
|
"use strict";
|
|
2560
2560
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2561
2561
|
exports2.DocumentLinkRequest = exports2.CodeLensRefreshRequest = exports2.CodeLensResolveRequest = exports2.CodeLensRequest = exports2.WorkspaceSymbolRequest = exports2.CodeActionResolveRequest = exports2.CodeActionRequest = exports2.DocumentSymbolRequest = exports2.DocumentHighlightRequest = exports2.ReferencesRequest = exports2.DefinitionRequest = exports2.SignatureHelpRequest = exports2.SignatureHelpTriggerKind = exports2.HoverRequest = exports2.CompletionResolveRequest = exports2.CompletionRequest = exports2.CompletionTriggerKind = exports2.PublishDiagnosticsNotification = exports2.WatchKind = exports2.FileChangeType = exports2.DidChangeWatchedFilesNotification = exports2.WillSaveTextDocumentWaitUntilRequest = exports2.WillSaveTextDocumentNotification = exports2.TextDocumentSaveReason = exports2.DidSaveTextDocumentNotification = exports2.DidCloseTextDocumentNotification = exports2.DidChangeTextDocumentNotification = exports2.TextDocumentContentChangeEvent = exports2.DidOpenTextDocumentNotification = exports2.TextDocumentSyncKind = exports2.TelemetryEventNotification = exports2.LogMessageNotification = exports2.ShowMessageRequest = exports2.ShowMessageNotification = exports2.MessageType = exports2.DidChangeConfigurationNotification = exports2.ExitNotification = exports2.ShutdownRequest = exports2.InitializedNotification = exports2.InitializeError = exports2.InitializeRequest = exports2.WorkDoneProgressOptions = exports2.TextDocumentRegistrationOptions = exports2.StaticRegistrationOptions = exports2.FailureHandlingKind = exports2.ResourceOperationKind = exports2.UnregistrationRequest = exports2.RegistrationRequest = exports2.DocumentSelector = exports2.DocumentFilter = void 0;
|
|
@@ -3015,9 +3015,9 @@ var require_protocol = __commonJS({
|
|
|
3015
3015
|
}
|
|
3016
3016
|
});
|
|
3017
3017
|
|
|
3018
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
3018
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/connection.js
|
|
3019
3019
|
var require_connection = __commonJS({
|
|
3020
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
3020
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/connection.js"(exports2) {
|
|
3021
3021
|
"use strict";
|
|
3022
3022
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3023
3023
|
exports2.createProtocolConnection = void 0;
|
|
@@ -3032,9 +3032,9 @@ var require_connection = __commonJS({
|
|
|
3032
3032
|
}
|
|
3033
3033
|
});
|
|
3034
3034
|
|
|
3035
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
3035
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/api.js
|
|
3036
3036
|
var require_api = __commonJS({
|
|
3037
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
3037
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/common/api.js"(exports2) {
|
|
3038
3038
|
"use strict";
|
|
3039
3039
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
3040
3040
|
if (k2 === void 0)
|
|
@@ -3072,9 +3072,9 @@ var require_api = __commonJS({
|
|
|
3072
3072
|
}
|
|
3073
3073
|
});
|
|
3074
3074
|
|
|
3075
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
3075
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/node/main.js
|
|
3076
3076
|
var require_main2 = __commonJS({
|
|
3077
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@
|
|
3077
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/vscode-languageserver-protocol@3.16.0/node_modules/vscode-languageserver-protocol/lib/node/main.js"(exports2) {
|
|
3078
3078
|
"use strict";
|
|
3079
3079
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
3080
3080
|
if (k2 === void 0)
|
|
@@ -3378,6 +3378,7 @@ var require_completion = __commonJS({
|
|
|
3378
3378
|
var CompletionKind;
|
|
3379
3379
|
(function(CompletionKind2) {
|
|
3380
3380
|
CompletionKind2["attribute"] = "attribute";
|
|
3381
|
+
CompletionKind2["block"] = "block";
|
|
3381
3382
|
CompletionKind2["htmlAttribute"] = "html attribute";
|
|
3382
3383
|
CompletionKind2["property"] = "property";
|
|
3383
3384
|
CompletionKind2["component"] = "component";
|
|
@@ -3424,6 +3425,8 @@ var require_completion = __commonJS({
|
|
|
3424
3425
|
case CompletionKind.reference:
|
|
3425
3426
|
case CompletionKind.variable:
|
|
3426
3427
|
return lsp.CompletionItemKind.Variable;
|
|
3428
|
+
case CompletionKind.block:
|
|
3429
|
+
return lsp.CompletionItemKind.Keyword;
|
|
3427
3430
|
case CompletionKind.entity:
|
|
3428
3431
|
default:
|
|
3429
3432
|
return lsp.CompletionItemKind.Text;
|
|
@@ -5801,9 +5804,9 @@ var require_source_map_support = __commonJS({
|
|
|
5801
5804
|
}
|
|
5802
5805
|
});
|
|
5803
5806
|
|
|
5804
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/typescript@
|
|
5807
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/typescript@5.1.3/node_modules/typescript/lib/typescript.js
|
|
5805
5808
|
var require_typescript = __commonJS({
|
|
5806
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/typescript@
|
|
5809
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/typescript@5.1.3/node_modules/typescript/lib/typescript.js"(exports2, module2) {
|
|
5807
5810
|
"use strict";
|
|
5808
5811
|
var ts = (() => {
|
|
5809
5812
|
var __defProp2 = Object.defineProperty;
|
|
@@ -189061,6 +189064,216 @@ var require_embedded_support = __commonJS({
|
|
|
189061
189064
|
}
|
|
189062
189065
|
});
|
|
189063
189066
|
|
|
189067
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/common/initialize.js
|
|
189068
|
+
var require_initialize = __commonJS({
|
|
189069
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/common/initialize.js"(exports2) {
|
|
189070
|
+
"use strict";
|
|
189071
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
189072
|
+
exports2.OpenJsDocLinkCommandId = void 0;
|
|
189073
|
+
exports2.OpenJsDocLinkCommandId = "angular.openJsDocLink";
|
|
189074
|
+
}
|
|
189075
|
+
});
|
|
189076
|
+
|
|
189077
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/server/src/text_render.js
|
|
189078
|
+
var require_text_render = __commonJS({
|
|
189079
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/server/src/text_render.js"(exports2) {
|
|
189080
|
+
"use strict";
|
|
189081
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
189082
|
+
exports2.documentationToMarkdown = exports2.tagsToMarkdown = exports2.asPlainTextWithLinks = void 0;
|
|
189083
|
+
var initialize_1 = require_initialize();
|
|
189084
|
+
var utils_1 = require_utils();
|
|
189085
|
+
function replaceLinks(text) {
|
|
189086
|
+
return text.replace(/\{@(link|linkplain|linkcode) (https?:\/\/[^ |}]+?)(?:[| ]([^{}\n]+?))?\}/gi, (_, tag, link, text2) => {
|
|
189087
|
+
switch (tag) {
|
|
189088
|
+
case "linkcode":
|
|
189089
|
+
return `[\`${text2 ? text2.trim() : link}\`](${link})`;
|
|
189090
|
+
default:
|
|
189091
|
+
return `[${text2 ? text2.trim() : link}](${link})`;
|
|
189092
|
+
}
|
|
189093
|
+
});
|
|
189094
|
+
}
|
|
189095
|
+
function processInlineTags(text) {
|
|
189096
|
+
return replaceLinks(text);
|
|
189097
|
+
}
|
|
189098
|
+
function getTagBodyText(tag, getScriptInfo) {
|
|
189099
|
+
if (!tag.text) {
|
|
189100
|
+
return void 0;
|
|
189101
|
+
}
|
|
189102
|
+
function makeCodeblock(text2) {
|
|
189103
|
+
if (/^\s*[~`]{3}/m.test(text2)) {
|
|
189104
|
+
return text2;
|
|
189105
|
+
}
|
|
189106
|
+
return "```\n" + text2 + "\n```";
|
|
189107
|
+
}
|
|
189108
|
+
let text = convertLinkTags(tag.text, getScriptInfo);
|
|
189109
|
+
switch (tag.name) {
|
|
189110
|
+
case "example": {
|
|
189111
|
+
text = asPlainText(tag.text);
|
|
189112
|
+
const captionTagMatches = text.match(/<caption>(.*?)<\/caption>\s*(\r\n|\n)/);
|
|
189113
|
+
if (captionTagMatches && captionTagMatches.index === 0) {
|
|
189114
|
+
return captionTagMatches[1] + "\n" + makeCodeblock(text.substr(captionTagMatches[0].length));
|
|
189115
|
+
} else {
|
|
189116
|
+
return makeCodeblock(text);
|
|
189117
|
+
}
|
|
189118
|
+
}
|
|
189119
|
+
case "author": {
|
|
189120
|
+
const emailMatch = text.match(/(.+)\s<([-.\w]+@[-.\w]+)>/);
|
|
189121
|
+
if (emailMatch === null) {
|
|
189122
|
+
return text;
|
|
189123
|
+
} else {
|
|
189124
|
+
return `${emailMatch[1]} ${emailMatch[2]}`;
|
|
189125
|
+
}
|
|
189126
|
+
}
|
|
189127
|
+
case "default":
|
|
189128
|
+
return makeCodeblock(text);
|
|
189129
|
+
}
|
|
189130
|
+
return processInlineTags(text);
|
|
189131
|
+
}
|
|
189132
|
+
function getTagDocumentation(tag, getScriptInfo) {
|
|
189133
|
+
var _a;
|
|
189134
|
+
switch (tag.name) {
|
|
189135
|
+
case "augments":
|
|
189136
|
+
case "extends":
|
|
189137
|
+
case "param":
|
|
189138
|
+
case "template": {
|
|
189139
|
+
const body = getTagBody(tag, getScriptInfo);
|
|
189140
|
+
if ((body === null || body === void 0 ? void 0 : body.length) === 3) {
|
|
189141
|
+
const param = body[1];
|
|
189142
|
+
const doc = body[2];
|
|
189143
|
+
const label2 = `*@${tag.name}* \`${param}\``;
|
|
189144
|
+
if (!doc) {
|
|
189145
|
+
return label2;
|
|
189146
|
+
}
|
|
189147
|
+
return label2 + (doc.match(/\r\n|\n/g) ? " \n" + processInlineTags(doc) : ` \u2014 ${processInlineTags(doc)}`);
|
|
189148
|
+
}
|
|
189149
|
+
break;
|
|
189150
|
+
}
|
|
189151
|
+
case "return":
|
|
189152
|
+
case "returns": {
|
|
189153
|
+
if (!((_a = tag.text) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
189154
|
+
return void 0;
|
|
189155
|
+
}
|
|
189156
|
+
break;
|
|
189157
|
+
}
|
|
189158
|
+
}
|
|
189159
|
+
const label = `*@${tag.name}*`;
|
|
189160
|
+
const text = getTagBodyText(tag, getScriptInfo);
|
|
189161
|
+
if (!text) {
|
|
189162
|
+
return label;
|
|
189163
|
+
}
|
|
189164
|
+
return label + (text.match(/\r\n|\n/g) ? " \n" + text : ` \u2014 ${text}`);
|
|
189165
|
+
}
|
|
189166
|
+
function getTagBody(tag, getScriptInfo) {
|
|
189167
|
+
if (tag.name === "template") {
|
|
189168
|
+
const parts = tag.text;
|
|
189169
|
+
if (parts && typeof parts !== "string") {
|
|
189170
|
+
const params = parts.filter((p) => p.kind === "typeParameterName").map((p) => p.text).join(", ");
|
|
189171
|
+
const docs = parts.filter((p) => p.kind === "text").map((p) => convertLinkTags(p.text.replace(/^\s*-?\s*/, ""), getScriptInfo)).join(" ");
|
|
189172
|
+
return params ? ["", params, docs] : void 0;
|
|
189173
|
+
}
|
|
189174
|
+
}
|
|
189175
|
+
return convertLinkTags(tag.text, getScriptInfo).split(/^(\S+)\s*-?\s*/);
|
|
189176
|
+
}
|
|
189177
|
+
function asPlainText(parts) {
|
|
189178
|
+
if (typeof parts === "string") {
|
|
189179
|
+
return parts;
|
|
189180
|
+
}
|
|
189181
|
+
return parts.map((part) => part.text).join("");
|
|
189182
|
+
}
|
|
189183
|
+
function asPlainTextWithLinks(documentation, getScriptInfo) {
|
|
189184
|
+
return processInlineTags(convertLinkTags(documentation, getScriptInfo));
|
|
189185
|
+
}
|
|
189186
|
+
exports2.asPlainTextWithLinks = asPlainTextWithLinks;
|
|
189187
|
+
function convertLinkTags(documentation, getScriptInfo) {
|
|
189188
|
+
var _a, _b;
|
|
189189
|
+
if (!documentation) {
|
|
189190
|
+
return "";
|
|
189191
|
+
}
|
|
189192
|
+
if (typeof documentation === "string") {
|
|
189193
|
+
return documentation;
|
|
189194
|
+
}
|
|
189195
|
+
const out = [];
|
|
189196
|
+
let currentLink;
|
|
189197
|
+
for (const part of documentation) {
|
|
189198
|
+
switch (part.kind) {
|
|
189199
|
+
case "link":
|
|
189200
|
+
if (currentLink) {
|
|
189201
|
+
if (currentLink.target) {
|
|
189202
|
+
const scriptInfo = getScriptInfo(currentLink.target.fileName);
|
|
189203
|
+
const args = {
|
|
189204
|
+
file: currentLink.target.fileName,
|
|
189205
|
+
position: scriptInfo ? (0, utils_1.tsTextSpanToLspRange)(scriptInfo, currentLink.target.textSpan) : void 0
|
|
189206
|
+
};
|
|
189207
|
+
const command = `command:${initialize_1.OpenJsDocLinkCommandId}?${encodeURIComponent(JSON.stringify(args))}`;
|
|
189208
|
+
const linkText = currentLink.text ? currentLink.text : escapeMarkdownSyntaxTokensForCode((_a = currentLink.name) !== null && _a !== void 0 ? _a : "");
|
|
189209
|
+
out.push(`[${currentLink.linkcode ? "`" + linkText + "`" : linkText}](${command})`);
|
|
189210
|
+
} else {
|
|
189211
|
+
const text = (_b = currentLink.text) !== null && _b !== void 0 ? _b : currentLink.name;
|
|
189212
|
+
if (text) {
|
|
189213
|
+
if (/^https?:/.test(text)) {
|
|
189214
|
+
const parts = text.split(" ");
|
|
189215
|
+
if (parts.length === 1) {
|
|
189216
|
+
out.push(parts[0]);
|
|
189217
|
+
} else if (parts.length > 1) {
|
|
189218
|
+
const linkText = escapeMarkdownSyntaxTokensForCode(parts.slice(1).join(" "));
|
|
189219
|
+
out.push(`[${currentLink.linkcode ? "`" + linkText + "`" : linkText}](${parts[0]})`);
|
|
189220
|
+
}
|
|
189221
|
+
} else {
|
|
189222
|
+
out.push(escapeMarkdownSyntaxTokensForCode(text));
|
|
189223
|
+
}
|
|
189224
|
+
}
|
|
189225
|
+
}
|
|
189226
|
+
currentLink = void 0;
|
|
189227
|
+
} else {
|
|
189228
|
+
currentLink = { linkcode: part.text === "{@linkcode " };
|
|
189229
|
+
}
|
|
189230
|
+
break;
|
|
189231
|
+
case "linkName":
|
|
189232
|
+
if (currentLink) {
|
|
189233
|
+
currentLink.name = part.text;
|
|
189234
|
+
currentLink.target = part.target;
|
|
189235
|
+
}
|
|
189236
|
+
break;
|
|
189237
|
+
case "linkText":
|
|
189238
|
+
if (currentLink) {
|
|
189239
|
+
currentLink.text = part.text;
|
|
189240
|
+
}
|
|
189241
|
+
break;
|
|
189242
|
+
default:
|
|
189243
|
+
out.push(part.text);
|
|
189244
|
+
break;
|
|
189245
|
+
}
|
|
189246
|
+
}
|
|
189247
|
+
return processInlineTags(out.join(""));
|
|
189248
|
+
}
|
|
189249
|
+
function escapeMarkdownSyntaxTokensForCode(text) {
|
|
189250
|
+
return text.replace(/`/g, "\\$&");
|
|
189251
|
+
}
|
|
189252
|
+
function tagsToMarkdown(tags, getScriptInfo) {
|
|
189253
|
+
return tags.map((tag) => getTagDocumentation(tag, getScriptInfo)).join(" \n\n");
|
|
189254
|
+
}
|
|
189255
|
+
exports2.tagsToMarkdown = tagsToMarkdown;
|
|
189256
|
+
function documentationToMarkdown(documentation, tags, getScriptInfo) {
|
|
189257
|
+
const out = [];
|
|
189258
|
+
appendDocumentationAsMarkdown(out, documentation, tags, getScriptInfo);
|
|
189259
|
+
return out;
|
|
189260
|
+
}
|
|
189261
|
+
exports2.documentationToMarkdown = documentationToMarkdown;
|
|
189262
|
+
function appendDocumentationAsMarkdown(out, documentation, tags, getScriptInfo) {
|
|
189263
|
+
if (documentation) {
|
|
189264
|
+
out.push(asPlainTextWithLinks(documentation, getScriptInfo));
|
|
189265
|
+
}
|
|
189266
|
+
if (tags) {
|
|
189267
|
+
const tagsPreview = tagsToMarkdown(tags, getScriptInfo);
|
|
189268
|
+
if (tagsPreview) {
|
|
189269
|
+
out.push("\n\n" + tagsPreview);
|
|
189270
|
+
}
|
|
189271
|
+
}
|
|
189272
|
+
return out;
|
|
189273
|
+
}
|
|
189274
|
+
}
|
|
189275
|
+
});
|
|
189276
|
+
|
|
189064
189277
|
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/server/src/session.js
|
|
189065
189278
|
var require_session = __commonJS({
|
|
189066
189279
|
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/server/src/session.js"(exports2) {
|
|
@@ -189110,6 +189323,7 @@ var require_session = __commonJS({
|
|
|
189110
189323
|
var completion_1 = require_completion();
|
|
189111
189324
|
var diagnostic_1 = require_diagnostic();
|
|
189112
189325
|
var embedded_support_1 = require_embedded_support();
|
|
189326
|
+
var text_render_1 = require_text_render();
|
|
189113
189327
|
var utils_1 = require_utils();
|
|
189114
189328
|
var LanguageId;
|
|
189115
189329
|
(function(LanguageId2) {
|
|
@@ -189626,7 +189840,7 @@ var require_session = __commonJS({
|
|
|
189626
189840
|
foldingRangeProvider: true,
|
|
189627
189841
|
codeLensProvider: { resolveProvider: true },
|
|
189628
189842
|
textDocumentSync: lsp.TextDocumentSyncKind.Incremental,
|
|
189629
|
-
completionProvider: { resolveProvider: true, triggerCharacters: ["<", ".", "*", "[", "(", "$", "|"] },
|
|
189843
|
+
completionProvider: { resolveProvider: true, triggerCharacters: ["<", ".", "*", "[", "(", "$", "|", "@"] },
|
|
189630
189844
|
definitionProvider: true,
|
|
189631
189845
|
typeDefinitionProvider: true,
|
|
189632
189846
|
referencesProvider: true,
|
|
@@ -189745,21 +189959,27 @@ var require_session = __commonJS({
|
|
|
189745
189959
|
}
|
|
189746
189960
|
onFoldingRanges(params) {
|
|
189747
189961
|
var _a, _b;
|
|
189748
|
-
if (!((_a = params.textDocument.uri) === null || _a === void 0 ? void 0 : _a.endsWith("ts"))) {
|
|
189749
|
-
return null;
|
|
189750
|
-
}
|
|
189751
189962
|
const lsInfo = this.getLSAndScriptInfo(params.textDocument);
|
|
189752
189963
|
if (lsInfo === null) {
|
|
189753
189964
|
return null;
|
|
189754
189965
|
}
|
|
189755
|
-
const { scriptInfo } = lsInfo;
|
|
189966
|
+
const { scriptInfo, languageService } = lsInfo;
|
|
189967
|
+
const angularOutliningSpans = languageService.getOutliningSpans(scriptInfo.fileName);
|
|
189968
|
+
const angularFoldingRanges = angularOutliningSpans.map((outliningSpan) => {
|
|
189969
|
+
const range = (0, utils_1.tsTextSpanToLspRange)(scriptInfo, { start: outliningSpan.textSpan.start, length: outliningSpan.textSpan.length });
|
|
189970
|
+
const endLine = Math.max(range.end.line - 1, range.start.line);
|
|
189971
|
+
return lsp.FoldingRange.create(range.start.line, endLine);
|
|
189972
|
+
});
|
|
189973
|
+
if (!((_a = params.textDocument.uri) === null || _a === void 0 ? void 0 : _a.endsWith("ts"))) {
|
|
189974
|
+
return angularFoldingRanges;
|
|
189975
|
+
}
|
|
189756
189976
|
const sf = (_b = this.getDefaultProjectForScriptInfo(scriptInfo)) === null || _b === void 0 ? void 0 : _b.getSourceFile(scriptInfo.path);
|
|
189757
189977
|
if (sf === void 0) {
|
|
189758
189978
|
return null;
|
|
189759
189979
|
}
|
|
189760
189980
|
const virtualHtmlDocContents = (0, embedded_support_1.getHTMLVirtualContent)(sf);
|
|
189761
189981
|
const virtualHtmlDoc = vscode_languageserver_textdocument_1.TextDocument.create(params.textDocument.uri.toString(), "html", 0, virtualHtmlDocContents);
|
|
189762
|
-
return htmlLS.getFoldingRanges(virtualHtmlDoc);
|
|
189982
|
+
return [...htmlLS.getFoldingRanges(virtualHtmlDoc), ...angularFoldingRanges];
|
|
189763
189983
|
}
|
|
189764
189984
|
onDefinition(params) {
|
|
189765
189985
|
var _a, _b, _c;
|
|
@@ -189961,7 +190181,7 @@ var require_session = __commonJS({
|
|
|
189961
190181
|
if (!info) {
|
|
189962
190182
|
return null;
|
|
189963
190183
|
}
|
|
189964
|
-
const { kind, kindModifiers, textSpan, displayParts, documentation } = info;
|
|
190184
|
+
const { kind, kindModifiers, textSpan, displayParts, documentation, tags } = info;
|
|
189965
190185
|
let desc = kindModifiers ? kindModifiers + " " : "";
|
|
189966
190186
|
if (displayParts && displayParts.length > 0) {
|
|
189967
190187
|
desc += displayParts.map((dp) => dp.text).join("");
|
|
@@ -189972,11 +190192,11 @@ var require_session = __commonJS({
|
|
|
189972
190192
|
language: "typescript",
|
|
189973
190193
|
value: desc
|
|
189974
190194
|
}];
|
|
189975
|
-
|
|
189976
|
-
|
|
189977
|
-
|
|
189978
|
-
|
|
189979
|
-
|
|
190195
|
+
const mds = (0, text_render_1.documentationToMarkdown)(documentation, tags, (fileName) => {
|
|
190196
|
+
var _a;
|
|
190197
|
+
return (_a = this.getLSAndScriptInfo(fileName)) === null || _a === void 0 ? void 0 : _a.scriptInfo;
|
|
190198
|
+
});
|
|
190199
|
+
contents.push(mds.join("\n"));
|
|
189980
190200
|
return {
|
|
189981
190201
|
contents,
|
|
189982
190202
|
range: (0, utils_1.tsTextSpanToLspRange)(scriptInfo, textSpan)
|
|
@@ -190023,7 +190243,7 @@ var require_session = __commonJS({
|
|
|
190023
190243
|
if (details === void 0) {
|
|
190024
190244
|
return item;
|
|
190025
190245
|
}
|
|
190026
|
-
const { kind, kindModifiers, displayParts, documentation } = details;
|
|
190246
|
+
const { kind, kindModifiers, displayParts, documentation, tags } = details;
|
|
190027
190247
|
let desc = kindModifiers ? kindModifiers + " " : "";
|
|
190028
190248
|
if (displayParts && displayParts.length > 0) {
|
|
190029
190249
|
desc += displayParts.map((dp) => dp.text).join("");
|
|
@@ -190031,7 +190251,13 @@ var require_session = __commonJS({
|
|
|
190031
190251
|
desc += kind;
|
|
190032
190252
|
}
|
|
190033
190253
|
item.detail = desc;
|
|
190034
|
-
item.documentation =
|
|
190254
|
+
item.documentation = {
|
|
190255
|
+
kind: lsp.MarkupKind.Markdown,
|
|
190256
|
+
value: (0, text_render_1.documentationToMarkdown)(documentation, tags, (fileName) => {
|
|
190257
|
+
var _a2;
|
|
190258
|
+
return (_a2 = this.getLSAndScriptInfo(fileName)) === null || _a2 === void 0 ? void 0 : _a2.scriptInfo;
|
|
190259
|
+
}).join("\n")
|
|
190260
|
+
};
|
|
190035
190261
|
return item;
|
|
190036
190262
|
}
|
|
190037
190263
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/language-server",
|
|
3
3
|
"description": "LSP server for Angular Language Service",
|
|
4
|
-
"version": "17.0.0-next.
|
|
4
|
+
"version": "17.0.0-next.2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/angular/vscode-ng-language-service.git"
|
|
@@ -15,12 +15,14 @@
|
|
|
15
15
|
"ngserver": "./bin/ngserver"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@angular/language-service": "17.0.0-next.
|
|
18
|
+
"@angular/language-service": "17.0.0-next.8",
|
|
19
19
|
"vscode-html-languageservice": "^4.2.5",
|
|
20
20
|
"vscode-jsonrpc": "6.0.0",
|
|
21
21
|
"vscode-languageserver": "7.0.0",
|
|
22
22
|
"vscode-languageserver-textdocument": "^1.0.7",
|
|
23
|
-
"vscode-uri": "3.0.7"
|
|
23
|
+
"vscode-uri": "3.0.7"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
24
26
|
"test": "3.3.0"
|
|
25
27
|
},
|
|
26
28
|
"publishConfig": {
|