Parsing multi-language files
Sascha Cunz
mail at SaCu.DE
Wed Mar 3 21:58:05 UTC 2004
> > Maybe you misunderstood me a bit: I was talking of the problem, that in
> > Web-Scripts (esp. PHP) you often have to languages in the same file.
>
> no it is exactly the same thing :) with the new CodeModel and the new
> KDevelop SDK you can do it :) [just wait for a few weeks]
>
> class KDevLanguage : public KDevObject
> {
> public:
> ....
> virtual QStringList supportedLanguages() const;
> virtual void parse(const QString &contents, FileDom file,
> QList<KDevNote*> *notes = 0);
> };
Cool!
With some luck, i'll have more time "in a few weeks". If so, i'll then start
rework some stuff in the php support.
Cheers Sascha
More information about the KDevelop-devel
mailing list