summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/dedenting_non_interpolating_heredoc_line_continuation.txt
blob: d43d313e6b8dfbe316a0de27efe3d73019a280da (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"