MCPcopy Index your code
hub / github.com/nodejs/node / enterSubtree

Function enterSubtree

test/fixtures/snapshot/typescript.js:96543–96547  ·  view source on GitHub ↗

* Sets the `HierarchyFacts` for this node prior to visiting this node's subtree, returning the facts set prior to modification. * @param excludeFacts The existing `HierarchyFacts` to reset before visiting the subtree. * @param includeFacts The new `HierarchyFacts` to set before vis

(excludeFacts, includeFacts)

Source from the content-addressed store, hash-verified

96541 * @param includeFacts The new `HierarchyFacts` to set before visiting the subtree.
96542 */
96543 function enterSubtree(excludeFacts, includeFacts) {
96544 var ancestorFacts = hierarchyFacts;
96545 hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & 3 /* HierarchyFacts.AncestorFactsMask */;
96546 return ancestorFacts;
96547 }
96548 /**
96549 * Restores the `HierarchyFacts` for this node's ancestor after visiting this node's
96550 * subtree.

Callers 15

doWithHierarchyFactsFunction · 0.85
visitSourceFileFunction · 0.85
visitForOfStatementFunction · 0.85
visitCaseBlockFunction · 0.85
addConstructorFunction · 0.85
visitArrowFunctionFunction · 0.85
visitFunctionExpressionFunction · 0.85
visitFunctionDeclarationFunction · 0.85
visitBlockFunction · 0.85
visitVariableStatementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…