Expand description
XPath 1.0 Expression AST (§25).
Internal Rust representation of XPath expressions, separate from the C ABI. The parser builds this AST; the evaluator walks it.
§UPSTREAM-PARITY
Covers the full XPath 1.0 grammar:
- Location paths (relative/absolute, steps, axes, node tests, predicates)
- Operators (union, comparison, boolean, arithmetic)
- Functions, variables, literals
- Filter expressions (primary with predicates)
Structs§
- Compiled
Expr - A compiled XPath expression.
- Step
- A single location step: axis::node-test[predicates]