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