internal SinkManager(CompilationTaggerProvider compilationTaggerProvider, ITableDataSink sink) { _compilationTaggerProvider = compilationTaggerProvider; _sink = sink; _compilationTaggerProvider.AddSinkManager(this); }
public BackgroundCompilation(CompilationTaggerProvider provider, ITextBuffer textBuffer) { this.provider = provider; this.textBuffer = new WeakReference <ITextBuffer>(textBuffer); this.cancellationTokenSource = new CancellationTokenSource(); this.compilationSnapshot = MetaDslx.VisualStudio.Classification.CompilationSnapshot.Default; this.backgroundCompilationSnapshot = MetaDslx.VisualStudio.Classification.CompilationSnapshot.Default; }
public CompilationSymbolTagger(CompilationTaggerProvider taggerProvider, BackgroundCompilation backgroundCompilation) : base(taggerProvider, backgroundCompilation) { }
public CompilationTagger(CompilationTaggerProvider taggerProvider, BackgroundCompilation backgroundCompilation) { this.taggerProvider = taggerProvider; this.backgroundCompilation = backgroundCompilation; this.backgroundCompilation.CompilationChanged += CompilationChanged; }
public CompilationErrorTagger(CompilationTaggerProvider taggerProvider, BackgroundCompilation backgroundCompilation) : base(taggerProvider, backgroundCompilation) { this.Factory = new CompilationErrorsFactory(this, new CompilationErrorsSnapshot(backgroundCompilation.FilePath, 0, backgroundCompilation.CompilationSnapshot)); taggerProvider.AddCompilationErrorsFactory(this.Factory); }