CodeModel: kind Class

Niko Sams niko.sams at gmail.com
Sat Aug 16 13:45:28 UTC 2008


Hi,

I used the new CodeModel in Php and have now the problem that type for
classes isn't set correctly.
This is because the Declaration is added to the CodeModel (before the
type is set and
so this can't work:
      if(this->kind() == Type && type<StructureType>())
        kind = CodeModelItem::Class;

This is probably not an issue in cpp.

So how can I work around this?

Niko




More information about the KDevelop-devel mailing list