idea from clang
Closed this issue · 0 comments
danielkeller commented
clang does something cool - instead of a single recursive overloaded semantic analysis function, it has an interface for walking the AST and calling some function on each node.
could I implement an ast_iterator class?