I\'m playing with python ast (abstract syntax tree).
I wrote the following and it visited all nodes of the AST.
import ast class Py2Neko(ast.NodeVisito
For non-terminal nodes, your visit function has to visit the children. See Simple example of how to use ast.NodeVisitor? for some more information.