Skip to main content

Module token_parser

Module token_parser 

Source
Expand description

Lightweight token parser for module-related syntax. Single-line Perl module token parsing.

Parse Perl package-style tokens from byte offsets in a source line. Supports canonical (::) and legacy (') package separators.

Re-exports§

pub use crate::token_core::ModuleTokenSpan;
pub use crate::token_core::parse_module_token;