(name, targetFileName, unverified)
| 140081 | } |
| 140082 | GoToDefinition.findReferenceInPosition = findReferenceInPosition; |
| 140083 | function getDefinitionInfoForFileReference(name, targetFileName, unverified) { |
| 140084 | return { |
| 140085 | fileName: targetFileName, |
| 140086 | textSpan: ts.createTextSpanFromBounds(0, 0), |
| 140087 | kind: "script" /* ScriptElementKind.scriptElement */, |
| 140088 | name: name, |
| 140089 | containerName: undefined, |
| 140090 | containerKind: undefined, |
| 140091 | unverified: unverified, |
| 140092 | }; |
| 140093 | } |
| 140094 | /** Returns a CallLikeExpression where `node` is the target being invoked. */ |
| 140095 | function getAncestorCallLikeExpression(node) { |
| 140096 | var target = ts.findAncestor(node, function (n) { return !ts.isRightSideOfPropertyAccess(n); }); |
no outgoing calls
no test coverage detected