rustpython-parser 0.4.0

Python language parser for Python3.
Documentation
---
source: parser/src/parser.rs
expression: parse_ast
---
DictComp(
    ExprDictComp {
        range: 0..19,
        key: Name(
            ExprName {
                range: 1..3,
                id: Identifier(
                    "x1",
                ),
                ctx: Load,
            },
        ),
        value: Name(
            ExprName {
                range: 5..7,
                id: Identifier(
                    "x2",
                ),
                ctx: Load,
            },
        ),
        generators: [
            Comprehension {
                range: 8..18,
                target: Name(
                    ExprName {
                        range: 12..13,
                        id: Identifier(
                            "y",
                        ),
                        ctx: Store,
                    },
                ),
                iter: Name(
                    ExprName {
                        range: 17..18,
                        id: Identifier(
                            "z",
                        ),
                        ctx: Load,
                    },
                ),
                ifs: [],
                is_async: false,
            },
        ],
    },
)