add something a la CodeModelItem::visibility ?

Milian Wolff mail at milianw.de
Fri Sep 18 19:43:14 UTC 2009


Am Freitag, 18. September 2009 14:52:01 schrieb David Nolden:
> Am Freitag 18 September 2009 13:23:02 schrieb Milian Wolff:
> > Can I add CodeModelItem::GlobalVariable then? I think that would fulfill
> > my needs perfectly.
> 
> The problem is that this flag has no semantic linked to it. It would be
>  better to have a more meaningful flag, that could then be used language-
> independently.

So I should set Kind::Hidden on every (local) _variable_?

Or is it possible to use the uKind and store both in there, i.e. ::Hidden & 
::Variable ? That should work. Though personally that's not really "nice". 
Adding a "GlobalVariable" would imo be much nicer. Is that really so language-
dependent? I'd think pretty much every script language has a concept of 
"global variables".

Please, help me in finding something suitable, else I'm stuck.
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090918/c5151747/attachment.sig>


More information about the KDevelop-devel mailing list