Skip to main content

nativeview_cli/hot_diff/
mod.rs

1//! Shared Tier-1 (`< 10ms`) hot-patch infrastructure for `view! { ... }` sources:
2//! - [`lexer`]: zero-dependency compact Rust tokenizer for attribute value spans.
3//! - [`eval`]: pure const evaluator limiting Tier-1 edits to literal leaves.
4//! - [`attrs`] / [`typed_style_chain`]: patchable style attribute registry and literal
5//!   `TypedStyle` builder chain scanner.
6//! - [`patch`]: direct binary `RowPatch` word lowering.
7//! - [`cache`]: [`WatchCache`] file baselines with atomic two-phase batch classification through
8//!   [`crate::view_diff`].
9
10pub(crate) mod attrs;
11pub mod cache;
12pub(crate) mod eval;
13pub(crate) mod lexer;
14pub(crate) mod patch;
15mod strings;
16pub(crate) mod typed_style_chain;
17mod value_lower;
18pub(crate) mod workspace;
19
20#[cfg(test)]
21mod tests;
22
23pub use cache::WatchCache;