public EmbeddedCompletionContext(
     RegexEmbeddedLanguage language,
     CompletionContext context,
     RegexTree tree,
     SyntaxToken stringToken)
 {
     _language   = language;
     _context    = context;
     _names      = new HashSet <string>();
     Tree        = tree;
     StringToken = stringToken;
     Position    = _context.Position;
     Trigger     = _context.Trigger;
     Items       = new List <RegexItem>();
 }
Beispiel #2
0
 public RegexEmbeddedCompletionProvider(RegexEmbeddedLanguage language)
 => _language = language;
 public RegexDocumentHighlightsService(RegexEmbeddedLanguage language)
 => _language = language;