LanguageServiceHost

Properties

Link copied to clipboard
abstract val directoryExists: (directoryName: String) -> Boolean?
Link copied to clipboard
abstract val error: (s: String) -> Unit?
Link copied to clipboard
Link copied to clipboard
abstract val getCompilerHost: () -> CompilerHost??
Link copied to clipboard
abstract val getCurrentDirectory: () -> String?
Link copied to clipboard

Gets a set of custom transformers to use during emit.

Link copied to clipboard
abstract override val getDirectories: (path: String) -> ReadonlyArray<String>?
Link copied to clipboard
abstract val getLocalizedDiagnosticMessages: () -> Any??
Link copied to clipboard
abstract val getNewLine: () -> String?
Link copied to clipboard
abstract val getParsedCommandLine: (fileName: String) -> ParsedCommandLine??
Link copied to clipboard
Link copied to clipboard
abstract val getProjectVersion: () -> String?
Link copied to clipboard
abstract val getScriptKind: (fileName: String) -> ScriptKind?
Link copied to clipboard
abstract val getTypeRootsVersion: () -> Double?
Link copied to clipboard
Link copied to clipboard
abstract val isKnownTypesPackageName: (name: String) -> Boolean?
Link copied to clipboard
Link copied to clipboard
abstract val log: (s: String) -> Unit?
Link copied to clipboard
Link copied to clipboard
abstract override val realpath: (path: String) -> String?

Resolve a symbolic link.

Link copied to clipboard
abstract val resolveModuleNames: (ReadonlyArray<String>, containingFile: String, ReadonlyArray<String>?, redirectedReference: ResolvedProjectReference?, options: CompilerOptions, containingSourceFile: SourceFile?) -> ReadonlyArray<ResolvedModule?>?
Link copied to clipboard
abstract val resolveTypeReferenceDirectives: (typeDirectiveNames: Any, containingFile: String, redirectedReference: ResolvedProjectReference?, options: CompilerOptions, ResolutionMode) -> ReadonlyArray<ResolvedTypeReferenceDirective?>?
Link copied to clipboard
abstract override val trace: (s: String) -> Unit?
Link copied to clipboard
abstract override val useCaseSensitiveFileNames: () -> Boolean?
Link copied to clipboard
abstract val writeFile: (fileName: String, content: String) -> Unit?

Functions

Link copied to clipboard
abstract override fun fileExists(fileName: String): Boolean
Link copied to clipboard
abstract override fun getCompilationSettings(): CompilerOptions
Link copied to clipboard
abstract fun getCurrentDirectory(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getScriptSnapshot(fileName: String): IScriptSnapshot?
Link copied to clipboard
abstract fun getScriptVersion(fileName: String): String
Link copied to clipboard
abstract fun readFile(path: String, encoding: String = definedExternally): String?
abstract fun readFile(fileName: String): String?