summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/bug_heredoc_do.txt
blob: bf4dd645fbfae08a3ec0ab4eee308b90be298493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@ ProgramNode (location: (1,0)-(3,3))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(3,3))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(3,3))
            ├── flags: ignore_visibility
            ├── receiver: ∅
            ├── call_operator_loc: ∅
            ├── name: :f
            ├── message_loc: (1,0)-(1,1) = "f"
            ├── opening_loc: ∅
            ├── arguments:
            │   @ ArgumentsNode (location: (1,2)-(1,10))
            │   ├── flags: ∅
            │   └── arguments: (length: 1)
            │       └── @ StringNode (location: (1,2)-(1,10))
            │           ├── flags: ∅
            │           ├── opening_loc: (1,2)-(1,10) = "<<-TABLE"
            │           ├── content_loc: (2,0)-(2,0) = ""
            │           ├── closing_loc: (2,0)-(3,0) = "TABLE\n"
            │           └── unescaped: ""
            ├── closing_loc: ∅
            └── block:
                @ BlockNode (location: (1,11)-(3,3))
                ├── locals: []
                ├── parameters: ∅
                ├── body: ∅
                ├── opening_loc: (1,11)-(1,13) = "do"
                └── closing_loc: (3,0)-(3,3) = "end"