xee-xpath-ast 0.1.4

XPath parser and AST implementation
Documentation
---
source: xee-xpath/src/ast/parse_ast.rs
expression: "parse_expr_single(\"child::foo intersect child::bar\")"
---
Spanned {
    value: Binary(
        BinaryExpr {
            operator: Intersect,
            left: PathExpr {
                steps: [
                    Spanned {
                        value: AxisStep(
                            AxisStep {
                                axis: Child,
                                node_test: NameTest(
                                    Name(
                                        Name {
                                            name: "foo",
                                            namespace: None,
                                        },
                                    ),
                                ),
                                predicates: [],
                            },
                        ),
                        span: SourceSpan {
                            offset: SourceOffset(
                                0,
                            ),
                            length: SourceOffset(
                                11,
                            ),
                        },
                    },
                ],
            },
            right: PathExpr {
                steps: [
                    Spanned {
                        value: AxisStep(
                            AxisStep {
                                axis: Child,
                                node_test: NameTest(
                                    Name(
                                        Name {
                                            name: "bar",
                                            namespace: None,
                                        },
                                    ),
                                ),
                                predicates: [],
                            },
                        ),
                        span: SourceSpan {
                            offset: SourceOffset(
                                21,
                            ),
                            length: SourceOffset(
                                10,
                            ),
                        },
                    },
                ],
            },
        },
    ),
    span: SourceSpan {
        offset: SourceOffset(
            0,
        ),
        length: SourceOffset(
            31,
        ),
    },
}