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
The Visitor/Visitable trait methods likely all need to be marked unsafe, since they are operating on the raw nodes of the tree. The visitor implementations so far include "Safety" doc-comments requiring read-only access, but it probably should be recorded in the function signature
The visit_with functions work better when they're using a reference pointing to the actual location of N, not a local copy on the stack. For example, the DotPrinter will attempt to print node addresses by converting the given reference into a pointer, but this only really works if the reference points to the actual node location.