Expand description
marque-core — format-agnostic scanner and parser for IC classification markings.
This crate is WASM-safe: no format dependencies, no I/O, operates on &[u8].
The pipeline entry point is Scanner, which produces Spans that the
Parser converts into IsmAttributes.
Core ISM types (Span, IsmAttributes, TokenSet, etc.) are defined in
marque-ism and re-exported here for backward compatibility.
Re-exports§
Modules§
- attrs
- Re-exports from
marque-ismfor backward compatibility. - error
- parser
- Phase 2/3: token extraction and structural parsing.
- scanner
- Phase 1: candidate detection — finds potential classification markings in a byte buffer.
- span
- Re-exports from
marque-ismfor backward compatibility.
Structs§
- IsmAttributes
- Canonical in-memory representation of an IC classification marking.
- Span
- A byte-offset span into the original source buffer. Never owns data; always references the original input.
Enums§
- Marking
Type - Classification marking candidate type, determined by scanner heuristics.