(node, doNotIncludeArguments)
| 75909 | } |
| 75910 | } |
| 75911 | function getDiagnosticSpanForCallNode(node, doNotIncludeArguments) { |
| 75912 | var start; |
| 75913 | var length; |
| 75914 | var sourceFile = ts.getSourceFileOfNode(node); |
| 75915 | if (ts.isPropertyAccessExpression(node.expression)) { |
| 75916 | var nameSpan = ts.getErrorSpanForNode(sourceFile, node.expression.name); |
| 75917 | start = nameSpan.start; |
| 75918 | length = doNotIncludeArguments ? nameSpan.length : node.end - start; |
| 75919 | } |
| 75920 | else { |
| 75921 | var expressionSpan = ts.getErrorSpanForNode(sourceFile, node.expression); |
| 75922 | start = expressionSpan.start; |
| 75923 | length = doNotIncludeArguments ? expressionSpan.length : node.end - start; |
| 75924 | } |
| 75925 | return { start: start, length: length, sourceFile: sourceFile }; |
| 75926 | } |
| 75927 | function getDiagnosticForCallNode(node, message, arg0, arg1, arg2, arg3) { |
| 75928 | if (ts.isCallExpression(node)) { |
| 75929 | var _a = getDiagnosticSpanForCallNode(node), sourceFile = _a.sourceFile, start = _a.start, length_6 = _a.length; |
no outgoing calls
no test coverage detected