Skip to main content

marque_core/
lib.rs

1//! marque-core — format-agnostic scanner and parser for IC classification markings.
2//!
3//! This crate is WASM-safe: no format dependencies, no I/O, operates on `&[u8]`.
4//! The pipeline entry point is [`Scanner`], which produces [`Span`]s that the
5//! [`Parser`] converts into [`IsmAttributes`].
6//!
7//! Core ISM types (`Span`, `IsmAttributes`, `TokenSet`, etc.) are defined in
8//! `marque-ism` and re-exported here for backward compatibility.
9
10pub mod attrs;
11pub mod error;
12pub mod parser;
13pub mod scanner;
14pub mod span;
15
16pub use error::CoreError;
17pub use marque_ism::{IsmAttributes, MarkingType, Span};
18pub use parser::Parser;
19pub use scanner::Scanner;