summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt
blob: 2103bde8cbfa76e109390c2b4e0cfd7f11fc116d (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
42
43
44
45
46
47
48
49
50
@ ProgramNode (location: (1,0)-(3,8))
├── locals: []
└── statements:
    @ StatementsNode (location: (1,0)-(3,8))
    └── body: (length: 1)
        └── @ CallNode (location: (1,0)-(3,8))
            ├── flags: attribute_write
            ├── receiver:
            │   @ CallNode (location: (1,0)-(1,1))
            │   ├── flags: variable_call, ignore_visibility
            │   ├── receiver: ∅
            │   ├── call_operator_loc: ∅
            │   ├── name: :h
            │   ├── message_loc: (1,0)-(1,1) = "h"
            │   ├── opening_loc: ∅
            │   ├── arguments: ∅
            │   ├── closing_loc: ∅
            │   └── block: ∅
            ├── call_operator_loc: ∅
            ├── name: :[]=
            ├── message_loc: (1,1)-(1,4) = "[k]"
            ├── opening_loc: (1,1)-(1,2) = "["
            ├── arguments:
            │   @ ArgumentsNode (location: (1,2)-(3,8))
            │   ├── flags: ∅
            │   └── arguments: (length: 2)
            │       ├── @ CallNode (location: (1,2)-(1,3))
            │       │   ├── flags: variable_call, ignore_visibility
            │       │   ├── receiver: ∅
            │       │   ├── call_operator_loc: ∅
            │       │   ├── name: :k
            │       │   ├── message_loc: (1,2)-(1,3) = "k"
            │       │   ├── opening_loc: ∅
            │       │   ├── arguments: ∅
            │       │   ├── closing_loc: ∅
            │       │   └── block: ∅
            │       └── @ BeginNode (location: (1,5)-(3,8))
            │           ├── begin_keyword_loc: (1,5)-(1,10) = "begin"
            │           ├── statements:
            │           │   @ StatementsNode (location: (2,7)-(2,9))
            │           │   └── body: (length: 1)
            │           │       └── @ IntegerNode (location: (2,7)-(2,9))
            │           │           ├── flags: decimal
            │           │           └── value: 42
            │           ├── rescue_clause: ∅
            │           ├── else_clause: ∅
            │           ├── ensure_clause: ∅
            │           └── end_keyword_loc: (3,5)-(3,8) = "end"
            ├── closing_loc: (1,3)-(1,4) = "]"
            └── block: ∅