updateDocumentWithKey

abstract fun updateDocumentWithKey(    fileName: String,     path: Path,     compilationSettingsOrHost: CompilerOptions,     key: DocumentRegistryBucketKey,     scriptSnapshot: IScriptSnapshot,     version: String,     scriptKind: ScriptKind = definedExternally,     sourceFileOptions: CreateSourceFileOptions = definedExternally): SourceFile(source)
abstract fun updateDocumentWithKey(    fileName: String,     path: Path,     compilationSettingsOrHost: CompilerOptions,     key: DocumentRegistryBucketKey,     scriptSnapshot: IScriptSnapshot,     version: String,     scriptKind: ScriptKind = definedExternally,     sourceFileOptions: ScriptTarget = definedExternally): SourceFile(source)
abstract fun updateDocumentWithKey(    fileName: String,     path: Path,     compilationSettingsOrHost: MinimalResolutionCacheHost,     key: DocumentRegistryBucketKey,     scriptSnapshot: IScriptSnapshot,     version: String,     scriptKind: ScriptKind = definedExternally,     sourceFileOptions: CreateSourceFileOptions = definedExternally): SourceFile(source)
abstract fun updateDocumentWithKey(    fileName: String,     path: Path,     compilationSettingsOrHost: MinimalResolutionCacheHost,     key: DocumentRegistryBucketKey,     scriptSnapshot: IScriptSnapshot,     version: String,     scriptKind: ScriptKind = definedExternally,     sourceFileOptions: ScriptTarget = definedExternally): SourceFile(source)