summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/array_assocs.txt
blob: 3747e3f7d843e77ae4fdf4e5abe5b14bc039b2d1 (plain)
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
@ ProgramNode (location: (1,0)-(3,13))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(3,13))
    └── body: (length: 2)
        ├── @ ArrayNode (location: (1,0)-(1,10))
        │   ├── flags: ∅
        │   ├── elements: (length: 1)
        │   │   └── @ KeywordHashNode (location: (1,2)-(1,8))
        │   │       ├── flags: ∅
        │   │       └── elements: (length: 1)
        │   │           └── @ AssocNode (location: (1,2)-(1,8))
        │   │               ├── key:
        │   │               │   @ IntegerNode (location: (1,2)-(1,3))
        │   │               │   ├── flags: decimal
        │   │               │   └── value: 1
        │   │               ├── value:
        │   │               │   @ IntegerNode (location: (1,7)-(1,8))
        │   │               │   ├── flags: decimal
        │   │               │   └── value: 2
        │   │               └── operator_loc: (1,4)-(1,6) = "=>"
        │   ├── opening_loc: (1,0)-(1,1) = "["
        │   └── closing_loc: (1,9)-(1,10) = "]"
        └── @ ArrayNode (location: (3,0)-(3,13))
            ├── flags: ∅
            ├── elements: (length: 2)
            │   ├── @ IntegerNode (location: (3,2)-(3,3))
            │   │   ├── flags: decimal
            │   │   └── value: 1
            │   └── @ KeywordHashNode (location: (3,5)-(3,11))
            │       ├── flags: ∅
            │       └── elements: (length: 1)
            │           └── @ AssocNode (location: (3,5)-(3,11))
            │               ├── key:
            │               │   @ IntegerNode (location: (3,5)-(3,6))
            │               │   ├── flags: decimal
            │               │   └── value: 2
            │               ├── value:
            │               │   @ IntegerNode (location: (3,10)-(3,11))
            │               │   ├── flags: decimal
            │               │   └── value: 3
            │               └── operator_loc: (3,7)-(3,9) = "=>"
            ├── opening_loc: (3,0)-(3,1) = "["
            └── closing_loc: (3,12)-(3,13) = "]"