public CompletionSource(CompletionSourceProvider provider, ITextBuffer textBuffer) { m_textBuffer = textBuffer; m_sourceProvider = provider; m_parseTreeCache = new ParseTreeCache(); this.m_sourceTextCache = new SourceTextCache(); }
internal Formatter(ParseTreeCache parseTreeProvider) { Requires.NotNull(parseTreeProvider, nameof(parseTreeProvider)); this.parseTreeProvider = parseTreeProvider; this.formattingOptions = new FormattingOptions(); this.ruleMap = RuleMap.Create(); }
public DiagnosticsProvider(ParseTreeCache parseTreeCache) { Requires.NotNull(parseTreeCache, nameof(parseTreeCache)); this.parseTreeCache = parseTreeCache; }
internal FeatureContainer() { this.parseTreeCache = new ParseTreeCache(); this.Formatter = new Formatter(); this.DiagnosticsProvider = new DiagnosticsProvider(this.parseTreeCache); }
internal Colourizer(ParseTreeCache parseTreeCache) { this.ParseTreeCache = parseTreeCache; }