blob: 277d3e81bb9ae2affdc9531cd08e6f785aaef374 (
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
51
52
53
|
@ ProgramNode (location: (0...33))
├── locals: []
└── statements:
@ StatementsNode (location: (0...33))
└── body: (length: 4)
├── @ NextNode (location: (0...4))
│ ├── arguments: ∅
│ └── keyword_loc: (0...4) = "next"
├── @ NextNode (location: (6...14))
│ ├── arguments:
│ │ @ ArgumentsNode (location: (11...14))
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (11...14))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── message_loc: (11...14) = "foo"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ ├── flags: variable_call
│ │ └── name: "foo"
│ └── keyword_loc: (6...10) = "next"
├── @ NextNode (location: (16...22))
│ ├── arguments:
│ │ @ ArgumentsNode (location: (20...22))
│ │ └── arguments: (length: 1)
│ │ └── @ ParenthesesNode (location: (20...22))
│ │ ├── body: ∅
│ │ ├── opening_loc: (20...21) = "("
│ │ └── closing_loc: (21...22) = ")"
│ └── keyword_loc: (16...20) = "next"
└── @ NextNode (location: (24...33))
├── arguments:
│ @ ArgumentsNode (location: (28...33))
│ └── arguments: (length: 1)
│ └── @ ParenthesesNode (location: (28...33))
│ ├── body:
│ │ @ StatementsNode (location: (29...32))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (29...32))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── message_loc: (29...32) = "foo"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ ├── flags: variable_call
│ │ └── name: "foo"
│ ├── opening_loc: (28...29) = "("
│ └── closing_loc: (32...33) = ")"
└── keyword_loc: (24...28) = "next"
|