summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/bug_hash_interp_array.txt
blob: 433fb024115ff05b9ab44611f11dd988e5025b5f (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,13))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,13))
    └── body: (length: 1)
        └── @ HashNode (location: (1,0)-(1,13))
            ├── opening_loc: (1,0)-(1,1) = "{"
            ├── elements: (length: 1)
            │   └── @ AssocNode (location: (1,2)-(1,11))
            │       ├── key:
            │       │   @ InterpolatedSymbolNode (location: (1,2)-(1,8))
            │       │   ├── opening_loc: (1,2)-(1,3) = "\""
            │       │   ├── parts: (length: 1)
            │       │   │   └── @ EmbeddedStatementsNode (location: (1,3)-(1,6))
            │       │   │       ├── opening_loc: (1,3)-(1,5) = "\#{"
            │       │   │       ├── statements: ∅
            │       │   │       └── closing_loc: (1,5)-(1,6) = "}"
            │       │   └── closing_loc: (1,6)-(1,8) = "\":"
            │       ├── value:
            │       │   @ ArrayNode (location: (1,9)-(1,11))
            │       │   ├── flags: ∅
            │       │   ├── elements: (length: 0)
            │       │   ├── opening_loc: (1,9)-(1,10) = "["
            │       │   └── closing_loc: (1,10)-(1,11) = "]"
            │       └── operator_loc: ∅
            └── closing_loc: (1,12)-(1,13) = "}"