I found out that acorn-walk only walks functions that has been exported. Is it intentionally? How can I override this behavior?
I don’t know what you mean by this. It walks trees, not functions. And whether a function has been exported or not should not matter for the functions passed to the walker.