[Libre-soc-bugs] [Bug 1094] insndb instruction database visitor-walker is needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Jun 10 17:12:12 BST 2023


--- Comment #105 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Pushed the holy-cow implementation.

Took more code than you like, but most of it are just convenience wrappers
(e.g. some methods in VisitorMeta) and checks (e.g. checking `callable` or
`isinstance(nodecls, type)`). This is just so that users doesn't shoot their
feet and at the same time could use some cool tricks (listing all hooks the
visitor has, checking whether there's a hook for some type, etc.).

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list