xee-xpath-ast 0.1.4

XPath parser and AST implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
source: xee-xpath-ast/src/parser/mod.rs
expression: "ast::ExprSingle::parse(\"parent::foo\")"
---
Ok(Path(PathExpr(
  steps: [
    AxisStep(AxisStep(
      axis: Parent,
      node_test: NameTest(Name(OwnedName(
        local_name_str: "foo",
        namespace_str: "",
        prefix_str: "",
      ))),
      predicates: [],
    )),
  ],
)))