xee-xpath-ast 0.1.4

XPath parser and AST implementation
Documentation
---
source: xee-xpath-ast/src/parser/mod.rs
expression: "ast::ExprSingle::parse(\"child::foo | child::bar\")"
---
Ok(Path(PathExpr(
  steps: [
    PrimaryExpr(Expr(Some(Expr([
      Binary(BinaryExpr(
        operator: Union,
        left: PathExpr(
          steps: [
            AxisStep(AxisStep(
              axis: Child,
              node_test: NameTest(Name(OwnedName(
                local_name_str: "foo",
                namespace_str: "",
                prefix_str: "",
              ))),
              predicates: [],
            )),
          ],
        ),
        right: PathExpr(
          steps: [
            AxisStep(AxisStep(
              axis: Child,
              node_test: NameTest(Name(OwnedName(
                local_name_str: "bar",
                namespace_str: "",
                prefix_str: "",
              ))),
              predicates: [],
            )),
          ],
        ),
      )),
    ])))),
  ],
)))