Visit nodes in the abstract syntax tree