Skip to main content

Module sdk

Module sdk 

Source
Expand description

Shared extraction SDK for the target multi-pass language pipeline.

This module is intentionally separate from canonical_walker and LangStrategy. It defines the stable IR exchanged by the target phases: discover definitions and imports, elaborate unresolved references, resolve them locally, then emit the public CodeGraph.

Structs§

DefIndex
DefNameKey
DiscoveredDef
DiscoveredFile
GraphEmitter
ImportLeaf
ImportTable
ImportTarget
LocalResolver
RefHints
Resolution
ResolvedRef
Rib
Scope
ScopeId
ScopeTree
TypeEnv
UnresolvedRef

Enums§

EmitError
ImportKind
ImportLeafKind
ImportTree
Namespace
TargetExpr
TypeExpr

Traits§

LangResolverStrategy

Functions§

flatten_import_tree
import_leaf_binding_name
importable_parent