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