perl-module-token-core 0.11.0

Shared parser and boundary primitives for Perl module tokens
Documentation
  • Coverage
  • 100%
    8 out of 8 items documented0 out of 5 items with examples
  • Size
  • Source code size: 51.18 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.51 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • EffortlessMetrics/perl-lsp
    0 1 46
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • EffortlessSteven

perl-module-token-core

Shared low-level primitives for Perl module token parsing and boundary checks.

Scope

  • Parse module-token spans from byte offsets using canonical (::) and legacy (') separators.
  • Provide boundary checks for standalone token matching behavior.

API

  • parse_module_token(text, start)
  • ModuleTokenSpan
  • has_standalone_module_token_boundaries(line, start, end)
  • is_module_identifier_char
  • is_module_token_char