74 references to AddClassification
Microsoft.CodeAnalysis.CSharp.Workspaces (74)
Classification\Worker_DocumentationComments.cs (8)
133AddClassification(token, classificationType); 157AddClassification(token, ClassificationTypeNames.XmlDocCommentEntityReference); 165AddClassification(token, ClassificationTypeNames.XmlDocCommentText); 168AddClassification(token, ClassificationTypeNames.XmlDocCommentAttributeValue); 171AddClassification(token, ClassificationTypeNames.XmlDocCommentComment); 174AddClassification(token, ClassificationTypeNames.XmlDocCommentCDataSection); 177AddClassification(token, ClassificationTypeNames.XmlDocCommentProcessingInstruction); 313AddClassification(token, isControlKeyword ? ClassificationTypeNames.ControlKeyword : ClassificationTypeNames.Keyword);
Classification\Worker_Preprocesser.cs (66)
125AddClassification(literal.Token, ClassificationTypeNames.Keyword); 130AddClassification(identifier.Identifier, ClassificationTypeNames.Identifier); 135AddClassification(parenExpression.OpenParenToken, ClassificationTypeNames.Punctuation); 137AddClassification(parenExpression.CloseParenToken, ClassificationTypeNames.Punctuation); 142AddClassification(prefixExpression.OperatorToken, ClassificationTypeNames.Operator); 149AddClassification(binaryExpression.OperatorToken, ClassificationTypeNames.Operator); 156AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 157AddClassification(node.IfKeyword, ClassificationTypeNames.PreprocessorKeyword); 164AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 165AddClassification(node.ElifKeyword, ClassificationTypeNames.PreprocessorKeyword); 172AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 173AddClassification(node.ElseKeyword, ClassificationTypeNames.PreprocessorKeyword); 179AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 180AddClassification(node.EndIfKeyword, ClassificationTypeNames.PreprocessorKeyword); 186AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 187AddClassification(node.ErrorKeyword, ClassificationTypeNames.PreprocessorKeyword); 193AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 194AddClassification(node.WarningKeyword, ClassificationTypeNames.PreprocessorKeyword); 200AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 201AddClassification(node.RegionKeyword, ClassificationTypeNames.PreprocessorKeyword); 207AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 208AddClassification(node.EndRegionKeyword, ClassificationTypeNames.PreprocessorKeyword); 214AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 215AddClassification(node.DefineKeyword, ClassificationTypeNames.PreprocessorKeyword); 216AddClassification(node.Name, ClassificationTypeNames.Identifier); 222AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 223AddClassification(node.UndefKeyword, ClassificationTypeNames.PreprocessorKeyword); 224AddClassification(node.Name, ClassificationTypeNames.Identifier); 230AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 231AddClassification(node.Identifier, ClassificationTypeNames.PreprocessorKeyword); 237AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 238AddClassification(node.LineKeyword, ClassificationTypeNames.PreprocessorKeyword); 244AddClassification(node.Line, ClassificationTypeNames.PreprocessorKeyword); 247AddClassification(node.Line, ClassificationTypeNames.NumericLiteral); 257AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 258AddClassification(node.LineKeyword, ClassificationTypeNames.PreprocessorKeyword); 260AddClassification(node.MinusToken, ClassificationTypeNames.Operator); 271AddClassification(token, classification); 277AddClassification(node.OpenParenToken, ClassificationTypeNames.Punctuation); 278AddClassification(node.Line, ClassificationTypeNames.NumericLiteral); 279AddClassification(node.CommaToken, ClassificationTypeNames.Punctuation); 280AddClassification(node.Character, ClassificationTypeNames.NumericLiteral); 281AddClassification(node.CloseParenToken, ClassificationTypeNames.Punctuation); 286AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 287AddClassification(node.PragmaKeyword, ClassificationTypeNames.PreprocessorKeyword); 288AddClassification(node.ChecksumKeyword, ClassificationTypeNames.PreprocessorKeyword); 289AddClassification(node.File, ClassificationTypeNames.StringLiteral); 290AddClassification(node.Guid, ClassificationTypeNames.StringLiteral); 291AddClassification(node.Bytes, ClassificationTypeNames.StringLiteral); 297AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 298AddClassification(node.PragmaKeyword, ClassificationTypeNames.PreprocessorKeyword); 299AddClassification(node.WarningKeyword, ClassificationTypeNames.PreprocessorKeyword); 300AddClassification(node.DisableOrRestoreKeyword, ClassificationTypeNames.PreprocessorKeyword); 317AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 318AddClassification(node.ReferenceKeyword, ClassificationTypeNames.PreprocessorKeyword); 319AddClassification(node.File, ClassificationTypeNames.StringLiteral); 325AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 326AddClassification(node.LoadKeyword, ClassificationTypeNames.PreprocessorKeyword); 327AddClassification(node.File, ClassificationTypeNames.StringLiteral); 333AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 334AddClassification(node.ColonToken, ClassificationTypeNames.PreprocessorKeyword); 348AddClassification(node.Content, ClassificationTypeNames.PreprocessorKeyword); 356AddClassification(node.HashToken, ClassificationTypeNames.PreprocessorKeyword); 357AddClassification(node.NullableKeyword, ClassificationTypeNames.PreprocessorKeyword); 358AddClassification(node.SettingToken, ClassificationTypeNames.PreprocessorKeyword); 359AddClassification(node.TargetToken, ClassificationTypeNames.PreprocessorKeyword);