public CompletionSource(CompletionSourceProvider provider, ITextBuffer textBuffer)
 {
     m_textBuffer           = textBuffer;
     m_sourceProvider       = provider;
     m_parseTreeCache       = new ParseTreeCache();
     this.m_sourceTextCache = new SourceTextCache();
 }
示例#2
0
        internal Formatter(ParseTreeCache parseTreeProvider)
        {
            Requires.NotNull(parseTreeProvider, nameof(parseTreeProvider));

            this.parseTreeProvider = parseTreeProvider;
            this.formattingOptions = new FormattingOptions();
            this.ruleMap           = RuleMap.Create();
        }
示例#3
0
        internal Formatter(ParseTreeCache parseTreeProvider)
        {
            Requires.NotNull(parseTreeProvider, nameof(parseTreeProvider));

            this.parseTreeProvider = parseTreeProvider;
            this.formattingOptions = new FormattingOptions();
            this.ruleMap = RuleMap.Create();
        }
示例#4
0
        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);
 }
示例#6
0
 internal Colourizer(ParseTreeCache parseTreeCache)
 {
     this.ParseTreeCache = parseTreeCache;
 }
示例#7
0
 internal Colourizer(ParseTreeCache parseTreeCache)
 {
     this.ParseTreeCache = parseTreeCache;
 }
示例#8
0
        public DiagnosticsProvider(ParseTreeCache parseTreeCache)
        {
            Requires.NotNull(parseTreeCache, nameof(parseTreeCache));

            this.parseTreeCache = parseTreeCache;
        }