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
|
@ ProgramNode (location: (1,0)-(1,22))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(1,22))
└── body: (length: 1)
└── @ SingletonClassNode (location: (1,0)-(1,22))
├── locals: []
├── class_keyword_loc: (1,0)-(1,5) = "class"
├── operator_loc: (1,6)-(1,8) = "<<"
├── expression:
│ @ CallNode (location: (1,9)-(1,12))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (1,9)-(1,12) = "foo"
│ ├── opening_loc: ∅
│ ├── arguments: ∅
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: variable_call
│ └── name: :foo
├── body:
│ @ StatementsNode (location: (1,14)-(1,17))
│ └── body: (length: 1)
│ └── @ NilNode (location: (1,14)-(1,17))
└── end_keyword_loc: (1,19)-(1,22) = "end"
|