示例#1
0
 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>();
 }
示例#2
0
 public RegexBraceMatcher(RegexEmbeddedLanguage language)
 {
     _language = language;
 }
 public RegexDocumentHighlightsService(RegexEmbeddedLanguage language)
 {
     _language = language;
 }
示例#4
0
 public RegexEmbeddedCompletionProvider(RegexEmbeddedLanguage language)
 => _language = language;