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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
|
@ ProgramNode (location: (1,0)-(11,14))
├── locals: []
└── statements:
@ StatementsNode (location: (1,0)-(11,14))
└── body: (length: 6)
├── @ ReturnNode (location: (1,0)-(1,17))
│ ├── flags: ∅
│ ├── keyword_loc: (1,0)-(1,6) = "return"
│ └── arguments:
│ @ ArgumentsNode (location: (1,7)-(1,17))
│ ├── flags: contains_keywords
│ └── arguments: (length: 2)
│ ├── @ IntegerNode (location: (1,7)-(1,8))
│ │ ├── flags: decimal
│ │ └── value: 1
│ └── @ KeywordHashNode (location: (1,10)-(1,17))
│ ├── flags: symbol_keys
│ └── elements: (length: 1)
│ └── @ AssocNode (location: (1,10)-(1,17))
│ ├── key:
│ │ @ SymbolNode (location: (1,10)-(1,12))
│ │ ├── flags: forced_us_ascii_encoding
│ │ ├── opening_loc: (1,10)-(1,11) = ":"
│ │ ├── value_loc: (1,11)-(1,12) = "z"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "z"
│ ├── value:
│ │ @ IntegerNode (location: (1,16)-(1,17))
│ │ ├── flags: decimal
│ │ └── value: 1
│ └── operator_loc: (1,13)-(1,15) = "=>"
├── @ ReturnNode (location: (3,0)-(3,26))
│ ├── flags: ∅
│ ├── keyword_loc: (3,0)-(3,6) = "return"
│ └── arguments:
│ @ ArgumentsNode (location: (3,7)-(3,26))
│ ├── flags: contains_keywords
│ └── arguments: (length: 2)
│ ├── @ IntegerNode (location: (3,7)-(3,8))
│ │ ├── flags: decimal
│ │ └── value: 1
│ └── @ KeywordHashNode (location: (3,10)-(3,26))
│ ├── flags: symbol_keys
│ └── elements: (length: 2)
│ ├── @ AssocNode (location: (3,10)-(3,17))
│ │ ├── key:
│ │ │ @ SymbolNode (location: (3,10)-(3,12))
│ │ │ ├── flags: forced_us_ascii_encoding
│ │ │ ├── opening_loc: (3,10)-(3,11) = ":"
│ │ │ ├── value_loc: (3,11)-(3,12) = "z"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "z"
│ │ ├── value:
│ │ │ @ IntegerNode (location: (3,16)-(3,17))
│ │ │ ├── flags: decimal
│ │ │ └── value: 1
│ │ └── operator_loc: (3,13)-(3,15) = "=>"
│ └── @ AssocNode (location: (3,19)-(3,26))
│ ├── key:
│ │ @ SymbolNode (location: (3,19)-(3,21))
│ │ ├── flags: forced_us_ascii_encoding
│ │ ├── opening_loc: (3,19)-(3,20) = ":"
│ │ ├── value_loc: (3,20)-(3,21) = "w"
│ │ ├── closing_loc: ∅
│ │ └── unescaped: "w"
│ ├── value:
│ │ @ IntegerNode (location: (3,25)-(3,26))
│ │ ├── flags: decimal
│ │ └── value: 2
│ └── operator_loc: (3,22)-(3,24) = "=>"
├── @ ReturnNode (location: (5,0)-(5,14))
│ ├── flags: ∅
│ ├── keyword_loc: (5,0)-(5,6) = "return"
│ └── arguments:
│ @ ArgumentsNode (location: (5,7)-(5,14))
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (5,7)-(5,14))
│ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :y
│ ├── message_loc: (5,7)-(5,8) = "y"
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (5,9)-(5,14))
│ │ ├── flags: contains_keywords
│ │ └── arguments: (length: 1)
│ │ └── @ KeywordHashNode (location: (5,9)-(5,14))
│ │ ├── flags: symbol_keys
│ │ └── elements: (length: 1)
│ │ └── @ AssocNode (location: (5,9)-(5,14))
│ │ ├── key:
│ │ │ @ SymbolNode (location: (5,9)-(5,11))
│ │ │ ├── flags: forced_us_ascii_encoding
│ │ │ ├── opening_loc: (5,9)-(5,10) = ":"
│ │ │ ├── value_loc: (5,10)-(5,11) = "z"
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "z"
│ │ ├── value:
│ │ │ @ IntegerNode (location: (5,13)-(5,14))
│ │ │ ├── flags: decimal
│ │ │ └── value: 1
│ │ └── operator_loc: (5,11)-(5,13) = "=>"
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ ReturnNode (location: (7,0)-(7,12))
│ ├── flags: ∅
│ ├── keyword_loc: (7,0)-(7,6) = "return"
│ └── arguments:
│ @ ArgumentsNode (location: (7,7)-(7,12))
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (7,7)-(7,12))
│ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :y
│ ├── message_loc: (7,7)-(7,8) = "y"
│ ├── opening_loc: ∅
│ ├── arguments:
│ │ @ ArgumentsNode (location: (7,9)-(7,12))
│ │ ├── flags: contains_keywords
│ │ └── arguments: (length: 1)
│ │ └── @ KeywordHashNode (location: (7,9)-(7,12))
│ │ ├── flags: symbol_keys
│ │ └── elements: (length: 1)
│ │ └── @ AssocNode (location: (7,9)-(7,12))
│ │ ├── key:
│ │ │ @ SymbolNode (location: (7,9)-(7,11))
│ │ │ ├── flags: forced_us_ascii_encoding
│ │ │ ├── opening_loc: ∅
│ │ │ ├── value_loc: (7,9)-(7,10) = "z"
│ │ │ ├── closing_loc: (7,10)-(7,11) = ":"
│ │ │ └── unescaped: "z"
│ │ ├── value:
│ │ │ @ IntegerNode (location: (7,11)-(7,12))
│ │ │ ├── flags: decimal
│ │ │ └── value: 1
│ │ └── operator_loc: ∅
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ ReturnNode (location: (9,0)-(9,13))
│ ├── flags: ∅
│ ├── keyword_loc: (9,0)-(9,6) = "return"
│ └── arguments:
│ @ ArgumentsNode (location: (9,7)-(9,13))
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (9,7)-(9,13))
│ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :y
│ ├── message_loc: (9,7)-(9,8) = "y"
│ ├── opening_loc: (9,8)-(9,9) = "("
│ ├── arguments:
│ │ @ ArgumentsNode (location: (9,9)-(9,12))
│ │ ├── flags: contains_keywords
│ │ └── arguments: (length: 1)
│ │ └── @ KeywordHashNode (location: (9,9)-(9,12))
│ │ ├── flags: symbol_keys
│ │ └── elements: (length: 1)
│ │ └── @ AssocNode (location: (9,9)-(9,12))
│ │ ├── key:
│ │ │ @ SymbolNode (location: (9,9)-(9,11))
│ │ │ ├── flags: forced_us_ascii_encoding
│ │ │ ├── opening_loc: ∅
│ │ │ ├── value_loc: (9,9)-(9,10) = "z"
│ │ │ ├── closing_loc: (9,10)-(9,11) = ":"
│ │ │ └── unescaped: "z"
│ │ ├── value:
│ │ │ @ IntegerNode (location: (9,11)-(9,12))
│ │ │ ├── flags: decimal
│ │ │ └── value: 1
│ │ └── operator_loc: ∅
│ ├── closing_loc: (9,12)-(9,13) = ")"
│ └── block: ∅
└── @ ReturnNode (location: (11,0)-(11,14))
├── flags: ∅
├── keyword_loc: (11,0)-(11,6) = "return"
└── arguments:
@ ArgumentsNode (location: (11,7)-(11,14))
├── flags: ∅
└── arguments: (length: 1)
└── @ CallNode (location: (11,7)-(11,14))
├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :y
├── message_loc: (11,7)-(11,8) = "y"
├── opening_loc: (11,8)-(11,9) = "("
├── arguments:
│ @ ArgumentsNode (location: (11,9)-(11,13))
│ ├── flags: contains_keywords
│ └── arguments: (length: 1)
│ └── @ KeywordHashNode (location: (11,9)-(11,13))
│ ├── flags: ∅
│ └── elements: (length: 1)
│ └── @ AssocNode (location: (11,9)-(11,13))
│ ├── key:
│ │ @ CallNode (location: (11,9)-(11,10))
│ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :z
│ │ ├── message_loc: (11,9)-(11,10) = "z"
│ │ ├── opening_loc: ∅
│ │ ├── arguments: ∅
│ │ ├── closing_loc: ∅
│ │ └── block: ∅
│ ├── value:
│ │ @ IntegerNode (location: (11,12)-(11,13))
│ │ ├── flags: decimal
│ │ └── value: 1
│ └── operator_loc: (11,10)-(11,12) = "=>"
├── closing_loc: (11,13)-(11,14) = ")"
└── block: ∅
|