Interface ILanguageServiceHost

Hierarchy

Index

Methods

Methods

public debug(): boolean

Returns

boolean

public directoryExists(path: string): boolean

Parameters

  • path: string

Returns

boolean

public error(): boolean

Returns

boolean

public fatal(): boolean

Returns

boolean

public fileExists(path: string): boolean

Parameters

  • path: string

Returns

boolean

public getCompilationSettings(): CompilationSettings

Returns

CompilationSettings

public getDiagnosticsObject(): ILanguageServicesDiagnostics

Returns

ILanguageServicesDiagnostics

public getLocalizedDiagnosticMessages(): any

Returns

any

public getParentDirectory(path: string): string

Parameters

  • path: string

Returns

string

public getScriptByteOrderMark(fileName: string): ByteOrderMark

Parameters

  • fileName: string

Returns

ByteOrderMark

public getScriptFileNames(): Array<string>

Returns

Array<string>

public getScriptIsOpen(fileName: string): boolean

Parameters

  • fileName: string

Returns

boolean

public getScriptSnapshot(fileName: string): IScriptSnapshot

Parameters

  • fileName: string

Returns

IScriptSnapshot

public getScriptVersion(fileName: string): number

Parameters

  • fileName: string

Returns

number

public information(): boolean

Returns

boolean

public log(s: string)

Parameters

  • s: string

public resolveRelativePath(path: string, directory: string): string

Parameters

  • path: string
  • directory: string

Returns

string

public warning(): boolean

Returns

boolean