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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Jun 21 23:56:08 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1094

--- Comment #226 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Here's how the visiting looks like:

walker = Walker()
    for (node, *_) in walker(root):
        with visitor(node):
            pass

As you see all visitors don't need anything but node. I had to temporarily
deprecate TreeVisitor, though; it's the only one which needs paths.

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


More information about the libre-soc-bugs mailing list