Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More consistent API between objects of different types #25

Open
assafcarlsbad opened this issue Mar 25, 2022 · 0 comments
Open

More consistent API between objects of different types #25

assafcarlsbad opened this issue Mar 25, 2022 · 0 comments

Comments

@assafcarlsbad
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant