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
|
@ ProgramNode (location: (1,0)-(1,28))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(1,28))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,28))
├── receiver: ∅
├── call_operator_loc: ∅
├── message_loc: (1,0)-(1,1) = "p"
├── opening_loc: ∅
├── arguments:
│ @ ArgumentsNode (location: (1,2)-(1,28))
│ └── arguments: (length: 1)
│ └── @ BeginNode (location: (1,2)-(1,28))
│ ├── begin_keyword_loc: (1,2)-(1,7) = "begin"
│ ├── statements:
│ │ @ StatementsNode (location: (1,8)-(1,24))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,8)-(1,24))
│ │ ├── receiver:
│ │ │ @ IntegerNode (location: (1,8)-(1,9))
│ │ │ └── flags: decimal
│ │ ├── call_operator_loc: (1,9)-(1,10) = "."
│ │ ├── message_loc: (1,10)-(1,15) = "times"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block:
│ │ │ @ BlockNode (location: (1,16)-(1,24))
│ │ │ ├── locals: []
│ │ │ ├── parameters: ∅
│ │ │ ├── body:
│ │ │ │ @ StatementsNode (location: (1,19)-(1,20))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ IntegerNode (location: (1,19)-(1,20))
│ │ │ │ └── flags: decimal
│ │ │ ├── opening_loc: (1,16)-(1,18) = "do"
│ │ │ └── closing_loc: (1,21)-(1,24) = "end"
│ │ ├── flags: ∅
│ │ └── name: "times"
│ ├── rescue_clause: ∅
│ ├── else_clause: ∅
│ ├── ensure_clause: ∅
│ └── end_keyword_loc: (1,25)-(1,28) = "end"
├── closing_loc: ∅
├── block: ∅
├── flags: ∅
└── name: "p"
|