You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most passes aren't interested in, for example, types, yet the default visitor runs through all type nodes on every walk anyway.
We could provide several variants of default_visitor(), which descend into different subsets of the AST, and make sure each pass uses the right variant.
The text was updated successfully, but these errors were encountered:
There's no bitv. A pass has function values for entering each kind of node. You can pass no-op functions for nodes that don't contain anything interesting.
Most passes aren't interested in, for example, types, yet the default visitor runs through all type nodes on every walk anyway.
We could provide several variants of
default_visitor()
, which descend into different subsets of the AST, and make sure each pass uses the right variant.The text was updated successfully, but these errors were encountered: