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
|
@ ProgramNode (location: (1,0)-(1,33))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(1,33))
└── body: (length: 1)
└── @ DefNode (location: (1,0)-(1,33))
├── name: :some_method
├── name_loc: (1,4)-(1,15) = "some_method"
├── receiver: ∅
├── parameters: ∅
├── body:
│ @ StatementsNode (location: (1,18)-(1,33))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,18)-(1,33))
│ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :other_method
│ ├── message_loc: (1,18)-(1,30) = "other_method"
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (1,31)-(1,33))
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ IntegerNode (location: (1,31)-(1,33))
│ │ ├── flags: decimal
│ │ └── value: 42
│ ├── closing_loc: ∅
│ └── block: ∅
├── locals: []
├── def_keyword_loc: (1,0)-(1,3) = "def"
├── operator_loc: ∅
├── lparen_loc: ∅
├── rparen_loc: ∅
├── equal_loc: (1,16)-(1,17) = "="
└── end_keyword_loc: ∅
|