[K2] Document KMP implementation in the K2 Compiler

Add comprehensive documentation explaining the implementation and
functions of the Kotlin multiplatform (KMP) support in the K2 Compiler.
This commit is contained in:
Simon Ogorodnik
2023-09-15 17:34:01 +02:00
committed by Space Team
parent 04c0cc5a5c
commit 024e94a479
12 changed files with 661 additions and 0 deletions
@@ -31,6 +31,14 @@ class FirExpectActualMatcherProcessor(
}
}
/**
* This transformer populates [expectForActual] mapping for actual declarations.
* Also, populates it [memberExpectForActual] mapping
*
* Should run before any kind of body resolution, since [expectForActual] is used there.
*
* See `/docs/fir/k2_kmp.md`
*/
open class FirExpectActualMatcherTransformer(
final override val session: FirSession,
private val scopeSession: ScopeSession,