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
|
@ ProgramNode (location: (1,0)-(1,19))
├── flags: ∅
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(1,19))
├── flags: ∅
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,19))
├── flags: newline, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
├── message_loc: (1,0)-(1,1) = "a"
├── opening_loc: ∅
├── arguments:
│ @ ArgumentsNode (location: (1,2)-(1,19))
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ ArrayNode (location: (1,2)-(1,19))
│ ├── flags: ∅
│ ├── elements: (length: 2)
│ │ ├── @ NilNode (location: (1,4)-(1,7))
│ │ │ └── flags: static_literal
│ │ └── @ CallNode (location: (1,9)-(1,17))
│ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
│ │ ├── message_loc: (1,9)-(1,10) = "b"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ └── block:
│ │ @ BlockNode (location: (1,11)-(1,17))
│ │ ├── flags: ∅
│ │ ├── locals: []
│ │ ├── parameters: ∅
│ │ ├── body: ∅
│ │ ├── opening_loc: (1,11)-(1,13) = "do"
│ │ └── closing_loc: (1,14)-(1,17) = "end"
│ ├── opening_loc: (1,2)-(1,3) = "["
│ └── closing_loc: (1,18)-(1,19) = "]"
├── closing_loc: ∅
└── block: ∅
|