69 references to CustomLspSemanticTokenNames
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\SemanticTokensSchema.cs (1)
76classificationTypeName => IDictionaryExtensions.GetValueOrDefault(s_pureLspDirectTypeMap, classificationTypeName) ?? CustomLspSemanticTokenNames.ClassificationTypeNameToCustomTokenName[classificationTypeName]));
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (68)
SemanticTokens\SemanticTokensRangeTests.cs (68)
3351, 0, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{' 3380, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '(' 3390, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ')' 3401, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{' 3440, 2, 5, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // '@"one' 3451, 0, 4, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // 'two ' 3460, 4, 2, tokenTypeToIndex[CustomLspSemanticTokenNames.StringEscapeCharacter], 0, // '""' 3471, 0, 6, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // 'three"' 4350, 18, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ';' 4381, 0, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{' 4410, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '(' 4420, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ')' 4431, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{' 4490, 5, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '(' 4510, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexGrouping], 0, // '(' 4520, 1, 3, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexText], 0, // 'abc' 4530, 3, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexGrouping], 0, // ')' 4540, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexQuantifier], 0, // '*' 4560, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ')' 4570, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ';' 4581, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // } 4591, 0, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // } 5530, 18, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ';' 5561, 0, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{' 5590, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '(' 5600, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ')' 5611, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '{' 5670, 5, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // '(' 5680, 1, 2, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // '@"' 5690, 2, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexGrouping], 0, // '(' 5700, 1, 3, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexText], 0, // 'abc' 5710, 3, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexGrouping], 0, // ')' 5720, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexQuantifier], 0, // '*' 5730, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // ' ' 5740, 1, 9, tokenTypeToIndex[CustomLspSemanticTokenNames.RegexComment], 0, // '#comment' 5751, 0, 27, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, // '"' 5760, 27, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ',' 5800, 23, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ')' 5810, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // ';' 5821, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // } 5831, 0, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, // } 6660, 7, 4, tokenTypeToIndex[CustomLspSemanticTokenNames.ConstantName], 1, 6680, 2, 2, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, 6700, 5, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, 6720, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, 6730, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 6741, 0, 12, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, 6761, 0, 8, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, 6770, 8, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 6780, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.StringVerbatim], 0, 6790, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 7960, 6, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8010, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8090, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8180, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8200, 6, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8210, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8240, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8260, 8, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8280, 12, 6, tokenTypeToIndex[CustomLspSemanticTokenNames.KeywordControl], 0, 8290, 6, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8310, 8, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8330, 4, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8410, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8420, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8500, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8510, 1, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0, 8530, 7, 1, tokenTypeToIndex[CustomLspSemanticTokenNames.Punctuation], 0,