summaryrefslogtreecommitdiff
path: root/tests/examplefiles/boo/test.boo.output
blob: 8b60f13ba47c985e2d6e9d9bef4d00f69af588cf (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
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
'import'      Keyword
' '           Text.Whitespace
'System'      Name
'\n'          Text.Whitespace

'import'      Keyword
' '           Text.Whitespace
'Boo'         Name
'.'           Punctuation
'Lang'        Name
'.'           Punctuation
'Interpreter' Name
' '           Text.Whitespace
'from'        Keyword
' '           Text.Whitespace
'Boo'         Name
'.'           Punctuation
'Lang'        Name
'.'           Punctuation
'Interpreter' Name
'\n\n'        Text.Whitespace

'class'       Keyword
' '           Text.Whitespace
'ObjectInterpreter' Name.Class
'('           Punctuation
'AbstractInterpreter' Name
')'           Punctuation
':'           Punctuation
'\n\n        ' Text.Whitespace
'_context'    Name
' '           Text.Whitespace
'as'          Keyword
' '           Text.Whitespace
'object'      Name
'\n\n        ' Text.Whitespace
'['           Punctuation
'getter'      Name.Builtin
'('           Punctuation
'Value'       Name
')'           Punctuation
']'           Punctuation
'\n        '  Text.Whitespace
'_value'      Name
' '           Text.Whitespace
'as'          Keyword
' '           Text.Whitespace
'object'      Name
'\n\n        ' Text.Whitespace
'def'         Keyword
' '           Text.Whitespace
'constructor' Name.Function
'('           Punctuation
'context'     Name
')'           Punctuation
':'           Punctuation
'\n            ' Text.Whitespace
'_context'    Name
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'context'     Name
'\n            ' Text.Whitespace
'self'        Name.Builtin
'.'           Punctuation
'RememberLastValue' Name
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'true'        Name.Builtin
'\n\n        ' Text.Whitespace
'override'    Keyword
' '           Text.Whitespace
'def'         Keyword
' '           Text.Whitespace
'Lookup'      Name.Function
'('           Punctuation
'name'        Name
' '           Text.Whitespace
'as'          Keyword
' '           Text.Whitespace
'string'      Name
')'           Punctuation
':'           Punctuation
'\n            ' Text.Whitespace
'property'    Name.Builtin
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'_context'    Name
'.'           Punctuation
'GetType'     Name
'('           Punctuation
')'           Punctuation
'.'           Punctuation
'GetProperty' Name
'('           Punctuation
'name'        Name
')'           Punctuation
'\n            ' Text.Whitespace
'return'      Keyword
' '           Text.Whitespace
'property'    Name.Builtin
'.'           Punctuation
'PropertyType' Name
' '           Text.Whitespace
'if'          Keyword
' '           Text.Whitespace
'property'    Name.Builtin
' '           Text.Whitespace
'is'          Operator.Word
' '           Text.Whitespace
'not'         Operator.Word
' '           Text.Whitespace
'null'        Name.Builtin
'\n\n        ' Text.Whitespace
'override'    Keyword
' '           Text.Whitespace
'def'         Keyword
' '           Text.Whitespace
'GetValue'    Name.Function
'('           Punctuation
'name'        Name
' '           Text.Whitespace
'as'          Keyword
' '           Text.Whitespace
'string'      Name
')'           Punctuation
':'           Punctuation
'\n            ' Text.Whitespace
'return'      Keyword
' '           Text.Whitespace
'_context'    Name
'.'           Punctuation
'GetType'     Name
'('           Punctuation
')'           Punctuation
'.'           Punctuation
'GetProperty' Name
'('           Punctuation
'name'        Name
')'           Punctuation
'.'           Punctuation
'GetValue'    Name
'('           Punctuation
'\n                                          ' Text.Whitespace
'_context'    Name
','           Punctuation
' '           Text.Whitespace
'null'        Name.Builtin
')'           Punctuation
'\n\n        ' Text.Whitespace
'override'    Keyword
' '           Text.Whitespace
'def'         Keyword
' '           Text.Whitespace
'SetLastValue' Name.Function
'('           Punctuation
'value'       Name
')'           Punctuation
':'           Punctuation
'\n            ' Text.Whitespace
'_value'      Name
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'value'       Name
'\n\n        ' Text.Whitespace
'override'    Keyword
' '           Text.Whitespace
'def'         Keyword
' '           Text.Whitespace
'SetValue'    Name.Function
'('           Punctuation
'name'        Name
' '           Text.Whitespace
'as'          Keyword
' '           Text.Whitespace
'string'      Name
','           Punctuation
' '           Text.Whitespace
'value'       Name
')'           Punctuation
':'           Punctuation
'\n            ' Text.Whitespace
'raise'       Keyword
' '           Text.Whitespace
'InvalidOperationException' Name
'('           Punctuation
')'           Punctuation
'\n\n        ' Text.Whitespace
'override'    Keyword
' '           Text.Whitespace
'def'         Keyword
' '           Text.Whitespace
'Declare'     Name.Function
'('           Punctuation
'name'        Name
' '           Text.Whitespace
'as'          Keyword
' '           Text.Whitespace
'string'      Name
','           Punctuation
' '           Text.Whitespace
'type'        Name
' '           Text.Whitespace
'as'          Keyword
' '           Text.Whitespace
'Type'        Name
')'           Punctuation
':'           Punctuation
'\n            ' Text.Whitespace
'raise'       Keyword
' '           Text.Whitespace
'InvalidOperationException' Name
'('           Punctuation
')'           Punctuation
'\n\n'        Text.Whitespace

'class'       Keyword
' '           Text.Whitespace
'Person'      Name.Class
':'           Punctuation
'\n        '  Text.Whitespace
'['           Punctuation
'property'    Name.Builtin
'('           Punctuation
'FirstName'   Name
')'           Punctuation
']'           Punctuation
'\n        '  Text.Whitespace
'_fname'      Name
' '           Text.Whitespace
'as'          Keyword
' '           Text.Whitespace
'string'      Name
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'""'          Literal.String.Double
'\n\n'        Text.Whitespace

'p'           Name
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'Person'      Name
'('           Punctuation
'FirstName'   Name
':'           Punctuation
' '           Text.Whitespace
'"Homer"'     Literal.String.Double
')'           Punctuation
'\n'          Text.Whitespace

'i'           Name
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'ObjectInterpreter' Name
'('           Punctuation
'p'           Name
')'           Punctuation
'\n'          Text.Whitespace

'i'           Name
'.'           Punctuation
'Eval'        Name
'('           Punctuation
'\'"Hello, ${FirstName.ToUpper()}!"\'' Literal.String.Single
')'           Punctuation
'\n'          Text.Whitespace

'print'       Name.Builtin
' '           Text.Whitespace
'i'           Name
'.'           Punctuation
'Value'       Name
'\n'          Text.Whitespace