releaseDocument
abstract fun releaseDocument(fileName: String, compilationSettings: CompilerOptions, scriptKind: ScriptKind = definedExternally)(source)
Informs the DocumentRegistry that a file is not needed any longer.
Note: It is not allowed to call release on a SourceFile that was not acquired from this registry originally.
Parameters
fileName
The name of the file to be released
compilationSettings
The compilation settings used to acquire the file
scriptKind
The script kind of the file to be released
abstract fun releaseDocument(fileName: String, compilationSettings: CompilerOptions, scriptKind: ScriptKind, impliedNodeFormat: ResolutionMode)(source)
Informs the DocumentRegistry that a file is not needed any longer.
Note: It is not allowed to call release on a SourceFile that was not acquired from this registry originally.
Parameters
fileName
The name of the file to be released
compilationSettings
The compilation settings used to acquire the file
scriptKind
The script kind of the file to be released
impliedNodeFormat
The implied source file format of the file to be released