@@ -26,74 +26,6 @@ export namespace ServerResponse {
2626 export type Response < T extends Proto . Response > = T | Cancelled | typeof NoContent ;
2727}
2828
29- export namespace ExperimentalProtocol {
30- /**
31- * A request to get encoded semantic classifications for a span in the file
32- */
33- export interface EncodedSemanticClassificationsRequest extends Proto . FileRequest {
34- arguments : EncodedSemanticClassificationsRequestArgs ;
35- }
36-
37- /**
38- * Arguments for EncodedSemanticClassificationsRequest request.
39- */
40- export interface EncodedSemanticClassificationsRequestArgs extends Proto . FileRequestArgs {
41- /**
42- * Start position of the span.
43- */
44- start : number ;
45- /**
46- * Length of the span.
47- */
48- length : number ;
49- }
50-
51- export const enum EndOfLineState {
52- None ,
53- InMultiLineCommentTrivia ,
54- InSingleQuoteStringLiteral ,
55- InDoubleQuoteStringLiteral ,
56- InTemplateHeadOrNoSubstitutionTemplate ,
57- InTemplateMiddleOrTail ,
58- InTemplateSubstitutionPosition ,
59- }
60-
61- export const enum ClassificationType {
62- comment = 1 ,
63- identifier = 2 ,
64- keyword = 3 ,
65- numericLiteral = 4 ,
66- operator = 5 ,
67- stringLiteral = 6 ,
68- regularExpressionLiteral = 7 ,
69- whiteSpace = 8 ,
70- text = 9 ,
71- punctuation = 10 ,
72- className = 11 ,
73- enumName = 12 ,
74- interfaceName = 13 ,
75- moduleName = 14 ,
76- typeParameterName = 15 ,
77- typeAliasName = 16 ,
78- parameterName = 17 ,
79- docCommentTagName = 18 ,
80- jsxOpenTagName = 19 ,
81- jsxCloseTagName = 20 ,
82- jsxSelfClosingTagName = 21 ,
83- jsxAttribute = 22 ,
84- jsxText = 23 ,
85- jsxAttributeStringLiteralValue = 24 ,
86- bigintLiteral = 25 ,
87- }
88-
89- export interface EncodedSemanticClassificationsResponse extends Proto . Response {
90- body ?: {
91- endOfLineState : EndOfLineState ;
92- spans : number [ ] ;
93- } ;
94- }
95- }
96-
9729interface StandardTsServerRequests {
9830 'applyCodeActionCommand' : [ Proto . ApplyCodeActionCommandRequestArgs , Proto . ApplyCodeActionCommandResponse ] ;
9931 'completionEntryDetails' : [ Proto . CompletionDetailsRequestArgs , Proto . CompletionDetailsResponse ] ;
@@ -104,7 +36,6 @@ interface StandardTsServerRequests {
10436 'definitionAndBoundSpan' : [ Proto . FileLocationRequestArgs , Proto . DefinitionInfoAndBoundSpanReponse ] ;
10537 'docCommentTemplate' : [ Proto . FileLocationRequestArgs , Proto . DocCommandTemplateResponse ] ;
10638 'documentHighlights' : [ Proto . DocumentHighlightsRequestArgs , Proto . DocumentHighlightsResponse ] ;
107- 'encodedSemanticClassifications-full' : [ ExperimentalProtocol . EncodedSemanticClassificationsRequestArgs , ExperimentalProtocol . EncodedSemanticClassificationsResponse ] ;
10839 'format' : [ Proto . FormatRequestArgs , Proto . FormatResponse ] ;
10940 'formatonkey' : [ Proto . FormatOnKeyRequestArgs , Proto . FormatResponse ] ;
11041 'getApplicableRefactors' : [ Proto . GetApplicableRefactorsRequestArgs , Proto . GetApplicableRefactorsResponse ] ;
0 commit comments