blob: 35ff181f48dfa1f3b351f2e827e8e95cc1f6cf64 (
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
|
@ ProgramNode (location: (0...28))
├── locals: []
└── statements:
@ StatementsNode (location: (0...28))
└── body: (length: 2)
├── @ CallNode (location: (0...14))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (0...1) = "m"
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (2...14))
│ │ └── arguments: (length: 1)
│ │ └── @ DefNode (location: (2...14))
│ │ ├── name: :x
│ │ ├── name_loc: (6...7) = "x"
│ │ ├── receiver: ∅
│ │ ├── parameters: ∅
│ │ ├── body: ∅
│ │ ├── locals: []
│ │ ├── def_keyword_loc: (2...5) = "def"
│ │ ├── operator_loc: ∅
│ │ ├── lparen_loc: (7...8) = "("
│ │ ├── rparen_loc: (8...9) = ")"
│ │ ├── equal_loc: ∅
│ │ └── end_keyword_loc: (11...14) = "end"
│ ├── closing_loc: ∅
│ ├── block: ∅
│ ├── flags: ∅
│ └── name: "m"
└── @ CallNode (location: (16...28))
├── receiver:
│ @ IntegerNode (location: (16...17))
│ └── flags: decimal
├── call_operator_loc: (17...18) = "."
├── message_loc: (18...21) = "tap"
├── opening_loc: ∅
├── arguments: ∅
├── closing_loc: ∅
├── block:
│ @ BlockNode (location: (22...28))
│ ├── locals: []
│ ├── parameters: ∅
│ ├── body: ∅
│ ├── opening_loc: (22...24) = "do"
│ └── closing_loc: (25...28) = "end"
├── flags: ∅
└── name: "tap"
|