resolver

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NSResolver

type NSResolver struct {

	// LoadedChunks captures the compiled bytecode for each user-loaded namespace.
	// Used by the compiler to serialize all namespaces into a bundle.
	LoadedChunks map[string]*vm.CodeChunk
	// LoadOrder preserves the order in which namespaces were loaded (dependency order).
	LoadOrder []string
	// contains filtered or unexported fields
}

func NewNSResolver

func NewNSResolver(ctx *compiler.Context, path []string) *NSResolver

func (*NSResolver) Load

func (r *NSResolver) Load(name string) *vm.Namespace

func (*NSResolver) SetPath

func (r *NSResolver) SetPath(path []string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL