-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathrustpython_parser__parser__tests__slice.snap
More file actions
57 lines (57 loc) · 1.47 KB
/
rustpython_parser__parser__tests__slice.snap
File metadata and controls
57 lines (57 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
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,
},
)