robotpy / robotpy-cppheaderparser

DEPRECATED: use cxxheaderparser instead
Other
123 stars 39 forks source link

Add access property to 'using' CppVariable #71

Closed davidcaron closed 3 years ago

davidcaron commented 3 years ago

properties, typedefs, etc. are stored in a dict where the key is the access specifier. But for using, the key is the variable name.

Unless I missed it, for using there is currently no way to get the access specifier... so this PR intends to add it.

auscompgeek commented 3 years ago

Seems like a reasonable change. Could you please add a test for this?

davidcaron commented 3 years ago

Done, I kind of hijacked another test case, I have no problem if you prefer a specific test case.