trigger events based on esquery selectors during a traversal of a SpiderMonkey format AST