Class SignatureInfoHelpers

Index

Methods

Methods

public static getActualSignatureInfoFromCallExpression(ast: ICallExpression, caretPosition: number, typeParameterInformation: IPartiallyWrittenTypeArgumentListInformation): ActualSignatureInfo

Parameters

Returns

ActualSignatureInfo

public static getActualSignatureInfoFromPartiallyWritenGenericExpression(caretPosition: number, typeParameterInformation: IPartiallyWrittenTypeArgumentListInformation): ActualSignatureInfo

Parameters

Returns

ActualSignatureInfo

public static getSignatureInfoFromGenericSymbol(symbol: PullSymbol, enclosingScopeSymbol: PullSymbol, compilerState: LanguageServiceCompiler): FormalSignatureItemInfo[]

Parameters

Returns

FormalSignatureItemInfo[]

public static getSignatureInfoFromSignatureSymbol(symbol: PullSymbol, signatures: PullSignatureSymbol[], enclosingScopeSymbol: PullSymbol, compilerState: LanguageServiceCompiler): FormalSignatureItemInfo[]

Parameters

Returns

FormalSignatureItemInfo[]

public static isInPartiallyWrittenTypeArgumentList(syntaxTree: SyntaxTree, position: number): IPartiallyWrittenTypeArgumentListInformation

Parameters

Returns

IPartiallyWrittenTypeArgumentListInformation

public static isSignatureHelpBlocker(sourceUnit: SourceUnitSyntax, position: number): boolean

Parameters

Returns

boolean

public static isTargetOfObjectCreationExpression(positionedToken: PositionedToken): boolean

Parameters

Returns

boolean

private static moveBackUpTillMatchingTokenKind(token: any, tokenKind: any, matchingTokenKind: any): any

Parameters

  • token: any
  • tokenKind: any
  • matchingTokenKind: any

Returns

any