xee-xpath-ast 0.1.4

XPath parser and AST implementation
Documentation
---
source: xee-xpath-ast/src/parser/mod.rs
expression: "ast::ExprSingle::parse(\"if (1) then 2 else 3\")"
---
Ok(If(IfExpr(
  condition: Expr([
    Path(PathExpr(
      steps: [
        PrimaryExpr(Literal(Integer((Positive, [
          1,
        ])))),
      ],
    )),
  ]),
  then: Path(PathExpr(
    steps: [
      PrimaryExpr(Literal(Integer((Positive, [
        2,
      ])))),
    ],
  )),
  else_: Path(PathExpr(
    steps: [
      PrimaryExpr(Literal(Integer((Positive, [
        3,
      ])))),
    ],
  )),
)))