1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! XPath expression parser. //! //! Parses tokenized XPath expressions into an abstract syntax tree (AST). mod ast; mod impl_; #[cfg(test)] mod tests; // Re-export AST types pub use ast::{Axis, ComparisonOp, Expr, NodeTest, PathExpr, Predicate, Step}; // Re-export parser pub use impl_::{Parser, parse_xpath};