summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/heredoc_with_comment.txt
blob: f2225ca981373dc24bf025f491c5c21732269de7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@ ProgramNode (location: (1,0)-(1,15))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,15))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(1,15))
            ├── flags: ∅
            ├── receiver:
            │   @ StringNode (location: (1,0)-(1,9))
            │   ├── flags: ∅
            │   ├── opening_loc: (1,0)-(1,9) = "<<-TARGET"
            │   ├── content_loc: (2,0)-(3,0) = "  content makes for an obvious error\r\n"
            │   ├── closing_loc: (3,0)-(3,6) = "TARGET"
            │   └── unescaped: "  content makes for an obvious error\n"
            ├── call_operator_loc: (1,9)-(1,10) = "."
            ├── name: :chomp
            ├── message_loc: (1,10)-(1,15) = "chomp"
            ├── opening_loc: ∅
            ├── arguments: ∅
            ├── closing_loc: ∅
            └── block: ∅