summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/heredocs_with_ignored_newlines_and_non_empty.txt
blob: df422f0c1c41e6aacf554e450696f176e5060098 (plain)
1
2
3
4
5
6
7
8
9
10
11
@ ProgramNode (location: (1,0)-(1,6))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,6))
    └── body: (length: 1)
        └── @ StringNode (location: (1,0)-(1,6))
            ├── flags: ∅
            ├── opening_loc: (1,0)-(1,6) = "<<-EOE"
            ├── content_loc: (2,0)-(4,0) = " some\n heredocs\n"
            ├── closing_loc: (4,0)-(4,3) = "EOE"
            └── unescaped: " some\n heredocs\n"