MCPcopy
hub / github.com/QwikDev/qwik / acceptNode

Function acceptNode

packages/qwik/src/core/container/pause.ts:584–593  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

582 }
583 const walker = parent.ownerDocument.createTreeWalker(parent, SHOW_ELEMENT | SHOW_COMMENT, {
584 acceptNode(node) {
585 if (isContainer(node)) {
586 return FILTER_REJECT;
587 }
588 const v = predicate(node);
589 if (v !== undefined) {
590 results.push(v);
591 }
592 return FILTER_SKIP;
593 },
594 });
595 while (walker.nextNode()) {
596 // do nothing

Callers

nothing calls this directly

Calls 1

isContainerFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…