bip icon indicating copy to clipboard operation
bip copied to clipboard

More consistent API between objects of different types

Open assafcarlsbad opened this issue 2 years ago • 0 comments

Hi,

When dealing with objects of type BipElt or BipFunction, we have the is_user_name property. However, when working with objects of type HxLvar, the semantically identical property is called has_user_name instead. In addition, BipElt and BipFunction provide some useful utility methods such as is_ida_name, is_dummy_name, etc. that are not exposed for HxLvar objects.

Is it possible to create a more consistent API between objects of different types? Thanks!

assafcarlsbad avatar Mar 25 '22 00:03 assafcarlsbad