How to walk the AST produced by parse or parse_file?
Closed this issue · 1 comments
rookiekuan commented
I just don't know the meaning that the second param named "callback_object" in function "visit" of parser.py in this module. How can I leverage this function to walk the AST produced by parse or parse_file? Or maybe other more useful methods to apply to this.
tintinweb commented
Hi @rookiekuan,
There are some examples on how to manually walk the AST in the README and the main file. Another option is to create your own visitor.
hope that helps.
cheers,
tin