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)
335
1, 0, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
338
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '('
339
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ')'
340
1, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
344
0, 2, 5, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // '@"one'
345
1, 0, 4, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // 'two '
346
0, 4, 2, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringEscapeCharacter], 0, // '""'
347
1, 0, 6, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // 'three"'
435
0, 18, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ';'
438
1, 0, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
441
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '('
442
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ')'
443
1, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
449
0, 5, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '('
451
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexGrouping], 0, // '('
452
0, 1, 3, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexText], 0, // 'abc'
453
0, 3, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexGrouping], 0, // ')'
454
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexQuantifier], 0, // '*'
456
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ')'
457
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ';'
458
1, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // }
459
1, 0, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // }
553
0, 18, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ';'
556
1, 0, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
559
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '('
560
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ')'
561
1, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '{'
567
0, 5, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // '('
568
0, 1, 2, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // '@"'
569
0, 2, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexGrouping], 0, // '('
570
0, 1, 3, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexText], 0, // 'abc'
571
0, 3, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexGrouping], 0, // ')'
572
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexQuantifier], 0, // '*'
573
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // ' '
574
0, 1, 9, tokenTypeToIndex[
CustomLspSemanticTokenNames
.RegexComment], 0, // '#comment'
575
1, 0, 27, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0, // '"'
576
0, 27, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ','
580
0, 23, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ')'
581
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // ';'
582
1, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // }
583
1, 0, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0, // }
666
0, 7, 4, tokenTypeToIndex[
CustomLspSemanticTokenNames
.ConstantName], 1,
668
0, 2, 2, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
670
0, 5, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
672
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
673
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
674
1, 0, 12, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
676
1, 0, 8, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
677
0, 8, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
678
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.StringVerbatim], 0,
679
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
796
0, 6, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
801
0, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
809
0, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
818
0, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
820
0, 6, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
821
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
824
0, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
826
0, 8, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
828
0, 12, 6, tokenTypeToIndex[
CustomLspSemanticTokenNames
.KeywordControl], 0,
829
0, 6, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
831
0, 8, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
833
0, 4, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
841
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
842
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
850
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
851
0, 1, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,
853
0, 7, 1, tokenTypeToIndex[
CustomLspSemanticTokenNames
.Punctuation], 0,