Constructor new WithinScope(instance, nqlOrRules, options, func) Create a WithinScope Source: scope.js, line 34 Parameters: Name Type Description instance Instance nqlOrRules string | Object nql or rules to find nodes. options QueryOptions func function a function to be called if rules are matched. Extends Scope Methods processSync() Find out the matching nodes. It checks the current node and iterates all child nodes, then run the function code on each matching node. Source: scope.js, line 53