summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/parse_line_to_ary.txt
blob: 0485b0d2e3b2ef21b6bcec4360c4819fadfa43fd (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
@ ProgramNode (location: (1,0)-(3,1))
├── locals: [:a, :b]
└── statements:
    @ StatementsNode (location: (1,0)-(3,1))
    └── body: (length: 2)
        ├── @ MultiWriteNode (location: (1,0)-(2,5))
        │   ├── lefts: (length: 2)
        │   │   ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
        │   │   │   ├── name: :a
        │   │   │   └── depth: 0
        │   │   └── @ LocalVariableTargetNode (location: (2,0)-(2,1))
        │   │       ├── name: :b
        │   │       └── depth: 0
        │   ├── rest: ∅
        │   ├── rights: (length: 0)
        │   ├── lparen_loc: ∅
        │   ├── rparen_loc: ∅
        │   ├── operator_loc: (2,2)-(2,3) = "="
        │   └── value:
        │       @ CallNode (location: (2,4)-(2,5))
        │       ├── flags: variable_call, ignore_visibility
        │       ├── receiver: ∅
        │       ├── call_operator_loc: ∅
        │       ├── name: :c
        │       ├── message_loc: (2,4)-(2,5) = "c"
        │       ├── opening_loc: ∅
        │       ├── arguments: ∅
        │       ├── closing_loc: ∅
        │       └── block: ∅
        └── @ CallNode (location: (3,0)-(3,1))
            ├── flags: variable_call, ignore_visibility
            ├── receiver: ∅
            ├── call_operator_loc: ∅
            ├── name: :d
            ├── message_loc: (3,0)-(3,1) = "d"
            ├── opening_loc: ∅
            ├── arguments: ∅
            ├── closing_loc: ∅
            └── block: ∅