withDanglingFileResolutionMode¶
fun <R> withDanglingFileResolutionMode(
file: KtFile,
mode: KaDanglingFileResolutionMode,
action: () -> R
): R
Runs the action with a resolution mode being explicitly set for the dangling file.
Avoid using this function in client-side code. Use analyzeCopy instead.