예제 #1
0
        public RegexEmbeddedLanguageFeatures(
            AbstractEmbeddedLanguageFeaturesProvider provider,
            EmbeddedLanguageInfo info) : base(info)
        {
            _provider = provider;

            DocumentHighlightsService = new RegexDocumentHighlightsService(this);
            CompletionProvider        = new RegexEmbeddedCompletionProvider(this);
        }
예제 #2
0
        public RegexEmbeddedLanguage(
            AbstractEmbeddedLanguageFeaturesProvider provider,
            EmbeddedLanguageInfo info)
        {
            Info       = info;
            Classifier = new RegexSyntaxClassifier(info);

            _provider = provider;

            DocumentHighlightsService = new RegexDocumentHighlightsService(this);
            CompletionProvider        = new RegexEmbeddedCompletionProvider(this);
        }
예제 #3
0
 public RegexEmbeddedLanguageFeatures(EmbeddedLanguageInfo info) : base(info)
 {
     DocumentHighlightsService = new RegexDocumentHighlightsService(this);
     DiagnosticAnalyzer        = new RegexDiagnosticAnalyzer(info);
 }