Skip to main content

Module boundary

Module boundary 

Source
Expand description

Boundary-facing helpers shared across module resolution flows. Boundary-aware standalone Perl module-token scanning.

Find standalone occurrences of a module token on a single source line while respecting canonical (::) and legacy (') package separator boundaries.

Structs§

ModuleTokenRange
Byte range for a standalone module-token match in a source line.
ModuleTokenRangeIter
Iterator over standalone module_name matches in line.

Functions§

contains_standalone_module_token
Return true when line contains module_name as a standalone module token.
find_standalone_module_token_ranges
Return an iterator of standalone module_name matches in line.