Skip to main content

Module collector

Module collector 

Source
Expand description

The core of the module-level name resolution algorithm.

DefCollector::collect contains the fixed-point iteration loop which resolves imports and expands macros.

Structsยง

DefCollector ๐Ÿ”’
Walks the tree of module recursively
DeferredBuiltinDerive ๐Ÿ”’
Import ๐Ÿ”’
ImportDirective ๐Ÿ”’
ImportSource ๐Ÿ”’
MacroDirective ๐Ÿ”’
ModCollector ๐Ÿ”’
Walks a single module, populating defs, imports and macros

Enumsยง

MacroDirectiveKind ๐Ÿ”’
PartialResolvedImport ๐Ÿ”’

Constantsยง

FIXED_POINT_LIMIT ๐Ÿ”’
GLOB_RECURSION_LIMIT ๐Ÿ”’

Functionsยง

collect_defs ๐Ÿ”’