bip
bip copied to clipboard
More consistent API between objects of different types
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!