resin 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. data/amber/css/amber-normalize.css +73 -73
  2. data/amber/css/amber-normalize.less +1 -1
  3. data/amber/css/amber.css +106 -106
  4. data/amber/css/helios.css +242 -0
  5. data/amber/images/hsplitter.png +0 -0
  6. data/amber/images/vsplitter.png +0 -0
  7. data/amber/js/Benchfib.deploy.js +116 -38
  8. data/amber/js/Benchfib.js +120 -42
  9. data/amber/js/Canvas.deploy.js +674 -403
  10. data/amber/js/Canvas.js +682 -411
  11. data/amber/js/Compiler-AST.deploy.js +1150 -0
  12. data/amber/js/Compiler-AST.js +1591 -0
  13. data/amber/js/Compiler-Core.deploy.js +1562 -0
  14. data/amber/js/Compiler-Core.js +1972 -0
  15. data/amber/js/Compiler-Exceptions.deploy.js +114 -0
  16. data/amber/js/Compiler-Exceptions.js +161 -0
  17. data/amber/js/Compiler-IR.deploy.js +2326 -0
  18. data/amber/js/Compiler-IR.js +3146 -0
  19. data/amber/js/Compiler-Inlining.deploy.js +1147 -0
  20. data/amber/js/Compiler-Inlining.js +1514 -0
  21. data/amber/js/Compiler-Semantic.deploy.js +1207 -0
  22. data/amber/js/Compiler-Semantic.js +1628 -0
  23. data/amber/js/Compiler-Tests.deploy.js +646 -60
  24. data/amber/js/Compiler-Tests.js +843 -82
  25. data/amber/js/Compiler.deploy.js +1097 -159
  26. data/amber/js/Compiler.js +1414 -161
  27. data/amber/js/Examples.deploy.js +31 -15
  28. data/amber/js/Examples.js +33 -17
  29. data/amber/js/Helios-Announcements.deploy.js +127 -0
  30. data/amber/js/Helios-Announcements.js +157 -0
  31. data/amber/js/Helios-Browser.deploy.js +1473 -0
  32. data/amber/js/Helios-Browser.js +1953 -0
  33. data/amber/js/Helios-Commands.deploy.js +403 -0
  34. data/amber/js/Helios-Commands.js +563 -0
  35. data/amber/js/Helios-Core.deploy.js +1070 -0
  36. data/amber/js/Helios-Core.js +1445 -0
  37. data/amber/js/Helios-Environments.deploy.js +132 -0
  38. data/amber/js/Helios-Environments.js +179 -0
  39. data/amber/js/Helios-Inspector.deploy.js +855 -0
  40. data/amber/js/Helios-Inspector.js +1155 -0
  41. data/amber/js/Helios-KeyBindings.deploy.js +753 -0
  42. data/amber/js/Helios-KeyBindings.js +1023 -0
  43. data/amber/js/Helios-Layout.deploy.js +383 -0
  44. data/amber/js/Helios-Layout.js +523 -0
  45. data/amber/js/Helios-Workspace.deploy.js +799 -0
  46. data/amber/js/Helios-Workspace.js +1074 -0
  47. data/amber/js/IDE.deploy.js +2541 -1490
  48. data/amber/js/IDE.js +2721 -1660
  49. data/amber/js/Importer-Exporter.deploy.js +671 -0
  50. data/amber/js/Importer-Exporter.js +816 -0
  51. data/amber/js/Kernel-Announcements.deploy.js +137 -20
  52. data/amber/js/Kernel-Announcements.js +176 -22
  53. data/amber/js/Kernel-Classes.deploy.js +555 -168
  54. data/amber/js/Kernel-Classes.js +662 -205
  55. data/amber/js/Kernel-Collections.deploy.js +1403 -618
  56. data/amber/js/Kernel-Collections.js +1545 -690
  57. data/amber/js/Kernel-Exceptions.deploy.js +109 -45
  58. data/amber/js/Kernel-Exceptions.js +123 -49
  59. data/amber/js/Kernel-Methods.deploy.js +196 -81
  60. data/amber/js/Kernel-Methods.js +214 -89
  61. data/amber/js/Kernel-Objects.deploy.js +1542 -1117
  62. data/amber/js/Kernel-Objects.js +1593 -1148
  63. data/amber/js/Kernel-Tests.deploy.js +1725 -772
  64. data/amber/js/Kernel-Tests.js +2301 -1123
  65. data/amber/js/Kernel-Transcript.deploy.js +23 -25
  66. data/amber/js/Kernel-Transcript.js +24 -26
  67. data/amber/js/SUnit.deploy.js +204 -131
  68. data/amber/js/SUnit.js +222 -139
  69. data/amber/js/Spaces.deploy.js +240 -0
  70. data/amber/js/Spaces.js +326 -0
  71. data/amber/js/amber.js +26 -7
  72. data/amber/js/boot.js +65 -47
  73. data/amber/js/init.js +1 -1
  74. data/amber/js/lib/CodeMirror/amber.css +21 -21
  75. data/amber/js/lib/CodeMirror/codemirror.css +119 -13
  76. data/amber/js/lib/CodeMirror/codemirror.js +2219 -1220
  77. data/amber/js/lib/CodeMirror/smalltalk.js +134 -129
  78. data/amber/js/lib/bootstrap/css/bootstrap.css +5837 -0
  79. data/amber/js/lib/bootstrap/css/bootstrap.min.css +841 -0
  80. data/amber/js/lib/bootstrap/img/glyphicons-halflings-white.png +0 -0
  81. data/amber/js/lib/bootstrap/img/glyphicons-halflings.png +0 -0
  82. data/amber/js/lib/bootstrap/js/bootstrap.js +2038 -0
  83. data/amber/js/lib/bootstrap/js/bootstrap.min.js +7 -0
  84. data/amber/js/lib/jQuery/jquery-1.8.2.min.js +2 -0
  85. data/amber/js/lib/jQuery/jquery-ui-1.8.24.custom.min.js +125 -0
  86. data/amber/st/Compiler-AST.st +505 -0
  87. data/amber/st/Compiler-Core.st +835 -0
  88. data/amber/st/Compiler-Exceptions.st +87 -0
  89. data/amber/st/Compiler-IR.st +1097 -0
  90. data/amber/st/Compiler-Inlining.st +650 -0
  91. data/amber/st/Compiler-Semantic.st +558 -0
  92. data/amber/st/Compiler-Tests.st +285 -381
  93. data/amber/st/Compiler.st +725 -2
  94. data/amber/st/Helios-Announcements.st +104 -0
  95. data/amber/st/Helios-Browser.st +708 -0
  96. data/amber/st/Helios-Commands.st +223 -0
  97. data/amber/st/Helios-Core.st +532 -0
  98. data/amber/st/Helios-Environments.st +98 -0
  99. data/amber/st/Helios-Inspector.st +367 -0
  100. data/amber/st/Helios-KeyBindings.st +337 -0
  101. data/amber/st/Helios-Layout.st +199 -0
  102. data/amber/st/Helios-Workspace.st +367 -0
  103. data/amber/st/IDE.st +75 -53
  104. data/amber/st/Importer-Exporter.st +386 -0
  105. data/amber/st/Kernel-Announcements.st +92 -0
  106. data/amber/st/Kernel-Classes.st +137 -15
  107. data/amber/st/Kernel-Collections.st +137 -47
  108. data/amber/st/Kernel-Exceptions.st +14 -0
  109. data/amber/st/Kernel-Methods.st +9 -1
  110. data/amber/st/Kernel-Objects.st +29 -5
  111. data/amber/st/Kernel-Tests.st +545 -199
  112. data/amber/st/SUnit.st +10 -0
  113. data/amber/st/Spaces.st +142 -0
  114. data/lib/resin/app.rb +1 -1
  115. metadata +86 -31
  116. data/amber/js/lib/jQuery/jquery-1.4.4.min.js +0 -167
  117. data/amber/js/lib/jQuery/jquery-1.6.4.min.js +0 -4
@@ -0,0 +1,403 @@
1
+ smalltalk.addPackage('Helios-Commands', {});
2
+ smalltalk.addClass('HLCommand', smalltalk.Object, [], 'Helios-Commands');
3
+ smalltalk.addMethod(
4
+ "_asBinding",
5
+ smalltalk.method({
6
+ selector: "asBinding",
7
+ fn: function () {
8
+ var self = this;
9
+ var $1;
10
+ $1 = smalltalk.send(smalltalk.send(smalltalk.HLBindingAction || HLBindingAction, "_on_labelled_", [smalltalk.send(self, "_key", []), smalltalk.send(self, "_label", [])]), "_callback_", [function () {return smalltalk.send(self, "_execute", []);}]);
11
+ return $1;
12
+ }
13
+ }),
14
+ smalltalk.HLCommand);
15
+
16
+ smalltalk.addMethod(
17
+ "_documentation",
18
+ smalltalk.method({
19
+ selector: "documentation",
20
+ fn: function () {
21
+ var self = this;
22
+ var $1;
23
+ $1 = smalltalk.send(smalltalk.send(self, "_class", []), "_documentation", []);
24
+ return $1;
25
+ }
26
+ }),
27
+ smalltalk.HLCommand);
28
+
29
+ smalltalk.addMethod(
30
+ "_execute",
31
+ smalltalk.method({
32
+ selector: "execute",
33
+ fn: function () {
34
+ var self = this;
35
+ return self;
36
+ }
37
+ }),
38
+ smalltalk.HLCommand);
39
+
40
+ smalltalk.addMethod(
41
+ "_key",
42
+ smalltalk.method({
43
+ selector: "key",
44
+ fn: function () {
45
+ var self = this;
46
+ var $1;
47
+ $1 = smalltalk.send(smalltalk.send(self, "_class", []), "_key", []);
48
+ return $1;
49
+ }
50
+ }),
51
+ smalltalk.HLCommand);
52
+
53
+ smalltalk.addMethod(
54
+ "_label",
55
+ smalltalk.method({
56
+ selector: "label",
57
+ fn: function () {
58
+ var self = this;
59
+ var $1;
60
+ $1 = smalltalk.send(smalltalk.send(self, "_class", []), "_label", []);
61
+ return $1;
62
+ }
63
+ }),
64
+ smalltalk.HLCommand);
65
+
66
+
67
+ smalltalk.addMethod(
68
+ "_bindingGroup",
69
+ smalltalk.method({
70
+ selector: "bindingGroup",
71
+ fn: function () {
72
+ var self = this;
73
+ return nil;
74
+ }
75
+ }),
76
+ smalltalk.HLCommand.klass);
77
+
78
+ smalltalk.addMethod(
79
+ "_documentation",
80
+ smalltalk.method({
81
+ selector: "documentation",
82
+ fn: function () {
83
+ var self = this;
84
+ return "";
85
+ }
86
+ }),
87
+ smalltalk.HLCommand.klass);
88
+
89
+ smalltalk.addMethod(
90
+ "_key",
91
+ smalltalk.method({
92
+ selector: "key",
93
+ fn: function () {
94
+ var self = this;
95
+ return nil;
96
+ }
97
+ }),
98
+ smalltalk.HLCommand.klass);
99
+
100
+ smalltalk.addMethod(
101
+ "_label",
102
+ smalltalk.method({
103
+ selector: "label",
104
+ fn: function () {
105
+ var self = this;
106
+ return "";
107
+ }
108
+ }),
109
+ smalltalk.HLCommand.klass);
110
+
111
+
112
+ smalltalk.addClass('HLBrowserCommand', smalltalk.HLCommand, ['model'], 'Helios-Commands');
113
+ smalltalk.addMethod(
114
+ "_model",
115
+ smalltalk.method({
116
+ selector: "model",
117
+ fn: function () {
118
+ var self = this;
119
+ return self['@model'];
120
+ }
121
+ }),
122
+ smalltalk.HLBrowserCommand);
123
+
124
+ smalltalk.addMethod(
125
+ "_model_",
126
+ smalltalk.method({
127
+ selector: "model:",
128
+ fn: function (aBrowserModel) {
129
+ var self = this;
130
+ self['@model'] = aBrowserModel;
131
+ return self;
132
+ }
133
+ }),
134
+ smalltalk.HLBrowserCommand);
135
+
136
+
137
+ smalltalk.addMethod(
138
+ "_on_",
139
+ smalltalk.method({
140
+ selector: "on:",
141
+ fn: function (aBrowserModel) {
142
+ var self = this;
143
+ var $2, $3, $1;
144
+ $2 = smalltalk.send(self, "_new", []);
145
+ smalltalk.send($2, "_model_", [aBrowserModel]);
146
+ $3 = smalltalk.send($2, "_yourself", []);
147
+ $1 = $3;
148
+ return $1;
149
+ }
150
+ }),
151
+ smalltalk.HLBrowserCommand.klass);
152
+
153
+
154
+ smalltalk.addClass('HLGoToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands');
155
+
156
+ smalltalk.addMethod(
157
+ "_bindingGroup",
158
+ smalltalk.method({
159
+ selector: "bindingGroup",
160
+ fn: function () {
161
+ var self = this;
162
+ return "Go to";
163
+ }
164
+ }),
165
+ smalltalk.HLGoToCommand.klass);
166
+
167
+
168
+ smalltalk.addClass('HLGoToClassesCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
169
+ smalltalk.addMethod(
170
+ "_execute",
171
+ smalltalk.method({
172
+ selector: "execute",
173
+ fn: function () {
174
+ var self = this;
175
+ smalltalk.send(smalltalk.send(self, "_model", []), "_selectedClass_", [smalltalk.send(smalltalk.send(self, "_model", []), "_selectedClass", [])]);
176
+ return self;
177
+ }
178
+ }),
179
+ smalltalk.HLGoToClassesCommand);
180
+
181
+
182
+ smalltalk.addMethod(
183
+ "_key",
184
+ smalltalk.method({
185
+ selector: "key",
186
+ fn: function () {
187
+ var self = this;
188
+ return 67;
189
+ }
190
+ }),
191
+ smalltalk.HLGoToClassesCommand.klass);
192
+
193
+ smalltalk.addMethod(
194
+ "_label",
195
+ smalltalk.method({
196
+ selector: "label",
197
+ fn: function () {
198
+ var self = this;
199
+ return "Classes";
200
+ }
201
+ }),
202
+ smalltalk.HLGoToClassesCommand.klass);
203
+
204
+
205
+ smalltalk.addClass('HLGoToMethodsCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
206
+ smalltalk.addMethod(
207
+ "_execute",
208
+ smalltalk.method({
209
+ selector: "execute",
210
+ fn: function () {
211
+ var self = this;
212
+ smalltalk.send(smalltalk.send(self, "_model", []), "_selectedMethod_", [smalltalk.send(smalltalk.send(self, "_model", []), "_selectedMethod", [])]);
213
+ return self;
214
+ }
215
+ }),
216
+ smalltalk.HLGoToMethodsCommand);
217
+
218
+
219
+ smalltalk.addMethod(
220
+ "_key",
221
+ smalltalk.method({
222
+ selector: "key",
223
+ fn: function () {
224
+ var self = this;
225
+ return 77;
226
+ }
227
+ }),
228
+ smalltalk.HLGoToMethodsCommand.klass);
229
+
230
+ smalltalk.addMethod(
231
+ "_label",
232
+ smalltalk.method({
233
+ selector: "label",
234
+ fn: function () {
235
+ var self = this;
236
+ return "Methods";
237
+ }
238
+ }),
239
+ smalltalk.HLGoToMethodsCommand.klass);
240
+
241
+
242
+ smalltalk.addClass('HLGoToPackagesCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
243
+ smalltalk.addMethod(
244
+ "_execute",
245
+ smalltalk.method({
246
+ selector: "execute",
247
+ fn: function () {
248
+ var self = this;
249
+ smalltalk.send(smalltalk.send(self, "_model", []), "_selectedPackage_", [smalltalk.send(smalltalk.send(self, "_model", []), "_selectedPackage", [])]);
250
+ return self;
251
+ }
252
+ }),
253
+ smalltalk.HLGoToPackagesCommand);
254
+
255
+
256
+ smalltalk.addMethod(
257
+ "_key",
258
+ smalltalk.method({
259
+ selector: "key",
260
+ fn: function () {
261
+ var self = this;
262
+ return 80;
263
+ }
264
+ }),
265
+ smalltalk.HLGoToPackagesCommand.klass);
266
+
267
+ smalltalk.addMethod(
268
+ "_label",
269
+ smalltalk.method({
270
+ selector: "label",
271
+ fn: function () {
272
+ var self = this;
273
+ return "Packages";
274
+ }
275
+ }),
276
+ smalltalk.HLGoToPackagesCommand.klass);
277
+
278
+
279
+ smalltalk.addClass('HLGoToProtocolsCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
280
+ smalltalk.addMethod(
281
+ "_execute",
282
+ smalltalk.method({
283
+ selector: "execute",
284
+ fn: function () {
285
+ var self = this;
286
+ smalltalk.send(smalltalk.send(self, "_model", []), "_selectedProtocol_", [smalltalk.send(smalltalk.send(self, "_model", []), "_selectedProtocol", [])]);
287
+ return self;
288
+ }
289
+ }),
290
+ smalltalk.HLGoToProtocolsCommand);
291
+
292
+
293
+ smalltalk.addMethod(
294
+ "_key",
295
+ smalltalk.method({
296
+ selector: "key",
297
+ fn: function () {
298
+ var self = this;
299
+ return 84;
300
+ }
301
+ }),
302
+ smalltalk.HLGoToProtocolsCommand.klass);
303
+
304
+ smalltalk.addMethod(
305
+ "_label",
306
+ smalltalk.method({
307
+ selector: "label",
308
+ fn: function () {
309
+ var self = this;
310
+ return "Protocols";
311
+ }
312
+ }),
313
+ smalltalk.HLGoToProtocolsCommand.klass);
314
+
315
+
316
+ smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands');
317
+
318
+ smalltalk.addMethod(
319
+ "_bindingGroup",
320
+ smalltalk.method({
321
+ selector: "bindingGroup",
322
+ fn: function () {
323
+ var self = this;
324
+ return "Toggle";
325
+ }
326
+ }),
327
+ smalltalk.HLToggleCommand.klass);
328
+
329
+
330
+ smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands');
331
+ smalltalk.addMethod(
332
+ "_execute",
333
+ smalltalk.method({
334
+ selector: "execute",
335
+ fn: function () {
336
+ var self = this;
337
+ smalltalk.send(smalltalk.send(self, "_model", []), "_showInstance_", [false]);
338
+ return self;
339
+ }
340
+ }),
341
+ smalltalk.HLToggleClassSideCommand);
342
+
343
+
344
+ smalltalk.addMethod(
345
+ "_key",
346
+ smalltalk.method({
347
+ selector: "key",
348
+ fn: function () {
349
+ var self = this;
350
+ return 67;
351
+ }
352
+ }),
353
+ smalltalk.HLToggleClassSideCommand.klass);
354
+
355
+ smalltalk.addMethod(
356
+ "_label",
357
+ smalltalk.method({
358
+ selector: "label",
359
+ fn: function () {
360
+ var self = this;
361
+ return "Class side";
362
+ }
363
+ }),
364
+ smalltalk.HLToggleClassSideCommand.klass);
365
+
366
+
367
+ smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands');
368
+ smalltalk.addMethod(
369
+ "_execute",
370
+ smalltalk.method({
371
+ selector: "execute",
372
+ fn: function () {
373
+ var self = this;
374
+ smalltalk.send(smalltalk.send(self, "_model", []), "_showInstance_", [true]);
375
+ return self;
376
+ }
377
+ }),
378
+ smalltalk.HLToggleInstanceSideCommand);
379
+
380
+
381
+ smalltalk.addMethod(
382
+ "_key",
383
+ smalltalk.method({
384
+ selector: "key",
385
+ fn: function () {
386
+ var self = this;
387
+ return 73;
388
+ }
389
+ }),
390
+ smalltalk.HLToggleInstanceSideCommand.klass);
391
+
392
+ smalltalk.addMethod(
393
+ "_label",
394
+ smalltalk.method({
395
+ selector: "label",
396
+ fn: function () {
397
+ var self = this;
398
+ return "Instance side";
399
+ }
400
+ }),
401
+ smalltalk.HLToggleInstanceSideCommand.klass);
402
+
403
+
@@ -0,0 +1,563 @@
1
+ smalltalk.addPackage('Helios-Commands', {});
2
+ smalltalk.addClass('HLCommand', smalltalk.Object, [], 'Helios-Commands');
3
+ smalltalk.addMethod(
4
+ "_asBinding",
5
+ smalltalk.method({
6
+ selector: "asBinding",
7
+ category: 'converting',
8
+ fn: function () {
9
+ var self = this;
10
+ var $1;
11
+ $1 = smalltalk.send(smalltalk.send(smalltalk.HLBindingAction || HLBindingAction, "_on_labelled_", [smalltalk.send(self, "_key", []), smalltalk.send(self, "_label", [])]), "_callback_", [function () {return smalltalk.send(self, "_execute", []);}]);
12
+ return $1;
13
+ },
14
+ args: [],
15
+ source: "asBinding\x0a\x09^ (HLBindingAction on: self key labelled: self label)\x0a \x09callback: [ self execute ]",
16
+ messageSends: ["callback:", "execute", "on:labelled:", "key", "label"],
17
+ referencedClasses: ["HLBindingAction"]
18
+ }),
19
+ smalltalk.HLCommand);
20
+
21
+ smalltalk.addMethod(
22
+ "_documentation",
23
+ smalltalk.method({
24
+ selector: "documentation",
25
+ category: 'accessing',
26
+ fn: function () {
27
+ var self = this;
28
+ var $1;
29
+ $1 = smalltalk.send(smalltalk.send(self, "_class", []), "_documentation", []);
30
+ return $1;
31
+ },
32
+ args: [],
33
+ source: "documentation\x0a\x09^ self class documentation",
34
+ messageSends: ["documentation", "class"],
35
+ referencedClasses: []
36
+ }),
37
+ smalltalk.HLCommand);
38
+
39
+ smalltalk.addMethod(
40
+ "_execute",
41
+ smalltalk.method({
42
+ selector: "execute",
43
+ category: 'executing',
44
+ fn: function () {
45
+ var self = this;
46
+ return self;
47
+ },
48
+ args: [],
49
+ source: "execute\x0a\x09",
50
+ messageSends: [],
51
+ referencedClasses: []
52
+ }),
53
+ smalltalk.HLCommand);
54
+
55
+ smalltalk.addMethod(
56
+ "_key",
57
+ smalltalk.method({
58
+ selector: "key",
59
+ category: 'accessing',
60
+ fn: function () {
61
+ var self = this;
62
+ var $1;
63
+ $1 = smalltalk.send(smalltalk.send(self, "_class", []), "_key", []);
64
+ return $1;
65
+ },
66
+ args: [],
67
+ source: "key\x0a\x09^ self class key",
68
+ messageSends: ["key", "class"],
69
+ referencedClasses: []
70
+ }),
71
+ smalltalk.HLCommand);
72
+
73
+ smalltalk.addMethod(
74
+ "_label",
75
+ smalltalk.method({
76
+ selector: "label",
77
+ category: 'accessing',
78
+ fn: function () {
79
+ var self = this;
80
+ var $1;
81
+ $1 = smalltalk.send(smalltalk.send(self, "_class", []), "_label", []);
82
+ return $1;
83
+ },
84
+ args: [],
85
+ source: "label\x0a\x09^ self class label",
86
+ messageSends: ["label", "class"],
87
+ referencedClasses: []
88
+ }),
89
+ smalltalk.HLCommand);
90
+
91
+
92
+ smalltalk.addMethod(
93
+ "_bindingGroup",
94
+ smalltalk.method({
95
+ selector: "bindingGroup",
96
+ category: 'accessing',
97
+ fn: function () {
98
+ var self = this;
99
+ return nil;
100
+ },
101
+ args: [],
102
+ source: "bindingGroup\x0a\x09^ nil",
103
+ messageSends: [],
104
+ referencedClasses: []
105
+ }),
106
+ smalltalk.HLCommand.klass);
107
+
108
+ smalltalk.addMethod(
109
+ "_documentation",
110
+ smalltalk.method({
111
+ selector: "documentation",
112
+ category: 'accessing',
113
+ fn: function () {
114
+ var self = this;
115
+ return "";
116
+ },
117
+ args: [],
118
+ source: "documentation\x0a\x09^ ''",
119
+ messageSends: [],
120
+ referencedClasses: []
121
+ }),
122
+ smalltalk.HLCommand.klass);
123
+
124
+ smalltalk.addMethod(
125
+ "_key",
126
+ smalltalk.method({
127
+ selector: "key",
128
+ category: 'accessing',
129
+ fn: function () {
130
+ var self = this;
131
+ return nil;
132
+ },
133
+ args: [],
134
+ source: "key\x0a\x09^ nil",
135
+ messageSends: [],
136
+ referencedClasses: []
137
+ }),
138
+ smalltalk.HLCommand.klass);
139
+
140
+ smalltalk.addMethod(
141
+ "_label",
142
+ smalltalk.method({
143
+ selector: "label",
144
+ category: 'accessing',
145
+ fn: function () {
146
+ var self = this;
147
+ return "";
148
+ },
149
+ args: [],
150
+ source: "label\x0a\x09^ ''",
151
+ messageSends: [],
152
+ referencedClasses: []
153
+ }),
154
+ smalltalk.HLCommand.klass);
155
+
156
+
157
+ smalltalk.addClass('HLBrowserCommand', smalltalk.HLCommand, ['model'], 'Helios-Commands');
158
+ smalltalk.addMethod(
159
+ "_model",
160
+ smalltalk.method({
161
+ selector: "model",
162
+ category: 'accessing',
163
+ fn: function () {
164
+ var self = this;
165
+ return self['@model'];
166
+ },
167
+ args: [],
168
+ source: "model\x0a\x09^ model",
169
+ messageSends: [],
170
+ referencedClasses: []
171
+ }),
172
+ smalltalk.HLBrowserCommand);
173
+
174
+ smalltalk.addMethod(
175
+ "_model_",
176
+ smalltalk.method({
177
+ selector: "model:",
178
+ category: 'accessing',
179
+ fn: function (aBrowserModel) {
180
+ var self = this;
181
+ self['@model'] = aBrowserModel;
182
+ return self;
183
+ },
184
+ args: ["aBrowserModel"],
185
+ source: "model: aBrowserModel\x0a\x09model := aBrowserModel",
186
+ messageSends: [],
187
+ referencedClasses: []
188
+ }),
189
+ smalltalk.HLBrowserCommand);
190
+
191
+
192
+ smalltalk.addMethod(
193
+ "_on_",
194
+ smalltalk.method({
195
+ selector: "on:",
196
+ category: 'instance creation',
197
+ fn: function (aBrowserModel) {
198
+ var self = this;
199
+ var $2, $3, $1;
200
+ $2 = smalltalk.send(self, "_new", []);
201
+ smalltalk.send($2, "_model_", [aBrowserModel]);
202
+ $3 = smalltalk.send($2, "_yourself", []);
203
+ $1 = $3;
204
+ return $1;
205
+ },
206
+ args: ["aBrowserModel"],
207
+ source: "on: aBrowserModel\x0a\x09^ self new\x0a \x09model: aBrowserModel;\x0a yourself",
208
+ messageSends: ["model:", "new", "yourself"],
209
+ referencedClasses: []
210
+ }),
211
+ smalltalk.HLBrowserCommand.klass);
212
+
213
+
214
+ smalltalk.addClass('HLGoToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands');
215
+
216
+ smalltalk.addMethod(
217
+ "_bindingGroup",
218
+ smalltalk.method({
219
+ selector: "bindingGroup",
220
+ category: 'accessing',
221
+ fn: function () {
222
+ var self = this;
223
+ return "Go to";
224
+ },
225
+ args: [],
226
+ source: "bindingGroup\x0a\x09^ 'Go to'",
227
+ messageSends: [],
228
+ referencedClasses: []
229
+ }),
230
+ smalltalk.HLGoToCommand.klass);
231
+
232
+
233
+ smalltalk.addClass('HLGoToClassesCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
234
+ smalltalk.addMethod(
235
+ "_execute",
236
+ smalltalk.method({
237
+ selector: "execute",
238
+ category: 'executing',
239
+ fn: function () {
240
+ var self = this;
241
+ smalltalk.send(smalltalk.send(self, "_model", []), "_selectedClass_", [smalltalk.send(smalltalk.send(self, "_model", []), "_selectedClass", [])]);
242
+ return self;
243
+ },
244
+ args: [],
245
+ source: "execute\x0a\x09self model selectedClass: self model selectedClass",
246
+ messageSends: ["selectedClass:", "selectedClass", "model"],
247
+ referencedClasses: []
248
+ }),
249
+ smalltalk.HLGoToClassesCommand);
250
+
251
+
252
+ smalltalk.addMethod(
253
+ "_key",
254
+ smalltalk.method({
255
+ selector: "key",
256
+ category: 'accessing',
257
+ fn: function () {
258
+ var self = this;
259
+ return 67;
260
+ },
261
+ args: [],
262
+ source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
263
+ messageSends: [],
264
+ referencedClasses: []
265
+ }),
266
+ smalltalk.HLGoToClassesCommand.klass);
267
+
268
+ smalltalk.addMethod(
269
+ "_label",
270
+ smalltalk.method({
271
+ selector: "label",
272
+ category: 'accessing',
273
+ fn: function () {
274
+ var self = this;
275
+ return "Classes";
276
+ },
277
+ args: [],
278
+ source: "label\x0a\x09^ 'Classes'",
279
+ messageSends: [],
280
+ referencedClasses: []
281
+ }),
282
+ smalltalk.HLGoToClassesCommand.klass);
283
+
284
+
285
+ smalltalk.addClass('HLGoToMethodsCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
286
+ smalltalk.addMethod(
287
+ "_execute",
288
+ smalltalk.method({
289
+ selector: "execute",
290
+ category: 'executing',
291
+ fn: function () {
292
+ var self = this;
293
+ smalltalk.send(smalltalk.send(self, "_model", []), "_selectedMethod_", [smalltalk.send(smalltalk.send(self, "_model", []), "_selectedMethod", [])]);
294
+ return self;
295
+ },
296
+ args: [],
297
+ source: "execute\x0a\x09self model selectedMethod: self model selectedMethod",
298
+ messageSends: ["selectedMethod:", "selectedMethod", "model"],
299
+ referencedClasses: []
300
+ }),
301
+ smalltalk.HLGoToMethodsCommand);
302
+
303
+
304
+ smalltalk.addMethod(
305
+ "_key",
306
+ smalltalk.method({
307
+ selector: "key",
308
+ category: 'accessing',
309
+ fn: function () {
310
+ var self = this;
311
+ return 77;
312
+ },
313
+ args: [],
314
+ source: "key\x0a\x09\x22m\x22\x0a \x0a\x09^ 77",
315
+ messageSends: [],
316
+ referencedClasses: []
317
+ }),
318
+ smalltalk.HLGoToMethodsCommand.klass);
319
+
320
+ smalltalk.addMethod(
321
+ "_label",
322
+ smalltalk.method({
323
+ selector: "label",
324
+ category: 'accessing',
325
+ fn: function () {
326
+ var self = this;
327
+ return "Methods";
328
+ },
329
+ args: [],
330
+ source: "label\x0a\x09^ 'Methods'",
331
+ messageSends: [],
332
+ referencedClasses: []
333
+ }),
334
+ smalltalk.HLGoToMethodsCommand.klass);
335
+
336
+
337
+ smalltalk.addClass('HLGoToPackagesCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
338
+ smalltalk.addMethod(
339
+ "_execute",
340
+ smalltalk.method({
341
+ selector: "execute",
342
+ category: 'executing',
343
+ fn: function () {
344
+ var self = this;
345
+ smalltalk.send(smalltalk.send(self, "_model", []), "_selectedPackage_", [smalltalk.send(smalltalk.send(self, "_model", []), "_selectedPackage", [])]);
346
+ return self;
347
+ },
348
+ args: [],
349
+ source: "execute\x0a\x09self model selectedPackage: self model selectedPackage",
350
+ messageSends: ["selectedPackage:", "selectedPackage", "model"],
351
+ referencedClasses: []
352
+ }),
353
+ smalltalk.HLGoToPackagesCommand);
354
+
355
+
356
+ smalltalk.addMethod(
357
+ "_key",
358
+ smalltalk.method({
359
+ selector: "key",
360
+ category: 'accessing',
361
+ fn: function () {
362
+ var self = this;
363
+ return 80;
364
+ },
365
+ args: [],
366
+ source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 80",
367
+ messageSends: [],
368
+ referencedClasses: []
369
+ }),
370
+ smalltalk.HLGoToPackagesCommand.klass);
371
+
372
+ smalltalk.addMethod(
373
+ "_label",
374
+ smalltalk.method({
375
+ selector: "label",
376
+ category: 'accessing',
377
+ fn: function () {
378
+ var self = this;
379
+ return "Packages";
380
+ },
381
+ args: [],
382
+ source: "label\x0a\x09^ 'Packages'",
383
+ messageSends: [],
384
+ referencedClasses: []
385
+ }),
386
+ smalltalk.HLGoToPackagesCommand.klass);
387
+
388
+
389
+ smalltalk.addClass('HLGoToProtocolsCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
390
+ smalltalk.addMethod(
391
+ "_execute",
392
+ smalltalk.method({
393
+ selector: "execute",
394
+ category: 'executing',
395
+ fn: function () {
396
+ var self = this;
397
+ smalltalk.send(smalltalk.send(self, "_model", []), "_selectedProtocol_", [smalltalk.send(smalltalk.send(self, "_model", []), "_selectedProtocol", [])]);
398
+ return self;
399
+ },
400
+ args: [],
401
+ source: "execute\x0a\x09self model selectedProtocol: self model selectedProtocol",
402
+ messageSends: ["selectedProtocol:", "selectedProtocol", "model"],
403
+ referencedClasses: []
404
+ }),
405
+ smalltalk.HLGoToProtocolsCommand);
406
+
407
+
408
+ smalltalk.addMethod(
409
+ "_key",
410
+ smalltalk.method({
411
+ selector: "key",
412
+ category: 'accessing',
413
+ fn: function () {
414
+ var self = this;
415
+ return 84;
416
+ },
417
+ args: [],
418
+ source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 84",
419
+ messageSends: [],
420
+ referencedClasses: []
421
+ }),
422
+ smalltalk.HLGoToProtocolsCommand.klass);
423
+
424
+ smalltalk.addMethod(
425
+ "_label",
426
+ smalltalk.method({
427
+ selector: "label",
428
+ category: 'accessing',
429
+ fn: function () {
430
+ var self = this;
431
+ return "Protocols";
432
+ },
433
+ args: [],
434
+ source: "label\x0a\x09^ 'Protocols'",
435
+ messageSends: [],
436
+ referencedClasses: []
437
+ }),
438
+ smalltalk.HLGoToProtocolsCommand.klass);
439
+
440
+
441
+ smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands');
442
+
443
+ smalltalk.addMethod(
444
+ "_bindingGroup",
445
+ smalltalk.method({
446
+ selector: "bindingGroup",
447
+ category: 'accessing',
448
+ fn: function () {
449
+ var self = this;
450
+ return "Toggle";
451
+ },
452
+ args: [],
453
+ source: "bindingGroup\x0a\x09^ 'Toggle'",
454
+ messageSends: [],
455
+ referencedClasses: []
456
+ }),
457
+ smalltalk.HLToggleCommand.klass);
458
+
459
+
460
+ smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands');
461
+ smalltalk.addMethod(
462
+ "_execute",
463
+ smalltalk.method({
464
+ selector: "execute",
465
+ category: 'executing',
466
+ fn: function () {
467
+ var self = this;
468
+ smalltalk.send(smalltalk.send(self, "_model", []), "_showInstance_", [false]);
469
+ return self;
470
+ },
471
+ args: [],
472
+ source: "execute\x0a\x09self model showInstance: false",
473
+ messageSends: ["showInstance:", "model"],
474
+ referencedClasses: []
475
+ }),
476
+ smalltalk.HLToggleClassSideCommand);
477
+
478
+
479
+ smalltalk.addMethod(
480
+ "_key",
481
+ smalltalk.method({
482
+ selector: "key",
483
+ category: 'accessing',
484
+ fn: function () {
485
+ var self = this;
486
+ return 67;
487
+ },
488
+ args: [],
489
+ source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
490
+ messageSends: [],
491
+ referencedClasses: []
492
+ }),
493
+ smalltalk.HLToggleClassSideCommand.klass);
494
+
495
+ smalltalk.addMethod(
496
+ "_label",
497
+ smalltalk.method({
498
+ selector: "label",
499
+ category: 'accessing',
500
+ fn: function () {
501
+ var self = this;
502
+ return "Class side";
503
+ },
504
+ args: [],
505
+ source: "label\x0a\x09^ 'Class side'",
506
+ messageSends: [],
507
+ referencedClasses: []
508
+ }),
509
+ smalltalk.HLToggleClassSideCommand.klass);
510
+
511
+
512
+ smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands');
513
+ smalltalk.addMethod(
514
+ "_execute",
515
+ smalltalk.method({
516
+ selector: "execute",
517
+ category: 'executing',
518
+ fn: function () {
519
+ var self = this;
520
+ smalltalk.send(smalltalk.send(self, "_model", []), "_showInstance_", [true]);
521
+ return self;
522
+ },
523
+ args: [],
524
+ source: "execute\x0a\x09self model showInstance: true",
525
+ messageSends: ["showInstance:", "model"],
526
+ referencedClasses: []
527
+ }),
528
+ smalltalk.HLToggleInstanceSideCommand);
529
+
530
+
531
+ smalltalk.addMethod(
532
+ "_key",
533
+ smalltalk.method({
534
+ selector: "key",
535
+ category: 'accessing',
536
+ fn: function () {
537
+ var self = this;
538
+ return 73;
539
+ },
540
+ args: [],
541
+ source: "key\x0a\x09\x22i\x22\x0a \x0a\x09^ 73",
542
+ messageSends: [],
543
+ referencedClasses: []
544
+ }),
545
+ smalltalk.HLToggleInstanceSideCommand.klass);
546
+
547
+ smalltalk.addMethod(
548
+ "_label",
549
+ smalltalk.method({
550
+ selector: "label",
551
+ category: 'accessing',
552
+ fn: function () {
553
+ var self = this;
554
+ return "Instance side";
555
+ },
556
+ args: [],
557
+ source: "label\x0a\x09^ 'Instance side'",
558
+ messageSends: [],
559
+ referencedClasses: []
560
+ }),
561
+ smalltalk.HLToggleInstanceSideCommand.klass);
562
+
563
+