[FIR] Support creation of IR of common + platform sources in FirAnalyzerFacade

This commit is contained in:
Dmitriy Novozhilov
2021-06-03 16:28:39 +03:00
committed by teamcityserver
parent df11ccf755
commit 37c096cb10
16 changed files with 173 additions and 32 deletions
@@ -290,6 +290,10 @@ class FirProviderImpl(val session: FirSession, val kotlinScopeProvider: FirKotli
override fun getClassNamesInPackage(fqName: FqName): Set<Name> {
return state.classesInPackage[fqName] ?: emptySet()
}
fun getAllFirFiles(): List<FirFile> {
return state.fileMap.values.flatten()
}
}
private const val rebuildIndex = true