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

Function shouldCheckNode

test/fixtures/snapshot/typescript.js:38495–38503  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

38493 }
38494 }
38495 function shouldCheckNode(node) {
38496 switch (node.kind) {
38497 case 10 /* SyntaxKind.StringLiteral */:
38498 case 8 /* SyntaxKind.NumericLiteral */:
38499 case 79 /* SyntaxKind.Identifier */:
38500 return true;
38501 }
38502 return false;
38503 }
38504 function adjustIntersectingElement(element, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta) {
38505 ts.Debug.assert(element.end >= changeStart, "Adjusting an element that was entirely before the change range");
38506 ts.Debug.assert(element.pos <= changeRangeOldEnd, "Adjusting an element that was entirely after the change range");

Callers 1

visitNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected