summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/bug_interp_single.txt
blob: 74af8607e04906d1f2e3febdee58db9facd251b5 (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
@ ProgramNode (location: (1,0)-(3,8))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(3,8))
    └── body: (length: 2)
        ├── @ InterpolatedStringNode (location: (1,0)-(1,6))
        │   ├── flags: ∅
        │   ├── opening_loc: (1,0)-(1,1) = "\""
        │   ├── parts: (length: 1)
        │   │   └── @ EmbeddedStatementsNode (location: (1,1)-(1,5))
        │   │       ├── opening_loc: (1,1)-(1,3) = "\#{"
        │   │       ├── statements:
        │   │       │   @ StatementsNode (location: (1,3)-(1,4))
        │   │       │   └── body: (length: 1)
        │   │       │       └── @ IntegerNode (location: (1,3)-(1,4))
        │   │       │           ├── flags: decimal
        │   │       │           └── value: 1
        │   │       └── closing_loc: (1,4)-(1,5) = "}"
        │   └── closing_loc: (1,5)-(1,6) = "\""
        └── @ ArrayNode (location: (3,0)-(3,8))
            ├── flags: ∅
            ├── elements: (length: 1)
            │   └── @ InterpolatedStringNode (location: (3,3)-(3,7))
            │       ├── flags: ∅
            │       ├── opening_loc: ∅
            │       ├── parts: (length: 1)
            │       │   └── @ EmbeddedStatementsNode (location: (3,3)-(3,7))
            │       │       ├── opening_loc: (3,3)-(3,5) = "\#{"
            │       │       ├── statements:
            │       │       │   @ StatementsNode (location: (3,5)-(3,6))
            │       │       │   └── body: (length: 1)
            │       │       │       └── @ IntegerNode (location: (3,5)-(3,6))
            │       │       │           ├── flags: decimal
            │       │       │           └── value: 1
            │       │       └── closing_loc: (3,6)-(3,7) = "}"
            │       └── closing_loc: ∅
            ├── opening_loc: (3,0)-(3,3) = "%W\""
            └── closing_loc: (3,7)-(3,8) = "\""