Constructor new Visitor(…query, callback) Source: traversal.js, line 157 Parameters: Name Type Attributes Description query QueryLike <repeatable> one or more QueryLike objects to match against nodes callback eachNode called on nodes matching any of the visitor's queries