RFC: Structure of background parser and language support
Alexander Dymo
dymo at ukrpost.ua
Tue Jul 17 21:06:40 UTC 2007
On 7/17/07, Kris Wong <wongk at seapine.com> wrote:
> > This should not be a problem. Currently each bg parser is owned by
> > KDevelop::Language instance, just make KDevelop::LanguageController
> > own the bg parser and change Language to use it.
>
> I went the same route as DUChain and created one static backgroud parser
> that can be accessed via BackgroundParser::self(). Neither Language nor
> LanguageController use the background parser presently.
As I've said on irc, we don't want ICore to be global static because
it's an interface and I think language controller is a good owner for
the bg parser (and maybe duchain as well) as bg parser is certainly
language-oriented.
More information about the KDevelop-devel
mailing list