1
0

Kernel-Methods.deploy.js 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675
  1. smalltalk.addPackage('Kernel-Methods', {});
  2. smalltalk.addClass('BlockClosure', smalltalk.Object, [], 'Kernel-Methods');
  3. smalltalk.addMethod(
  4. "_applyTo_arguments_",
  5. smalltalk.method({
  6. selector: "applyTo:arguments:",
  7. fn: function (anObject,aCollection){
  8. var self=this;
  9. return smalltalk.withContext(function($ctx) { return self.apply(anObject, aCollection);
  10. ;
  11. return self}, self, "applyTo:arguments:", [anObject,aCollection], smalltalk.BlockClosure)}
  12. }),
  13. smalltalk.BlockClosure);
  14. smalltalk.addMethod(
  15. "_compiledSource",
  16. smalltalk.method({
  17. selector: "compiledSource",
  18. fn: function (){
  19. var self=this;
  20. return smalltalk.withContext(function($ctx) { return self.toString();
  21. ;
  22. return self}, self, "compiledSource", [], smalltalk.BlockClosure)}
  23. }),
  24. smalltalk.BlockClosure);
  25. smalltalk.addMethod(
  26. "_ensure_",
  27. smalltalk.method({
  28. selector: "ensure:",
  29. fn: function (aBlock){
  30. var self=this;
  31. return smalltalk.withContext(function($ctx) { var $1;
  32. var success;
  33. success=false;
  34. $1=_st((function(){
  35. _st(self)._value();
  36. success=true;
  37. success;
  38. return _st(aBlock)._value();
  39. }))._on_do_((smalltalk.Error || Error),(function(ex){
  40. if(! smalltalk.assert(success)){
  41. _st(aBlock)._value();
  42. };
  43. return _st(ex)._signal();
  44. }));
  45. return $1;
  46. }, self, "ensure:", [aBlock], smalltalk.BlockClosure)}
  47. }),
  48. smalltalk.BlockClosure);
  49. smalltalk.addMethod(
  50. "_new",
  51. smalltalk.method({
  52. selector: "new",
  53. fn: function (){
  54. var self=this;
  55. return smalltalk.withContext(function($ctx) { return new self();
  56. ;
  57. return self}, self, "new", [], smalltalk.BlockClosure)}
  58. }),
  59. smalltalk.BlockClosure);
  60. smalltalk.addMethod(
  61. "_newValue_",
  62. smalltalk.method({
  63. selector: "newValue:",
  64. fn: function (anObject){
  65. var self=this;
  66. return smalltalk.withContext(function($ctx) { return new self(anObject);
  67. ;
  68. return self}, self, "newValue:", [anObject], smalltalk.BlockClosure)}
  69. }),
  70. smalltalk.BlockClosure);
  71. smalltalk.addMethod(
  72. "_newValue_value_",
  73. smalltalk.method({
  74. selector: "newValue:value:",
  75. fn: function (anObject,anObject2){
  76. var self=this;
  77. return smalltalk.withContext(function($ctx) { return new self(anObject, anObject2);
  78. ;
  79. return self}, self, "newValue:value:", [anObject,anObject2], smalltalk.BlockClosure)}
  80. }),
  81. smalltalk.BlockClosure);
  82. smalltalk.addMethod(
  83. "_newValue_value_value_",
  84. smalltalk.method({
  85. selector: "newValue:value:value:",
  86. fn: function (anObject,anObject2,anObject3){
  87. var self=this;
  88. return smalltalk.withContext(function($ctx) { return new self(anObject, anObject2);
  89. ;
  90. return self}, self, "newValue:value:value:", [anObject,anObject2,anObject3], smalltalk.BlockClosure)}
  91. }),
  92. smalltalk.BlockClosure);
  93. smalltalk.addMethod(
  94. "_numArgs",
  95. smalltalk.method({
  96. selector: "numArgs",
  97. fn: function (){
  98. var self=this;
  99. return smalltalk.withContext(function($ctx) { return self.length;
  100. ;
  101. return self}, self, "numArgs", [], smalltalk.BlockClosure)}
  102. }),
  103. smalltalk.BlockClosure);
  104. smalltalk.addMethod(
  105. "_on_do_",
  106. smalltalk.method({
  107. selector: "on:do:",
  108. fn: function (anErrorClass,aBlock){
  109. var self=this;
  110. return smalltalk.withContext(function($ctx) { var $2,$1;
  111. $1=_st(self)._try_catch_(self,(function(error){
  112. $2=_st(error)._isKindOf_(anErrorClass);
  113. if(smalltalk.assert($2)){
  114. return _st(aBlock)._value_(error);
  115. } else {
  116. return _st(error)._signal();
  117. };
  118. }));
  119. return $1;
  120. }, self, "on:do:", [anErrorClass,aBlock], smalltalk.BlockClosure)}
  121. }),
  122. smalltalk.BlockClosure);
  123. smalltalk.addMethod(
  124. "_timeToRun",
  125. smalltalk.method({
  126. selector: "timeToRun",
  127. fn: function (){
  128. var self=this;
  129. return smalltalk.withContext(function($ctx) { var $1;
  130. $1=_st((smalltalk.Date || Date))._millisecondsToRun_(self);
  131. return $1;
  132. }, self, "timeToRun", [], smalltalk.BlockClosure)}
  133. }),
  134. smalltalk.BlockClosure);
  135. smalltalk.addMethod(
  136. "_value",
  137. smalltalk.method({
  138. selector: "value",
  139. fn: function (){
  140. var self=this;
  141. return smalltalk.withContext(function($ctx) { return self();;
  142. ;
  143. return self}, self, "value", [], smalltalk.BlockClosure)}
  144. }),
  145. smalltalk.BlockClosure);
  146. smalltalk.addMethod(
  147. "_value_",
  148. smalltalk.method({
  149. selector: "value:",
  150. fn: function (anArg){
  151. var self=this;
  152. return smalltalk.withContext(function($ctx) { return self(anArg);;
  153. ;
  154. return self}, self, "value:", [anArg], smalltalk.BlockClosure)}
  155. }),
  156. smalltalk.BlockClosure);
  157. smalltalk.addMethod(
  158. "_value_value_",
  159. smalltalk.method({
  160. selector: "value:value:",
  161. fn: function (firstArg,secondArg){
  162. var self=this;
  163. return smalltalk.withContext(function($ctx) { return self(firstArg, secondArg);;
  164. ;
  165. return self}, self, "value:value:", [firstArg,secondArg], smalltalk.BlockClosure)}
  166. }),
  167. smalltalk.BlockClosure);
  168. smalltalk.addMethod(
  169. "_value_value_value_",
  170. smalltalk.method({
  171. selector: "value:value:value:",
  172. fn: function (firstArg,secondArg,thirdArg){
  173. var self=this;
  174. return smalltalk.withContext(function($ctx) { return self(firstArg, secondArg, thirdArg);;
  175. ;
  176. return self}, self, "value:value:value:", [firstArg,secondArg,thirdArg], smalltalk.BlockClosure)}
  177. }),
  178. smalltalk.BlockClosure);
  179. smalltalk.addMethod(
  180. "_valueWithInterval_",
  181. smalltalk.method({
  182. selector: "valueWithInterval:",
  183. fn: function (aNumber){
  184. var self=this;
  185. return smalltalk.withContext(function($ctx) { return setInterval(self, aNumber);
  186. ;
  187. return self}, self, "valueWithInterval:", [aNumber], smalltalk.BlockClosure)}
  188. }),
  189. smalltalk.BlockClosure);
  190. smalltalk.addMethod(
  191. "_valueWithPossibleArguments_",
  192. smalltalk.method({
  193. selector: "valueWithPossibleArguments:",
  194. fn: function (aCollection){
  195. var self=this;
  196. return smalltalk.withContext(function($ctx) { return self.apply(null, aCollection);;
  197. ;
  198. return self}, self, "valueWithPossibleArguments:", [aCollection], smalltalk.BlockClosure)}
  199. }),
  200. smalltalk.BlockClosure);
  201. smalltalk.addMethod(
  202. "_valueWithTimeout_",
  203. smalltalk.method({
  204. selector: "valueWithTimeout:",
  205. fn: function (aNumber){
  206. var self=this;
  207. return smalltalk.withContext(function($ctx) { return setTimeout(self, aNumber);
  208. ;
  209. return self}, self, "valueWithTimeout:", [aNumber], smalltalk.BlockClosure)}
  210. }),
  211. smalltalk.BlockClosure);
  212. smalltalk.addMethod(
  213. "_whileFalse",
  214. smalltalk.method({
  215. selector: "whileFalse",
  216. fn: function (){
  217. var self=this;
  218. return smalltalk.withContext(function($ctx) { _st(self)._whileFalse_((function(){
  219. }));
  220. return self}, self, "whileFalse", [], smalltalk.BlockClosure)}
  221. }),
  222. smalltalk.BlockClosure);
  223. smalltalk.addMethod(
  224. "_whileFalse_",
  225. smalltalk.method({
  226. selector: "whileFalse:",
  227. fn: function (aBlock){
  228. var self=this;
  229. return smalltalk.withContext(function($ctx) { while(!self()) {aBlock()};
  230. ;
  231. return self}, self, "whileFalse:", [aBlock], smalltalk.BlockClosure)}
  232. }),
  233. smalltalk.BlockClosure);
  234. smalltalk.addMethod(
  235. "_whileTrue",
  236. smalltalk.method({
  237. selector: "whileTrue",
  238. fn: function (){
  239. var self=this;
  240. return smalltalk.withContext(function($ctx) { _st(self)._whileTrue_((function(){
  241. }));
  242. return self}, self, "whileTrue", [], smalltalk.BlockClosure)}
  243. }),
  244. smalltalk.BlockClosure);
  245. smalltalk.addMethod(
  246. "_whileTrue_",
  247. smalltalk.method({
  248. selector: "whileTrue:",
  249. fn: function (aBlock){
  250. var self=this;
  251. return smalltalk.withContext(function($ctx) { while(self()) {aBlock()};
  252. ;
  253. return self}, self, "whileTrue:", [aBlock], smalltalk.BlockClosure)}
  254. }),
  255. smalltalk.BlockClosure);
  256. smalltalk.addClass('CompiledMethod', smalltalk.Object, [], 'Kernel-Methods');
  257. smalltalk.addMethod(
  258. "_arguments",
  259. smalltalk.method({
  260. selector: "arguments",
  261. fn: function (){
  262. var self=this;
  263. return smalltalk.withContext(function($ctx) { return self.args || [];
  264. ;
  265. return self}, self, "arguments", [], smalltalk.CompiledMethod)}
  266. }),
  267. smalltalk.CompiledMethod);
  268. smalltalk.addMethod(
  269. "_category",
  270. smalltalk.method({
  271. selector: "category",
  272. fn: function (){
  273. var self=this;
  274. return smalltalk.withContext(function($ctx) { var $2,$1;
  275. $2=_st(self)._basicAt_("category");
  276. if(($receiver = $2) == nil || $receiver == undefined){
  277. $1="";
  278. } else {
  279. $1=$2;
  280. };
  281. return $1;
  282. }, self, "category", [], smalltalk.CompiledMethod)}
  283. }),
  284. smalltalk.CompiledMethod);
  285. smalltalk.addMethod(
  286. "_category_",
  287. smalltalk.method({
  288. selector: "category:",
  289. fn: function (aString){
  290. var self=this;
  291. return smalltalk.withContext(function($ctx) { var $1;
  292. var oldCategory;
  293. oldCategory=_st(self)._category();
  294. _st(self)._basicAt_put_("category",aString);
  295. $1=_st(self)._methodClass();
  296. if(($receiver = $1) == nil || $receiver == undefined){
  297. $1;
  298. } else {
  299. _st(_st(_st(self)._methodClass())._organization())._addElement_(aString);
  300. _st(_st(_st(_st(self)._methodClass())._methods())._select_((function(each){
  301. return _st(_st(each)._category()).__eq(oldCategory);
  302. })))._ifEmpty_((function(){
  303. return _st(_st(_st(self)._methodClass())._organization())._removeElement_(oldCategory);
  304. }));
  305. };
  306. return self}, self, "category:", [aString], smalltalk.CompiledMethod)}
  307. }),
  308. smalltalk.CompiledMethod);
  309. smalltalk.addMethod(
  310. "_fn",
  311. smalltalk.method({
  312. selector: "fn",
  313. fn: function (){
  314. var self=this;
  315. return smalltalk.withContext(function($ctx) { var $1;
  316. $1=_st(self)._basicAt_("fn");
  317. return $1;
  318. }, self, "fn", [], smalltalk.CompiledMethod)}
  319. }),
  320. smalltalk.CompiledMethod);
  321. smalltalk.addMethod(
  322. "_fn_",
  323. smalltalk.method({
  324. selector: "fn:",
  325. fn: function (aBlock){
  326. var self=this;
  327. return smalltalk.withContext(function($ctx) { _st(self)._basicAt_put_("fn",aBlock);
  328. return self}, self, "fn:", [aBlock], smalltalk.CompiledMethod)}
  329. }),
  330. smalltalk.CompiledMethod);
  331. smalltalk.addMethod(
  332. "_messageSends",
  333. smalltalk.method({
  334. selector: "messageSends",
  335. fn: function (){
  336. var self=this;
  337. return smalltalk.withContext(function($ctx) { var $1;
  338. $1=_st(self)._basicAt_("messageSends");
  339. return $1;
  340. }, self, "messageSends", [], smalltalk.CompiledMethod)}
  341. }),
  342. smalltalk.CompiledMethod);
  343. smalltalk.addMethod(
  344. "_methodClass",
  345. smalltalk.method({
  346. selector: "methodClass",
  347. fn: function (){
  348. var self=this;
  349. return smalltalk.withContext(function($ctx) { var $1;
  350. $1=_st(self)._basicAt_("methodClass");
  351. return $1;
  352. }, self, "methodClass", [], smalltalk.CompiledMethod)}
  353. }),
  354. smalltalk.CompiledMethod);
  355. smalltalk.addMethod(
  356. "_protocol",
  357. smalltalk.method({
  358. selector: "protocol",
  359. fn: function (){
  360. var self=this;
  361. return smalltalk.withContext(function($ctx) { var $1;
  362. $1=_st(self)._category();
  363. return $1;
  364. }, self, "protocol", [], smalltalk.CompiledMethod)}
  365. }),
  366. smalltalk.CompiledMethod);
  367. smalltalk.addMethod(
  368. "_referencedClasses",
  369. smalltalk.method({
  370. selector: "referencedClasses",
  371. fn: function (){
  372. var self=this;
  373. return smalltalk.withContext(function($ctx) { var $1;
  374. $1=_st(self)._basicAt_("referencedClasses");
  375. return $1;
  376. }, self, "referencedClasses", [], smalltalk.CompiledMethod)}
  377. }),
  378. smalltalk.CompiledMethod);
  379. smalltalk.addMethod(
  380. "_selector",
  381. smalltalk.method({
  382. selector: "selector",
  383. fn: function (){
  384. var self=this;
  385. return smalltalk.withContext(function($ctx) { var $1;
  386. $1=_st(self)._basicAt_("selector");
  387. return $1;
  388. }, self, "selector", [], smalltalk.CompiledMethod)}
  389. }),
  390. smalltalk.CompiledMethod);
  391. smalltalk.addMethod(
  392. "_selector_",
  393. smalltalk.method({
  394. selector: "selector:",
  395. fn: function (aString){
  396. var self=this;
  397. return smalltalk.withContext(function($ctx) { _st(self)._basicAt_put_("selector",aString);
  398. return self}, self, "selector:", [aString], smalltalk.CompiledMethod)}
  399. }),
  400. smalltalk.CompiledMethod);
  401. smalltalk.addMethod(
  402. "_source",
  403. smalltalk.method({
  404. selector: "source",
  405. fn: function (){
  406. var self=this;
  407. return smalltalk.withContext(function($ctx) { var $2,$1;
  408. $2=_st(self)._basicAt_("source");
  409. if(($receiver = $2) == nil || $receiver == undefined){
  410. $1="";
  411. } else {
  412. $1=$2;
  413. };
  414. return $1;
  415. }, self, "source", [], smalltalk.CompiledMethod)}
  416. }),
  417. smalltalk.CompiledMethod);
  418. smalltalk.addMethod(
  419. "_source_",
  420. smalltalk.method({
  421. selector: "source:",
  422. fn: function (aString){
  423. var self=this;
  424. return smalltalk.withContext(function($ctx) { _st(self)._basicAt_put_("source",aString);
  425. return self}, self, "source:", [aString], smalltalk.CompiledMethod)}
  426. }),
  427. smalltalk.CompiledMethod);
  428. smalltalk.addClass('Message', smalltalk.Object, ['selector', 'arguments'], 'Kernel-Methods');
  429. smalltalk.addMethod(
  430. "_arguments",
  431. smalltalk.method({
  432. selector: "arguments",
  433. fn: function (){
  434. var self=this;
  435. return smalltalk.withContext(function($ctx) { return self["@arguments"];
  436. }, self, "arguments", [], smalltalk.Message)}
  437. }),
  438. smalltalk.Message);
  439. smalltalk.addMethod(
  440. "_arguments_",
  441. smalltalk.method({
  442. selector: "arguments:",
  443. fn: function (anArray){
  444. var self=this;
  445. return smalltalk.withContext(function($ctx) { self["@arguments"]=anArray;
  446. return self}, self, "arguments:", [anArray], smalltalk.Message)}
  447. }),
  448. smalltalk.Message);
  449. smalltalk.addMethod(
  450. "_printString",
  451. smalltalk.method({
  452. selector: "printString",
  453. fn: function (){
  454. var self=this;
  455. return smalltalk.withContext(function($ctx) { var $2,$1;
  456. $1=_st((smalltalk.String || String))._streamContents_((function(aStream){
  457. _st(aStream)._nextPutAll_(smalltalk.Object.fn.prototype._printString.apply(_st(self), []));
  458. _st(aStream)._nextPutAll_("(");
  459. _st(aStream)._nextPutAll_(self["@selector"]);
  460. $2=_st(aStream)._nextPutAll_(")");
  461. return $2;
  462. }));
  463. return $1;
  464. }, self, "printString", [], smalltalk.Message)}
  465. }),
  466. smalltalk.Message);
  467. smalltalk.addMethod(
  468. "_selector",
  469. smalltalk.method({
  470. selector: "selector",
  471. fn: function (){
  472. var self=this;
  473. return smalltalk.withContext(function($ctx) { return self["@selector"];
  474. }, self, "selector", [], smalltalk.Message)}
  475. }),
  476. smalltalk.Message);
  477. smalltalk.addMethod(
  478. "_selector_",
  479. smalltalk.method({
  480. selector: "selector:",
  481. fn: function (aString){
  482. var self=this;
  483. return smalltalk.withContext(function($ctx) { self["@selector"]=aString;
  484. return self}, self, "selector:", [aString], smalltalk.Message)}
  485. }),
  486. smalltalk.Message);
  487. smalltalk.addMethod(
  488. "_sendTo_",
  489. smalltalk.method({
  490. selector: "sendTo:",
  491. fn: function (anObject){
  492. var self=this;
  493. return smalltalk.withContext(function($ctx) { var $1;
  494. $1=_st(_st((smalltalk.Smalltalk || Smalltalk))._current())._send_to_arguments_(_st(self)._selector(),anObject,_st(self)._arguments());
  495. return $1;
  496. }, self, "sendTo:", [anObject], smalltalk.Message)}
  497. }),
  498. smalltalk.Message);
  499. smalltalk.addMethod(
  500. "_selector_arguments_",
  501. smalltalk.method({
  502. selector: "selector:arguments:",
  503. fn: function (aString,anArray){
  504. var self=this;
  505. return smalltalk.withContext(function($ctx) { var $2,$3,$1;
  506. $2=_st(self)._new();
  507. _st($2)._selector_(aString);
  508. _st($2)._arguments_(anArray);
  509. $3=_st($2)._yourself();
  510. $1=$3;
  511. return $1;
  512. }, self, "selector:arguments:", [aString,anArray], smalltalk.Message.klass)}
  513. }),
  514. smalltalk.Message.klass);
  515. smalltalk.addClass('MethodContext', smalltalk.Object, [], 'Kernel-Methods');
  516. smalltalk.addMethod(
  517. "_asString",
  518. smalltalk.method({
  519. selector: "asString",
  520. fn: function (){
  521. var self=this;
  522. return smalltalk.withContext(function($ctx) { var $1;
  523. $1=_st(_st(_st(_st(_st(self)._receiver())._class())._printString()).__comma(" >> ")).__comma(_st(self)._selector());
  524. return $1;
  525. }, self, "asString", [], smalltalk.MethodContext)}
  526. }),
  527. smalltalk.MethodContext);
  528. smalltalk.addMethod(
  529. "_home",
  530. smalltalk.method({
  531. selector: "home",
  532. fn: function (){
  533. var self=this;
  534. return smalltalk.withContext(function($ctx) { return self.homeContext;
  535. ;
  536. return self}, self, "home", [], smalltalk.MethodContext)}
  537. }),
  538. smalltalk.MethodContext);
  539. smalltalk.addMethod(
  540. "_locals",
  541. smalltalk.method({
  542. selector: "locals",
  543. fn: function (){
  544. var self=this;
  545. return smalltalk.withContext(function($ctx) { return self.locals;
  546. ;
  547. return self}, self, "locals", [], smalltalk.MethodContext)}
  548. }),
  549. smalltalk.MethodContext);
  550. smalltalk.addMethod(
  551. "_method",
  552. smalltalk.method({
  553. selector: "method",
  554. fn: function (){
  555. var self=this;
  556. return smalltalk.withContext(function($ctx) { return self.method();
  557. ;
  558. return self}, self, "method", [], smalltalk.MethodContext)}
  559. }),
  560. smalltalk.MethodContext);
  561. smalltalk.addMethod(
  562. "_pc",
  563. smalltalk.method({
  564. selector: "pc",
  565. fn: function (){
  566. var self=this;
  567. return smalltalk.withContext(function($ctx) { return self.pc;
  568. ;
  569. return self}, self, "pc", [], smalltalk.MethodContext)}
  570. }),
  571. smalltalk.MethodContext);
  572. smalltalk.addMethod(
  573. "_printString",
  574. smalltalk.method({
  575. selector: "printString",
  576. fn: function (){
  577. var self=this;
  578. return smalltalk.withContext(function($ctx) { var $1;
  579. $1=_st(_st(_st(smalltalk.Object.fn.prototype._printString.apply(_st(self), [])).__comma("(")).__comma(_st(self)._asString())).__comma(")");
  580. return $1;
  581. }, self, "printString", [], smalltalk.MethodContext)}
  582. }),
  583. smalltalk.MethodContext);
  584. smalltalk.addMethod(
  585. "_receiver",
  586. smalltalk.method({
  587. selector: "receiver",
  588. fn: function (){
  589. var self=this;
  590. return smalltalk.withContext(function($ctx) { return self.receiver;
  591. ;
  592. return self}, self, "receiver", [], smalltalk.MethodContext)}
  593. }),
  594. smalltalk.MethodContext);
  595. smalltalk.addMethod(
  596. "_selector",
  597. smalltalk.method({
  598. selector: "selector",
  599. fn: function (){
  600. var self=this;
  601. return smalltalk.withContext(function($ctx) { return smalltalk.convertSelector(self.selector);
  602. ;
  603. return self}, self, "selector", [], smalltalk.MethodContext)}
  604. }),
  605. smalltalk.MethodContext);
  606. smalltalk.addMethod(
  607. "_temps",
  608. smalltalk.method({
  609. selector: "temps",
  610. fn: function (){
  611. var self=this;
  612. return smalltalk.withContext(function($ctx) { var $1;
  613. $1=_st(self)._locals();
  614. return $1;
  615. }, self, "temps", [], smalltalk.MethodContext)}
  616. }),
  617. smalltalk.MethodContext);