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
{{ message }}
This repository has been archived by the owner on Dec 29, 2019. It is now read-only.
- when implementing #24, triggered #27
- seems I didn't figure out the right way to use visitor, it is not
dispatched to the right node? or I need to rename
- without override in every subclass, when accept is called, it calls
visitor.visit(this), and this is of abstract class Node, however in
visitor, visit(Node n) just calls n.accept, cause the recursion ...
It is used when traverse ANTLR generated parse tree, also mentioned in ANTLR3 book P113 External Tree Visitor
it seemstheaccept
method, although identical, need to be declared in every subclass of nodeThe text was updated successfully, but these errors were encountered: