Parsing multi-language files

Roberto Raggi rraggi at trolltech.com
Wed Mar 3 13:02:11 UTC 2004


On Tuesday 02 March 2004 23:53, Sascha Cunz wrote:
> 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);
};

ciao robe




More information about the KDevelop-devel mailing list