public FallbackSyntaxClassifier(EmbeddedLanguageInfo info) { _info = info; SyntaxTokenKinds = ImmutableArray.Create(info.StringLiteralTokenKind, info.InterpolatedTextTokenKind); }
protected AbstractEmbeddedLanguagesProvider(EmbeddedLanguageInfo info) { Languages = ImmutableArray.Create <IEmbeddedLanguage>( new RegexEmbeddedLanguage(info), new FallbackEmbeddedLanguage(info)); }
public FallbackEmbeddedLanguage(EmbeddedLanguageInfo info) { Classifier = new FallbackSyntaxClassifier(info); }