[cfe-dev] [libclang] Is there any method like get_children (python cindex) available for libclang or alternative to print the tree structure by the traversal method?
carlosviansi at gmail.com
Mon Jun 18 10:48:30 PDT 2012
Thank you Gregory! I am very happy to know that! The available methods on
3.1 work just as fine on the code so I am fine for now! I might be using
other functionalities in a near feature from lib clang which might not be
on the current python interface so I will for sure check on this :)
I very much appreciate your offer on fast-tracking any specific features
and will keep that in mind!
2012/6/18 Gregory Szorc <gregory.szorc at gmail.com>
> On 6/18/12 10:13 AM, David Röthlisberger wrote:
>> The reasons I stayed on C was because I saw few comments that python was
>>> still catching up on making available the methods provided by libclang,
>> That's true in the sense that any new feature must be added to the C
>> interface before it can be added to the python bindings; that is just
>> the nature of foreign bindings. But I don't know how far behind the
>> python bindings are currently lagging (if at all). Gregory Szorc (CCd)
>> is one of the maintainers of the python bindings -- perhaps he can
>> I have a branch of the Clang bindings that are nearly feature complete
> at https://github.com/indygreg/**clang/tree/python_features<https://github.com/indygreg/clang/tree/python_features>.
> However, I /think/ that tree may be busted right now, so use at your own
> For the past ~6 months I've been slowly moving patches from my repository
> into the mainline. It has been a long process. Now that I have Manuel as a
> reliable reviewer, things could start moving faster. I've just been busy
> with other projects.
> If there is a particular feature missing from the in-tree Python bindings,
> I probably have code for it somewhere. If anyone asks kindly, I can
> probably fast-track specific features to the main tree.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev