* Used for `deepScan` scanner to notify the subtree that the specified * property has changed and needs to be recalculated. * * Scans are relatively common and this method exists (as opposed to be * inlined) only to avoid frequent function allocation. * * @param {IContextProp<?, ?>
(prop)
| 295 | * @protected Necessary for cross-binary access. |
| 296 | */ |
| 297 | scan(prop) { |
| 298 | this.ping(prop, true); |
| 299 | if (!isRecursive(prop)) { |
| 300 | // Stop the deepscan. The prop doesn't propagate. |
| 301 | return false; |
| 302 | } |
| 303 | if (this.has(prop)) { |
| 304 | // Stop the deepscan. The node will propagate changes downstream. |
| 305 | return false; |
| 306 | } |
| 307 | return true; |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * Used for `deepScan` scanner to notify the subtree to recalculate all |
no test coverage detected