pub mod ast;
mod block;
mod diagnostic;
mod inline;
mod options;
mod parser;
mod pos;
mod syntax;
pub use block::lexical;
pub use diagnostic::{Diagnostic, DiagnosticKind};
pub use inline::{LiteralKind, literal_kind};
pub mod attention {
pub use crate::inline::emphasis::{Pair, Run, classify, pairs};
}
pub use options::{Constructs, ParserOptions};
pub use oxc_allocator::Allocator;
pub use parser::{Parser, ParserReturn};
pub use pos::{Segment, Span};
pub use syntax::{decode, escapes_next, label, unicode};
#[cfg(all(test, target_pointer_width = "64"))]
mod size_asserts {
use crate::ast;
#[test]
fn sizes() {
assert_eq!(size_of::<ast::Block>(), 16);
assert_eq!(size_of::<ast::Inline>(), 16);
assert_eq!(size_of::<ast::Text>(), 12);
}
}