Skip to main content

macho_header_syntax/
lib.rs

1#![deny(missing_docs)]
2//! Process-free parsing, validation, and rendering for recovered headers.
3//!
4//! The crate owns only the non-serialized syntax model. Stable report
5//! identifiers and JSON projections belong to `macho-analysis`.
6
7mod ast;
8mod parse;
9mod render;
10mod validate;
11
12pub use ast::*;
13pub use parse::{HeaderParser, ParseError, SourceSpan, TreeSitterHeaderParser};
14pub use render::{RenderError, render};
15pub use validate::{
16    HeaderValidationCode, HeaderValidationDiagnostic, HeaderValidationReport, Severity,
17    ValidationError, ValidationLimits, validate,
18};