Tree walker for esprima