rustpython-parser 0.4.0

Python language parser for Python3.
Documentation
---
source: parser/src/parser.rs
expression: "parse_program(source, \"<test>\").unwrap()"
---
[
    Assign(
        StmtAssign {
            range: 0..11,
            targets: [
                Tuple(
                    ExprTuple {
                        range: 0..4,
                        elts: [
                            Name(
                                ExprName {
                                    range: 0..1,
                                    id: Identifier(
                                        "a",
                                    ),
                                    ctx: Store,
                                },
                            ),
                            Name(
                                ExprName {
                                    range: 3..4,
                                    id: Identifier(
                                        "b",
                                    ),
                                    ctx: Store,
                                },
                            ),
                        ],
                        ctx: Store,
                    },
                ),
            ],
            value: Tuple(
                ExprTuple {
                    range: 7..11,
                    elts: [
                        Constant(
                            ExprConstant {
                                range: 7..8,
                                value: Int(
                                    4,
                                ),
                                kind: None,
                            },
                        ),
                        Constant(
                            ExprConstant {
                                range: 10..11,
                                value: Int(
                                    5,
                                ),
                                kind: None,
                            },
                        ),
                    ],
                    ctx: Load,
                },
            ),
            type_comment: None,
        },
    ),
]