(file, start, length)
| 15288 | } |
| 15289 | ts.createDiagnosticForNodeFromMessageChain = createDiagnosticForNodeFromMessageChain; |
| 15290 | function assertDiagnosticLocation(file, start, length) { |
| 15291 | ts.Debug.assertGreaterThanOrEqual(start, 0); |
| 15292 | ts.Debug.assertGreaterThanOrEqual(length, 0); |
| 15293 | if (file) { |
| 15294 | ts.Debug.assertLessThanOrEqual(start, file.text.length); |
| 15295 | ts.Debug.assertLessThanOrEqual(start + length, file.text.length); |
| 15296 | } |
| 15297 | } |
| 15298 | function createFileDiagnosticFromMessageChain(file, start, length, messageChain, relatedInformation) { |
| 15299 | assertDiagnosticLocation(file, start, length); |
| 15300 | return { |
no outgoing calls
no test coverage detected
searching dependent graphs…