Class CompletionHelpers

Index

Methods

Methods

public static filterContextualMembersList(contextualMemberSymbols: PullSymbol[], existingMembers: PullVisibleSymbolsInfo, fileName: string, position: number): PullSymbol[]

Parameters

Returns

PullSymbol[]

public static getContainingObjectLiteralApplicableForCompletion(sourceUnit: SourceUnitSyntax, position: number): PositionedElement

Parameters

Returns

PositionedElement

public static getNonIdentifierCompleteTokenOnLeft(sourceUnit: SourceUnitSyntax, position: number): PositionedToken

Parameters

Returns

PositionedToken

private static getSpan(ast: any): any

Parameters

  • ast: any

Returns

any

public static getValidCompletionEntryDisplayName(displayName: string): string

Parameters

  • displayName: string

Returns

string

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

Parameters

Returns

boolean

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

Parameters

Returns

boolean

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

Parameters

Returns

boolean

private static symbolDeclarationIntersectsPosition(symbol: any, fileName: any, position: any): any

Parameters

  • symbol: any
  • fileName: any
  • position: any

Returns

any