(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
|
- Source:
- See:
-
module:walkRules
for test properties available that filter the rules inspected