Expand description
Boundary-aware standalone Perl module-token scanning.
This crate has one responsibility: find standalone occurrences of a module
token on a single source line while respecting canonical (::) and legacy
(') package separator boundaries.
Structs§
- Module
Token Range - Byte range for a standalone module-token match in a source line.
- Module
Token Range Iter - Iterator over standalone
module_namematches inline.
Functions§
- contains_
standalone_ module_ token - Return
truewhenlinecontainsmodule_nameas a standalone module token. - find_
standalone_ module_ token_ ranges - Return an iterator of standalone
module_namematches inline.