예제 #1
0
        internal SinkManager(CompilationTaggerProvider compilationTaggerProvider, ITableDataSink sink)
        {
            _compilationTaggerProvider = compilationTaggerProvider;
            _sink = sink;

            _compilationTaggerProvider.AddSinkManager(this);
        }
예제 #2
0
 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)
 {
 }
예제 #4
0
 public CompilationTagger(CompilationTaggerProvider taggerProvider, BackgroundCompilation backgroundCompilation)
 {
     this.taggerProvider        = taggerProvider;
     this.backgroundCompilation = backgroundCompilation;
     this.backgroundCompilation.CompilationChanged += CompilationChanged;
 }
예제 #5
0
 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);
 }