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
18
---
source: xee-xpath-ast/src/parser/mod.rs
expression: "parse_xpath_simple(\"1?name\")"
---
Ok(XPath(Expr([
  Path(PathExpr(
    steps: [
      PostfixExpr(
        primary: Literal(Integer((Positive, [
          1,
        ]))),
        postfixes: [
          Lookup(NcName("name")),
        ],
      ),
    ],
  )),
])))