add something a la CodeModelItem::visibility ?
Milian Wolff
mail at milianw.de
Mon Sep 21 00:37:51 UTC 2009
Milian Wolff, 21.09.2009:
> David Nolden, 21.09.2009:
> > Am Montag 21 September 2009 00:07:06 schrieb Milian Wolff:
> > > In regard to your last email, I can't use this then.
> > >
> > > Could this speedup be "fixed"? I mean this makes it really impossible
> > > for me add anything to setInSymbolTable(false) !
> >
> > When you do "context->setInSymbolTable(false)", you get the same effect
> > as if you did in on the declarations individually, and
> > findLocalDeclarations(..) will work perfectly. Why is that a problem? It
> > usually depends on the context whether something is visible globally or
> > not, not on the item itself.
...
> But for PHP I think this really is not required. I'll just have to make
> sure that each function (not method), constant etc. gets the top-context
> as parent. then I can use the visibility flag on the contexts. I'll try
> that out, thanks.
Worked like a charm, thanks David!
--
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/20090921/41a14da6/attachment.sig>
More information about the KDevelop-devel
mailing list