summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/parser_bug_640.txt
blob: 157576838bc5ea165510a3020f508f49eb47da3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@ ProgramNode (location: (1,0)-(1,6))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,6))
    └── body: (length: 1)
        └── @ InterpolatedStringNode (location: (1,0)-(1,6))
            ├── flags: ∅
            ├── opening_loc: (1,0)-(1,6) = "<<~FOO"
            ├── parts: (length: 2)
            │   ├── @ StringNode (location: (2,0)-(3,0))
            │   │   ├── flags: frozen
            │   │   ├── opening_loc: ∅
            │   │   ├── content_loc: (2,0)-(3,0) = "  baz\\\n"
            │   │   ├── closing_loc: ∅
            │   │   └── unescaped: "baz"
            │   └── @ StringNode (location: (3,0)-(4,0))
            │       ├── flags: frozen
            │       ├── opening_loc: ∅
            │       ├── content_loc: (3,0)-(4,0) = "  qux\n"
            │       ├── closing_loc: ∅
            │       └── unescaped: "qux\n"
            └── closing_loc: (4,0)-(5,0) = "FOO\n"