OwnerScope

public final class OwnerScope implements AutoCloseable

Owner-scoped registration and program-compilation interface.

Functions

Link copied to clipboard
public void close()
Link copied to clipboard
public Optional<LuaMindModuleDescriptor> module(String identifier)
Link copied to clipboard
Returns descriptors ordered by module identifier.
Link copied to clipboard
public String namespace()
Link copied to clipboard
public LuaMindModuleDescriptor registerModule(String sourceName, String source)
Registers one ai.module source.
public LuaMindModuleDescriptor registerModule(String expectedIdentifier, long expectedRevision, String sourceName, String source)
Registers a module only when its Lua-declared identity matches the caller's catalog identity.
Link copied to clipboard
public LuaMindDefinition validateProgram(String sourceName, String source)
Validates and snapshots a module-composed ai.program.