aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/seattlerb/call_stabby_do_end_with_block.txt
blob: 9c088aef64ed0b7842888118dda0a90e9f41c5c8 (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
35
36
37
38
39
40
41
@ ProgramNode (location: (1,0)-(1,22))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(1,22))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(1,22))
            ├── receiver: ∅
            ├── call_operator_loc: ∅
            ├── name: :a
            ├── message_loc: (1,0)-(1,1) = "a"
            ├── opening_loc: ∅
            ├── arguments:
            │   @ ArgumentsNode (location: (1,2)-(1,13))
            │   ├── arguments: (length: 1)
            │   │   └── @ LambdaNode (location: (1,2)-(1,13))
            │   │       ├── locals: []
            │   │       ├── locals_body_index: 0
            │   │       ├── operator_loc: (1,2)-(1,4) = "->"
            │   │       ├── opening_loc: (1,5)-(1,7) = "do"
            │   │       ├── closing_loc: (1,10)-(1,13) = "end"
            │   │       ├── parameters: ∅
            │   │       └── body:
            │   │           @ StatementsNode (location: (1,8)-(1,9))
            │   │           └── body: (length: 1)
            │   │               └── @ IntegerNode (location: (1,8)-(1,9))
            │   │                   └── flags: decimal
            │   └── flags: ∅
            ├── closing_loc: ∅
            ├── block:
            │   @ BlockNode (location: (1,14)-(1,22))
            │   ├── locals: []
            │   ├── locals_body_index: 0
            │   ├── parameters: ∅
            │   ├── body:
            │   │   @ StatementsNode (location: (1,17)-(1,18))
            │   │   └── body: (length: 1)
            │   │       └── @ IntegerNode (location: (1,17)-(1,18))
            │   │           └── flags: decimal
            │   ├── opening_loc: (1,14)-(1,16) = "do"
            │   └── closing_loc: (1,19)-(1,22) = "end"
            └── flags: ∅