Function: selectNodes()
selectNodes(
root,rule):SelectorNode[]
Defined in: packages/core/src/domain/services/rule-evaluator.ts:78
Selects nodes from the AST according to the rule's path or selector, defaulting to the root.
Parameters
root
The AST root node to select from
rule
The validation rule containing the selection criteria
Returns
The matched AST nodes