blob: 545b54e66058e8c745bb0c3ea403f8be41361e2a (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
@ ProgramNode (location: (0...45))
├── locals: []
└── statements:
@ StatementsNode (location: (0...45))
└── body: (length: 2)
├── @ CallNode (location: (0...19))
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── message_loc: (0...3) = "fun"
│ ├── opening_loc: (3...4) = "("
│ ├── arguments:
│ │ @ ArgumentsNode (location: (4...18))
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (4...7))
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── message_loc: (4...7) = "foo"
│ │ │ ├── opening_loc: ∅
│ │ │ ├── arguments: ∅
│ │ │ ├── closing_loc: ∅
│ │ │ ├── block: ∅
│ │ │ ├── flags: variable_call
│ │ │ └── name: "foo"
│ │ └── @ KeywordHashNode (location: (9...18))
│ │ └── elements: (length: 1)
│ │ └── @ AssocNode (location: (9...18))
│ │ ├── key:
│ │ │ @ SymbolNode (location: (9...13))
│ │ │ ├── opening_loc: (9...10) = ":"
│ │ │ ├── value_loc: (10...13) = "foo"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "foo"
│ │ ├── value:
│ │ │ @ IntegerNode (location: (17...18))
│ │ │ └── flags: decimal
│ │ └── operator_loc: (14...16) = "=>"
│ ├── closing_loc: (18...19) = ")"
│ ├── block: ∅
│ ├── flags: ∅
│ └── name: "fun"
└── @ CallNode (location: (21...45))
├── receiver: ∅
├── call_operator_loc: ∅
├── message_loc: (21...24) = "fun"
├── opening_loc: (24...25) = "("
├── arguments:
│ @ ArgumentsNode (location: (25...39))
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (25...28))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── message_loc: (25...28) = "foo"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ ├── flags: variable_call
│ │ └── name: "foo"
│ └── @ KeywordHashNode (location: (30...39))
│ └── elements: (length: 1)
│ └── @ AssocNode (location: (30...39))
│ ├── key:
│ │ @ SymbolNode (location: (30...34))
│ │ ├── opening_loc: (30...31) = ":"
│ │ ├── value_loc: (31...34) = "foo"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "foo"
│ ├── value:
│ │ @ IntegerNode (location: (38...39))
│ │ └── flags: decimal
│ └── operator_loc: (35...37) = "=>"
├── closing_loc: (45...46) = ")"
├── block:
│ @ BlockArgumentNode (location: (41...45))
│ ├── expression:
│ │ @ CallNode (location: (42...45))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── message_loc: (42...45) = "baz"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
│ │ ├── flags: variable_call
│ │ └── name: "baz"
│ └── operator_loc: (41...42) = "&"
├── flags: ∅
└── name: "fun"
|