commonMain.com.sunnychung.lib.multiplatform.kotlite.model.MultipleLibModules.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlite-interpreter-jvm Show documentation
Show all versions of kotlite-interpreter-jvm Show documentation
A Kotlin Multiplatform library to interpret Kotlite code, which is a subset of Kotlin language, in runtime in a safe way.
The newest version!
package com.sunnychung.lib.multiplatform.kotlite.model
/**
* @param modules An ordered list of modules where the one depends on another one should be placed later.
*/
open class MultipleLibModules(name: String, val modules: List) : LibraryModule(name) {
override val classes: List = modules.flatMap { it.classes }
override val properties: List = modules.flatMap { it.properties }
override val globalProperties: List = modules.flatMap { it.globalProperties }
override val functions: List = modules.flatMap { it.functions }
}