chapi.app.frontend.Naming.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chapi-application Show documentation
Show all versions of chapi-application Show documentation
Chapi is A common language meta information convertor, convert different languages to same meta-data model
package chapi.app.frontend
fun naming(moduleName: String, nodeName: String): String {
if (nodeName == "default") {
return moduleName
}
return "${moduleName}::${nodeName}"
}