Namespace now exists only at definition time

This commit is contained in:
Andrew Golovashevich 2025-05-19 18:50:30 +03:00
parent 0c9740e820
commit 33acc115fb
4 changed files with 11 additions and 7 deletions

View File

@ -23,6 +23,11 @@ public interface Module<mUE : Any, IK : Any> {
@get:JvmName("getParentModule")
public val parentModule: Module<*, IK>?
@ReflectionApi
@Suppress("INAPPLICABLE_JVM_NAME")
@get:JvmName("getPathFromParentModuleRoot")
public val pathFromParentModuleRoot: List<String>?
@ReflectionApi
@Suppress("INAPPLICABLE_JVM_NAME")
@get:JvmName("getMemberTables")

View File

@ -14,7 +14,9 @@ public interface ModuleScopedObject<oUE : Any?, mUE : Any, IK : Any> {
public val module: Module<mUE, IK>
@ReflectionApi
public val namespace: Namespace<mUE, IK>
@Suppress("INAPPLICABLE_JVM_NAME")
@get:JvmName("getPathFromModuleRoot")
public val pathFromModuleRoot: List<String>
@ReflectionApi
public val meta: ObjectOperations.ImplementationsProvider<oUE>

View File

@ -12,8 +12,5 @@ public interface Namespace<mUE : Any, IK : Any> {
@ReflectionApi
@Suppress("INAPPLICABLE_JVM_NAME")
@get:JvmName("getPath")
public val path: List<String>
@ReflectionApi
public val module: Module<mUE, IK>
public val parent: Namespace<mUE, IK>?
}

View File

@ -17,8 +17,8 @@ public interface Table<UE : Any, mUE : Any, IK : Any> {
@ReflectionApi
@Suppress("INAPPLICABLE_JVM_NAME")
@get:JvmName("getNamespace")
public val namespace: Namespace<mUE, IK>
@get:JvmName("getPathFromModuleRoot")
public val pathFromModuleRoot: List<String>
@ReflectionApi
@Suppress("INAPPLICABLE_JVM_NAME")