Expand description
Token-facing adapters used by module parsing. Boundary-safe Perl module token replacement helpers.
Handles canonical (Foo::Bar) and legacy (Foo'Bar) separator variants
and delegates standalone token scanning to the boundary module.
Re-exports§
pub use crate::name::module_variant_pairs;
Functions§
- contains_
module_ token - Returns
truewhenlinecontainsmodule_nameas a standalone module token, respecting module boundaries. - replace_
module_ token - Replace standalone
frommodule token occurrences inlinewithto.