icedwright-semantics 0.0.2

The icedwright semantic tree: inference from recorded widget operations, stable node paths, hit testing, diffs and YAML
Documentation
//! The semantic tree icedwright's locators, actions, audits, snapshots and inspector read.
//!
//! A live app records a [`RawTree`](icedwright_protocol::RawTree) of operation calls and
//! annotations; [`infer`] fuses it into a [`SemanticTree`] of roles, names, states, relations
//! and geometry. [`NodePath`] names a node across snapshots, [`diff`] compares two, and
//! [`yaml`] writes and reads the snapshot format. [`TreeBuilder`] builds trees by hand for
//! tests.

#![forbid(unsafe_code)]
#![deny(missing_docs)]
#![warn(clippy::must_use_candidate, clippy::return_self_not_must_use)]

mod build;
mod builder;
#[cfg(feature = "collect")]
mod collect;
mod error;
mod infer;
mod path;
mod query;
mod tree;
pub mod yaml;

pub use build::named_from_content;
pub use builder::{NodeBuilder, TreeBuilder};
#[cfg(feature = "collect")]
pub use collect::{collect, record};
pub use error::Error;
pub use icedwright_protocol::{WidgetId, WindowId};
pub use icedwright_types::{Checked, CursorSeen, StateName, StateValue};
pub use infer::infer;
pub use path::{NodePath, Segment};
pub use query::{NodeChange, TreeDiff, diff};
pub use tree::{
    Kind, Layer, NameSource, Node, NodeId, OperationKind, Relations, Scroll, ScrollAncestor,
    SemanticNode, SemanticTree, SetInfo, SourceSet, StateSource, States, TextGeometry, TreeWarning,
    Value,
};