summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/dedenting_interpolating_heredoc_fake_line_continuation.txt
blob: 8d093fdab63810119a4909d32ff3569bedb09802 (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,8))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,8))
    └── body: (length: 1)
        └── @ InterpolatedStringNode (location: (1,0)-(1,8))
            ├── flags: ∅
            ├── opening_loc: (1,0)-(1,8) = "<<~'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\\\\\n"
            │   └── @ 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"