Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

Source-independent method linking for manifest views. Extraction records only syntactic receiver evidence; joining never reparses or opens checkout files.

Modules§

dependency
Keys naming what one resolution read. A resolution reads nothing else, so it is unchanged while every key it recorded names unchanged inputs:
projected
Method-call resolution split in two: what each file’s sites and declarations mean, worked out in file order, and the matching of sites to declarations, which then reads only the records written here.

Structs§

CSharpProjects
DispatchFacts
FieldHint
MemoizedResolver
Resolution inputs are borrowed immutably for one emission pass. Locations are emitted by the caller. Rust typed lookup also uses the enclosing impl scope and whether the written call is a scoped path.
MethodHint
Resolution
ResolutionKey
What a site’s resolution depends on besides the checkout’s facts: two sites with equal keys get the same answer and record the same dependency keys, wherever they are.
Resolver
The ruled resolver operates on a complete manifest’s immutable hints. Unknown receivers protect members by written name and expose interface candidates as name-only edges, never as proof of a particular implementation.
ReturnHint
SharedMethods
The same-named methods of every file a source lists, loaded once and handed to several resolvers over that source (see Resolver::share_methods), so threads resolving one name do not each load it.
SiteHint
StaticFacts
StaticSiteEvidence
The written receiver and its lexical type lookup context.
Target
TypeHint

Constants§

TEMPLATE_SELF_RECEIVER
The receiver a method-call site records for self.name(...) written in a function that a macro_rules! template defines, followed by the scoped name of the one function name the same template defines. The template’s functions are stamped into whatever impl invokes the macro, so self there has no type the file names, but self.name can only be the template’s own name. The resolver links the site to that function with name-match provenance.

Traits§

DispatchFiles
What the method-call resolver reads about a checkout’s files, when they are loaded on demand instead of all held in its maps. Each answer must equal what those maps give for the same files.

Functions§

associated_reference
complete_typescript_symbols
Complete the graph builder’s owned symbols without changing navigation or semantic-search symbol tables supplied by the shared parser.
extract
All source reads occur here, before immutable blob publication.
extract_with
extract, walking and looking up with nav.
python_reexports
Named imports still bound at Python module scope, already checked during extraction for assignments, conflicting aliases and local-only imports.
typescript_objects_from_data
Build compact, temporary TypeScript object facts from the supplied syntax tree and attributed call sites, avoiding a second graph extraction.