Skip to main content

Module module_exports

Module module_exports 

Source
Expand description

Runtime module export bindings for Shape extensions.

This module defines the in-process representation used by VM/LSP/CLI after a plugin has been loaded through the ABI capability interfaces.

Structs§

FrameInfo
Information about a single VM call frame, captured at a point in time.
ModuleArtifact
Bundled module artifact from an extension.
ModuleContext
Execution context available to module functions during a VM call.
ModuleExportRegistry
Registry of all extension modules.
ModuleExports
A Rust-implemented module exposed via <name>.
ModuleFunction
Schema for a module function — describes parameters and return type. Used by LSP for completions, hover, and signature help.
ModuleParam
Schema for a single parameter of a module function. Used by LSP for completions and by validation for type checking.
RawCallableInvoker
Raw callable invoker as a function pointer + opaque context.

Enums§

ModuleExportVisibility
Visibility policy for one extension export.

Traits§

VmStateAccessor
Trait providing read access to VM state for state module functions.

Functions§

check_permission
Check whether the current execution context has a required permission.

Type Aliases§

AsyncModuleFn
An async module function callable from Shape.
ModuleFn
A module function callable from Shape (synchronous).