From: Eric M. Ludlam <eric@si...> - 2004-02-04 04:24:33
I've updated the analyzer to identify tags from inherited types in
addition to just the immediately local tags. It works ok in a
simplistic C++ example.
It includes changes to semantic-tag-ls (protection info),
semantic-find (a search routine) in addition to the analyzer. I then
found that the info as to what level of inheritance was committed to
was not saved from the C++ parser, nor was I sure where to put it
into the tag structure.
In C++, you can inherit from several parent superclasses at different
protection levels. The data on if it is public or private
inheritance was not stored, so I guessed public inheritance for now.
As our samples grow, we can examine how to answer this question.
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org
Get latest updates about Open Source Projects, Conferences and News.