1 implementation of ISyntaxClassifier
Microsoft.CodeAnalysis.Workspaces (1)
Classification\SyntaxClassification\AbstractSyntaxClassifier.cs (1)
13
internal abstract class AbstractSyntaxClassifier :
ISyntaxClassifier
26 references to ISyntaxClassifier
Microsoft.CodeAnalysis.Workspaces (26)
Classification\AbstractClassificationService.cs (4)
28
private Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>>? _getNodeClassifiers;
29
private Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>>? _getTokenClassifiers;
186
(Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>>, Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>>) GetExtensionClassifiers(
Classification\SyntaxClassification\AbstractSyntaxClassificationService.cs (5)
22
public abstract ImmutableArray<
ISyntaxClassifier
> GetDefaultSyntaxClassifiers();
30
Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>> getNodeClassifiers,
31
Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>> getTokenClassifiers,
51
Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>> getNodeClassifiers,
52
Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>> getTokenClassifiers,
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (8)
25
private readonly Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>> _getNodeClassifiers;
26
private readonly Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>> _getTokenClassifiers;
38
Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>> getNodeClassifiers,
39
Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>> getTokenClassifiers,
60
Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>> getNodeClassifiers,
61
Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>> getTokenClassifiers,
128
foreach (
var
classifier in _getNodeClassifiers(syntax))
157
foreach (
var
classifier in _getTokenClassifiers(syntax))
Classification\SyntaxClassification\ISyntaxClassificationService.cs (5)
18
ImmutableArray<
ISyntaxClassifier
> GetDefaultSyntaxClassifiers();
38
Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>> getNodeClassifiers,
39
Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>> getTokenClassifiers,
47
Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>> getNodeClassifiers,
48
Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>> getTokenClassifiers,
Classification\SyntaxClassification\SyntaxClassificationExtensions.cs (4)
32
Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>> getNodeClassifiers,
33
Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>> getTokenClassifiers,
51
Func<SyntaxNode, ImmutableArray<
ISyntaxClassifier
>> getNodeClassifiers,
52
Func<SyntaxToken, ImmutableArray<
ISyntaxClassifier
>> getTokenClassifiers,