(element)
| 130926 | } |
| 130927 | } |
| 130928 | function processElement(element) { |
| 130929 | if (!element) { |
| 130930 | return; |
| 130931 | } |
| 130932 | // Ignore nodes that don't intersect the original span to classify. |
| 130933 | if (ts.decodedTextSpanIntersectsWith(spanStart, spanLength, element.pos, element.getFullWidth())) { |
| 130934 | checkForClassificationCancellation(cancellationToken, element.kind); |
| 130935 | for (var _i = 0, _a = element.getChildren(sourceFile); _i < _a.length; _i++) { |
| 130936 | var child = _a[_i]; |
| 130937 | if (!tryClassifyNode(child)) { |
| 130938 | // Recurse into our child nodes. |
| 130939 | processElement(child); |
| 130940 | } |
| 130941 | } |
| 130942 | } |
| 130943 | } |
| 130944 | } |
| 130945 | ts.getEncodedSyntacticClassifications = getEncodedSyntacticClassifications; |
| 130946 | })(ts || (ts = {})); |
no test coverage detected