Function: collectAllNodes()
collectAllNodes(
root):SelectorNode[]
Defined in: packages/core/src/domain/services/selector-matching.ts:202
Recursively collects all nodes in the AST, including the root.
Used by selectBySelector for flat-list filtering.
Parameters
root
The starting AST node
Returns
All nodes in document order