mdecl_wrapper additions and args() query
Brought to you by:
mbaas,
roman_yakovenko
Really like the mdecl_wrapper to assign properties to the declarations.
mdecl_wrapper could be much more useful though if it returns an mdecl_wrapper of the result to access attribute or nest queries.
included is a patched version of mdecl_wrapper that allows queries to be written like this:
a = mb.classes(lambda b: whatever(b)).mem_funs(return_type='void')
> queries the mem_funs of all classes matched
names = a.names.to_list()
> returns a list of all names (nice for debugging)
Additionally if all calldefs would have an arguments() (or .args() to avoid name conflict) that works similarily to classes() or calldefs()
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Feature Requests"
Sorry, for the late response. The patch looks interesting and useful. If you are still interesting in submitting the patch, I would like to discuss with you how this change influences the class interface.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).