mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
getCallLikeInvoker -> getInvokedExpression
This commit is contained in:
@@ -475,7 +475,7 @@ module ts {
|
||||
}
|
||||
}
|
||||
|
||||
export function getCallLikeInvoker(node: CallLikeExpression): Expression {
|
||||
export function getInvokedExpression(node: CallLikeExpression): Expression {
|
||||
if (node.kind === SyntaxKind.TaggedTemplateExpression) {
|
||||
return (<TaggedTemplateExpression>node).tag;
|
||||
}
|
||||
|
||||
@@ -456,7 +456,7 @@ module ts.SignatureHelp {
|
||||
var isTypeParameterList = argumentListInfo.kind === ArgumentListKind.TypeArguments;
|
||||
|
||||
var invocation = argumentListInfo.invocation;
|
||||
var invokerNode = getCallLikeInvoker(invocation)
|
||||
var invokerNode = getInvokedExpression(invocation)
|
||||
var invokerSymbol = typeInfoResolver.getSymbolInfo(invokerNode);
|
||||
var invokerDisplayParts = invokerSymbol && symbolToDisplayParts(typeInfoResolver, invokerSymbol, /*enclosingDeclaration*/ undefined, /*meaning*/ undefined);
|
||||
var items: SignatureHelpItem[] = map(candidates, candidateSignature => {
|
||||
|
||||
Reference in New Issue
Block a user