mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 11:35:42 -06:00
getCallLikeInvoker -> getInvokedExpression
This commit is contained in:
parent
b98f6b4688
commit
db69ec1da6
@ -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 => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user