Class LanguageServiceShim

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(factory: IShimFactory, host: ILanguageServiceShimHost, languageService: ILanguageService): LanguageServiceShim

Parameters

Returns

LanguageServiceShim

Properties

private host: any

public languageService: ILanguageService

private logger: any

Methods

private _navigateToItemsToString(items: any): any

Parameters

  • items: any

Returns

any

public cleanupSemanticCache()

public dispose(dummy: any)

Parameters

  • dummy: any

public forwardJSONCall(actionDescription: string, action: () => any): string

Parameters

  • actionDescription: string
  • action: () => any

Returns

string

public getBraceMatchingAtPosition(fileName: string, position: number): string

Parameters

  • fileName: string
  • position: number

Returns

string

public getBreakpointStatementAtPosition(fileName: string, position: number): string

Parameters

  • fileName: string
  • position: number

Returns

string

public getCompilerOptionsDiagnostics(): string

Returns

string

public getCompletionEntryDetails(fileName: string, position: number, entryName: string): string

Parameters

  • fileName: string
  • position: number
  • entryName: string

Returns

string

public getCompletionsAtPosition(fileName: string, position: number, isMemberCompletion: boolean): string

Parameters

  • fileName: string
  • position: number
  • isMemberCompletion: boolean

Returns

string

public getDefinitionAtPosition(fileName: string, position: number): string

Parameters

  • fileName: string
  • position: number

Returns

string

public getEmitOutput(fileName: string): string

Parameters

  • fileName: string

Returns

string

public getFormattingEditsAfterKeystroke(fileName: string, position: number, key: string, options: string): string

Parameters

  • fileName: string
  • position: number
  • key: string
  • options: string

Returns

string

public getFormattingEditsForDocument(fileName: string, minChar: number, limChar: number, options: string): string

Parameters

  • fileName: string
  • minChar: number
  • limChar: number
  • options: string

Returns

string

public getFormattingEditsForRange(fileName: string, minChar: number, limChar: number, options: string): string

Parameters

  • fileName: string
  • minChar: number
  • limChar: number
  • options: string

Returns

string

public getFormattingEditsOnPaste(fileName: string, minChar: number, limChar: number, options: string): string

Parameters

  • fileName: string
  • minChar: number
  • limChar: number
  • options: string

Returns

string

public getImplementorsAtPosition(fileName: string, position: number): string

Parameters

  • fileName: string
  • position: number

Returns

string

public getIndentationAtPosition(fileName: string, position: number, options: string): string

Parameters

  • fileName: string
  • position: number
  • options: string

Returns

string

public getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): string

Parameters

  • fileName: string
  • startPos: number
  • endPos: number

Returns

string

public getNavigateToItems(searchValue: string): string

Parameters

  • searchValue: string

Returns

string

public getOccurrencesAtPosition(fileName: string, position: number): string

Parameters

  • fileName: string
  • position: number

Returns

string

public getOutliningRegions(fileName: string): string

Parameters

  • fileName: string

Returns

string

public getReferencesAtPosition(fileName: string, position: number): string

Parameters

  • fileName: string
  • position: number

Returns

string

public getScriptLexicalStructure(fileName: string): string

Parameters

  • fileName: string

Returns

string

public getSemanticDiagnostics(fileName: string): string

Parameters

  • fileName: string

Returns

string

public getSignatureAtPosition(fileName: string, position: number): string

Parameters

  • fileName: string
  • position: number

Returns

string

public getSyntacticDiagnostics(fileName: string): string

Parameters

  • fileName: string

Returns

string

public getTypeAtPosition(fileName: string, position: number): string

Parameters

  • fileName: string
  • position: number

Returns

string

private static realizeDiagnostic(diagnostic: any): any

Parameters

  • diagnostic: any

Returns

any

private static realizeDiagnosticCategory(category: any): any

Parameters

  • category: any

Returns

any

private realizeDiagnosticWithFileName(diagnostic: any): any

Parameters

  • diagnostic: any

Returns

any

public refresh(throwOnError: boolean)

Parameters

  • throwOnError: boolean