| 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"); |