blob: bc20fb39f8aeee66533a98d7dd22cbc0cd58b25c (
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
|
@ ProgramNode (location: (0...8))
├── locals: [:a]
└── statements:
@ StatementsNode (location: (0...8))
└── body: (length: 1)
└── @ MultiWriteNode (location: (0...8))
├── targets: (length: 2)
│ ├── @ MultiTargetNode (location: (0...1))
│ │ ├── targets: (length: 1)
│ │ │ └── @ SplatNode (location: (0...1))
│ │ │ ├── operator_loc: (0...1) = "*"
│ │ │ └── expression: ∅
│ │ ├── lparen_loc: ∅
│ │ └── rparen_loc: ∅
│ └── @ LocalVariableTargetNode (location: (3...4))
│ ├── name: :a
│ └── depth: 0
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (5...6) = "="
└── value:
@ CallNode (location: (7...8))
├── receiver: ∅
├── call_operator_loc: ∅
├── message_loc: (7...8) = "b"
├── opening_loc: ∅
├── arguments: ∅
├── closing_loc: ∅
├── block: ∅
├── flags: variable_call
└── name: "b"
|