Module: walkSelectors

(require("walkSelectors"))(rules, callback, testopt)

Walk all selectors in rules that have selectors

Parameters:
Name Type Attributes Description
rules Object | Array

AST, array of rules, or single rule

callback function

Function to be executed for each matching rule. Rule passed as the only argument.

test Object <optional>
Properties
Name Type Description
selectors string | RegExp | function | Array

Which selectors the callback runs on

Source:
See:
  • module:walkRules for test properties available that filter the rules inspected