summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/label_vs_string.txt
blob: c8d7af8f48b884fe682b6a88e5953c44f17fc5e3 (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
31
32
33
34
@ ProgramNode (location: (1,0)-(2,1))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(2,1))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(2,1))
            ├── flags: ∅
            ├── receiver:
            │   @ CallNode (location: (1,0)-(1,4))
            │   ├── flags: variable_call, ignore_visibility
            │   ├── receiver: ∅
            │   ├── call_operator_loc: ∅
            │   ├── name: :_buf
            │   ├── message_loc: (1,0)-(1,4) = "_buf"
            │   ├── opening_loc: ∅
            │   ├── arguments: ∅
            │   ├── closing_loc: ∅
            │   └── block: ∅
            ├── call_operator_loc: ∅
            ├── name: :<<
            ├── message_loc: (1,5)-(1,7) = "<<"
            ├── opening_loc: ∅
            ├── arguments:
            │   @ ArgumentsNode (location: (1,8)-(2,1))
            │   ├── flags: ∅
            │   └── arguments: (length: 1)
            │       └── @ StringNode (location: (1,8)-(2,1))
            │           ├── flags: ∅
            │           ├── opening_loc: (1,8)-(1,9) = "'"
            │           ├── content_loc: (1,9)-(2,0) = ":\n"
            │           ├── closing_loc: (2,0)-(2,1) = "'"
            │           └── unescaped: ":\n"
            ├── closing_loc: ∅
            └── block: ∅