rustpython-parser 0.4.0

Python language parser for Python3.
Documentation
---
source: parser/src/parser.rs
expression: parse_ast
---
Subscript(
    ExprSubscript {
        range: 0..8,
        value: Name(
            ExprName {
                range: 0..1,
                id: Identifier(
                    "x",
                ),
                ctx: Load,
            },
        ),
        slice: Slice(
            ExprSlice {
                range: 2..7,
                lower: Some(
                    Constant(
                        ExprConstant {
                            range: 2..3,
                            value: Int(
                                1,
                            ),
                            kind: None,
                        },
                    ),
                ),
                upper: Some(
                    Constant(
                        ExprConstant {
                            range: 4..5,
                            value: Int(
                                2,
                            ),
                            kind: None,
                        },
                    ),
                ),
                step: Some(
                    Constant(
                        ExprConstant {
                            range: 6..7,
                            value: Int(
                                3,
                            ),
                            kind: None,
                        },
                    ),
                ),
            },
        ),
        ctx: Load,
    },
)