Debian Codegraph @

test/prism/snapshots/unparser/corpus/literal/range.txt

raw
1 @ ProgramNode (location: (1,0)-(4,5))
2 ├── locals: []
3 └── statements:
4 @ StatementsNode (location: (1,0)-(4,5))
5 └── body: (length: 4)
6 ├── @ ParenthesesNode (location: (1,0)-(1,5))
7 │ ├── body:
8 │ │ @ StatementsNode (location: (1,1)-(1,4))
9 │ │ └── body: (length: 1)
10 │ │ └── @ RangeNode (location: (1,1)-(1,4))
11 │ │ ├── flags: ∅
12 │ │ ├── left:
13 │ │ │ @ IntegerNode (location: (1,1)-(1,2))
14 │ │ │ └── flags: decimal
15 │ │ ├── right: ∅
16 │ │ └── operator_loc: (1,2)-(1,4) = ".."
17 │ ├── opening_loc: (1,0)-(1,1) = "("
18 │ └── closing_loc: (1,4)-(1,5) = ")"
19 ├── @ RangeNode (location: (2,0)-(2,4))
20 │ ├── flags: ∅
21 │ ├── left:
22 │ │ @ IntegerNode (location: (2,0)-(2,1))
23 │ │ └── flags: decimal
24 │ ├── right:
25 │ │ @ IntegerNode (location: (2,3)-(2,4))
26 │ │ └── flags: decimal
27 │ └── operator_loc: (2,1)-(2,3) = ".."
28 ├── @ ParenthesesNode (location: (3,0)-(3,6))
29 │ ├── body:
30 │ │ @ StatementsNode (location: (3,1)-(3,5))
31 │ │ └── body: (length: 1)
32 │ │ └── @ RangeNode (location: (3,1)-(3,5))
33 │ │ ├── flags: exclude_end
34 │ │ ├── left:
35 │ │ │ @ IntegerNode (location: (3,1)-(3,2))
36 │ │ │ └── flags: decimal
37 │ │ ├── right: ∅
38 │ │ └── operator_loc: (3,2)-(3,5) = "..."
39 │ ├── opening_loc: (3,0)-(3,1) = "("
40 │ └── closing_loc: (3,5)-(3,6) = ")"
41 └── @ RangeNode (location: (4,0)-(4,5))
42 ├── flags: exclude_end
43 ├── left:
44 │ @ IntegerNode (location: (4,0)-(4,1))
45 │ └── flags: decimal
46 ├── right:
47 │ @ IntegerNode (location: (4,4)-(4,5))
48 │ └── flags: decimal
49 └── operator_loc: (4,1)-(4,4) = "..."