aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/whitequark/slash_newline_in_heredocs.txt
blob: 150325e628169f5e20f2420c6ce16567d6265cb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@ ProgramNode (location: (0...33))
├── locals: []
└── statements:
    @ StatementsNode (location: (0...33))
    └── body: (length: 2)
        ├── @ InterpolatedStringNode (location: (0...4))
        │   ├── opening_loc: (0...4) = "<<-E"
        │   ├── parts: (length: 1)
        │   │   └── @ StringNode (location: (5...25))
        │   │       ├── opening_loc: ∅
        │   │       ├── content_loc: (5...25) = "    1 \\\n    2\n    3\n"
        │   │       ├── closing_loc: ∅
        │   │       └── unescaped: "    1     2\n    3\n"
        │   └── closing_loc: (25...27) = "E\n"
        └── @ InterpolatedStringNode (location: (29...33))
            ├── opening_loc: (29...33) = "<<~E"
            ├── parts: (length: 1)
            │   └── @ StringNode (location: (34...54))
            │       ├── opening_loc: ∅
            │       ├── content_loc: (34...54) = "    1 \\\n    2\n    3\n"
            │       ├── closing_loc: ∅
            │       └── unescaped: "1 2\n3\n"
            └── closing_loc: (54...56) = "E\n"