69 references to CustomLspSemanticTokenNames
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\SemanticTokensSchema.cs (1)
76
classificationTypeName => IDictionaryExtensions.GetValueOrDefault(s_pureLspDirectTypeMap, classificationTypeName) ??
CustomLspSemanticTokenNames
.ClassificationTypeNameToCustomTokenName[classificationTypeName]));
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (68)
SemanticTokens\SemanticTokensRangeTests.cs (68)
334
1, 0, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
337
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '('
338
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ')'
339
1, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
343
0, 2, 5, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // '@"one'
344
1, 0, 4, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // 'two '
345
0, 4, 2, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringEscapeCharacter], 0, // '""'
346
1, 0, 6, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // 'three"'
434
0, 18, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ';'
437
1, 0, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
440
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '('
441
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ')'
442
1, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
448
0, 5, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '('
450
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexGrouping], 0, // '('
451
0, 1, 3, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexText], 0, // 'abc'
452
0, 3, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexGrouping], 0, // ')'
453
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexQuantifier], 0, // '*'
455
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ')'
456
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ';'
457
1, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // }
458
1, 0, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // }
552
0, 18, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ';'
555
1, 0, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
558
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '('
559
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ')'
560
1, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
566
0, 5, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '('
567
0, 1, 2, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // '@"'
568
0, 2, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexGrouping], 0, // '('
569
0, 1, 3, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexText], 0, // 'abc'
570
0, 3, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexGrouping], 0, // ')'
571
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexQuantifier], 0, // '*'
572
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // ' '
573
0, 1, 9, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexComment], 0, // '#comment'
574
1, 0, 27, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // '"'
575
0, 27, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ','
579
0, 23, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ')'
580
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ';'
581
1, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // }
582
1, 0, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // }
665
0, 7, 4, tokenTypeToIndex[
CustomLspSemanticTokenNames
.ConstantName], 1,
667
0, 2, 2, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
669
0, 5, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
671
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
672
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
673
1, 0, 12, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
675
1, 0, 8, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
676
0, 8, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
677
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
678
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
795
0, 6, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
800
0, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
808
0, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
817
0, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
819
0, 6, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
820
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
823
0, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
825
0, 8, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
827
0, 12, 6, tokenTypeToIndex[
CustomLspSemanticTokenNames
.KeywordControl], 0,
828
0, 6, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
830
0, 8, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
832
0, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
840
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
841
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
849
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
850
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
852
0, 7, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,