aboutsummaryrefslogtreecommitdiffstats
path: root/test/yarp/snapshots/heredocs_with_ignored_newlines.txt
blob: e8e6616219f3e0f192d8788bb6481f9ea5e75763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@ ProgramNode (location: (0...23))
├── locals: []
└── statements:
    @ StatementsNode (location: (0...23))
    └── body: (length: 2)
        ├── @ InterpolatedStringNode (location: (0...7))
        │   ├── opening_loc: (0...7) = "<<-HERE"
        │   ├── parts: (length: 0)
        │   └── closing_loc: (9...14) = "HERE\n"
        └── @ InterpolatedStringNode (location: (15...23))
            ├── opening_loc: (15...23) = "<<~THERE"
            ├── parts: (length: 1)
            │   └── @ StringNode (location: (25...100))
            │       ├── opening_loc: ∅
            │       ├── content_loc: (25...100) = "  way over\n  <<HERE\n    not here\n  HERE\n\n  <<~BUT\\\n    but\n  BUT\n    there\n"
            │       ├── closing_loc: ∅
            │       └── unescaped: "way over\n<<HERE\n  not here\nHERE\n\n<<~BUT  but\nBUT\n  there\n"
            └── closing_loc: (100...106) = "THERE\n"