3 implementations of IEmbeddedLanguage
Microsoft.CodeAnalysis.Features (3)
EmbeddedLanguages\DateAndTime\LanguageServices\DateAndTimeEmbeddedLanguage.cs (1)
14
internal class DateAndTimeEmbeddedLanguage :
IEmbeddedLanguage
EmbeddedLanguages\Json\LanguageServices\JsonEmbeddedLanguage.cs (1)
11
internal class JsonEmbeddedLanguage :
IEmbeddedLanguage
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedLanguage.cs (1)
14
internal class RegexEmbeddedLanguage :
IEmbeddedLanguage
12 references to IEmbeddedLanguage
Microsoft.CodeAnalysis.Features (12)
Completion\Providers\AbstractAggregateEmbeddedLanguageCompletionProvider.cs (8)
26
/// <see cref="
IEmbeddedLanguage
.CompletionProvider"/>.
32
private ImmutableArray<
IEmbeddedLanguage
> _languageProviders;
44
private static ImmutableHashSet<char> GetTriggerCharactersForEmbeddedLanguage(
IEmbeddedLanguage
language)
60
protected ImmutableArray<
IEmbeddedLanguage
> GetLanguageProviders(Host.LanguageServices? languageServices)
65
ImmutableInterlocked.InterlockedInitialize(ref _languageProviders, languagesProvider?.Languages ?? ImmutableArray<
IEmbeddedLanguage
>.Empty);
75
foreach (
var
language in GetLanguageProviders(languageServices))
92
foreach (
var
language in GetLanguageProviders(context.Document.Project.Services))
114
private
IEmbeddedLanguage
GetLanguage(CompletionItem item)
EmbeddedLanguages\AbstractEmbeddedLanguagesProvider.cs (2)
18
public ImmutableArray<
IEmbeddedLanguage
> Languages { get; }
23
Languages = ImmutableArray.Create<
IEmbeddedLanguage
>(
EmbeddedLanguages\IEmbeddedLanguagesProvider.cs (2)
12
/// individual language services through the <see cref="
IEmbeddedLanguage
"/> interface.
17
ImmutableArray<
IEmbeddedLanguage
> Languages { get; }