MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / mayMatch

Method mayMatch

packages/core/ui/styling/css-selector.ts:671–673  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

669 }
670
671 public mayMatch(node: Node): boolean {
672 return this.getMatchingNode(node, false) != null;
673 }
674
675 public trackChanges(node: Node, map: ChangeAccumulator): void {
676 this.selectors.forEach((sel, i) => {

Callers 6

accumulateChangesFunction · 0.45
mayMatchMethod · 0.45
accumulateChangesMethod · 0.45
trackChangesMethod · 0.45
mayMatchMethod · 0.45
trackChangesMethod · 0.45

Calls 1

getMatchingNodeMethod · 0.95

Tested by

no test coverage detected