rustpython-parser 0.4.0

Python language parser for Python3.
Documentation
---
source: parser/src/parser.rs
expression: parse_ast
---
[
    Expr(
        StmtExpr {
            range: 0..32,
            value: Call(
                ExprCall {
                    range: 0..32,
                    func: Name(
                        ExprName {
                            range: 0..7,
                            id: Identifier(
                                "my_func",
                            ),
                            ctx: Load,
                        },
                    ),
                    args: [
                        Constant(
                            ExprConstant {
                                range: 8..20,
                                value: Str(
                                    "positional",
                                ),
                                kind: None,
                            },
                        ),
                    ],
                    keywords: [
                        Keyword {
                            range: 22..31,
                            arg: Some(
                                Identifier(
                                    "keyword",
                                ),
                            ),
                            value: Constant(
                                ExprConstant {
                                    range: 30..31,
                                    value: Int(
                                        2,
                                    ),
                                    kind: None,
                                },
                            ),
                        },
                    ],
                },
            ),
        },
    ),
]