Compiler-Interpreter.deploy.js 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017
  1. smalltalk.addPackage('Compiler-Interpreter', {});
  2. smalltalk.addClass('AIContext', smalltalk.NodeVisitor, ['outerContext', 'pc', 'locals', 'method'], 'Compiler-Interpreter');
  3. smalltalk.addMethod(
  4. "_initializeFromMethodContext_",
  5. smalltalk.method({
  6. selector: "initializeFromMethodContext:",
  7. fn: function (aMethodContext){
  8. var self=this;
  9. return smalltalk.withContext(function($ctx1) { var $1;
  10. _st(self)._pc_(_st(aMethodContext)._pc());
  11. _st(self)._receiver_(_st(aMethodContext)._receiver());
  12. _st(self)._method_(_st(aMethodContext)._method());
  13. $1=_st(aMethodContext)._outerContext();
  14. if(($receiver = $1) == nil || $receiver == undefined){
  15. $1;
  16. } else {
  17. _st(self)._outerContext_(_st(_st(self)._class())._fromMethodContext_(_st(aMethodContext)._outerContext()));
  18. };
  19. _st(_st(aMethodContext)._locals())._keysAndValuesDo_((function(key,value){
  20. return smalltalk.withContext(function($ctx2) { return _st(_st(self)._locals())._at_put_(key,value);
  21. }, function($ctx2) {$ctx2.fillBlock({key:key,value:value},$ctx1)})}));
  22. return self}, function($ctx1) {$ctx1.fill(self,"initializeFromMethodContext:",{aMethodContext:aMethodContext}, smalltalk.AIContext)})}
  23. }),
  24. smalltalk.AIContext);
  25. smalltalk.addMethod(
  26. "_localAt_",
  27. smalltalk.method({
  28. selector: "localAt:",
  29. fn: function (aString){
  30. var self=this;
  31. return smalltalk.withContext(function($ctx1) { var $1;
  32. $1=_st(_st(self)._locals())._at_ifAbsent_(aString,(function(){
  33. return smalltalk.withContext(function($ctx2) { return nil;
  34. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
  35. return $1;
  36. }, function($ctx1) {$ctx1.fill(self,"localAt:",{aString:aString}, smalltalk.AIContext)})}
  37. }),
  38. smalltalk.AIContext);
  39. smalltalk.addMethod(
  40. "_localAt_put_",
  41. smalltalk.method({
  42. selector: "localAt:put:",
  43. fn: function (aString,anObject){
  44. var self=this;
  45. return smalltalk.withContext(function($ctx1) { _st(_st(self)._locals())._at_put_(aString,anObject);
  46. return self}, function($ctx1) {$ctx1.fill(self,"localAt:put:",{aString:aString,anObject:anObject}, smalltalk.AIContext)})}
  47. }),
  48. smalltalk.AIContext);
  49. smalltalk.addMethod(
  50. "_locals",
  51. smalltalk.method({
  52. selector: "locals",
  53. fn: function (){
  54. var self=this;
  55. return smalltalk.withContext(function($ctx1) { var $2,$1;
  56. $2=self["@locals"];
  57. if(($receiver = $2) == nil || $receiver == undefined){
  58. self["@locals"]=_st((smalltalk.Dictionary || Dictionary))._new();
  59. $1=self["@locals"];
  60. } else {
  61. $1=$2;
  62. };
  63. return $1;
  64. }, function($ctx1) {$ctx1.fill(self,"locals",{}, smalltalk.AIContext)})}
  65. }),
  66. smalltalk.AIContext);
  67. smalltalk.addMethod(
  68. "_method",
  69. smalltalk.method({
  70. selector: "method",
  71. fn: function (){
  72. var self=this;
  73. return smalltalk.withContext(function($ctx1) { var $1;
  74. $1=self["@method"];
  75. return $1;
  76. }, function($ctx1) {$ctx1.fill(self,"method",{}, smalltalk.AIContext)})}
  77. }),
  78. smalltalk.AIContext);
  79. smalltalk.addMethod(
  80. "_method_",
  81. smalltalk.method({
  82. selector: "method:",
  83. fn: function (aCompiledMethod){
  84. var self=this;
  85. return smalltalk.withContext(function($ctx1) { self["@method"]=aCompiledMethod;
  86. return self}, function($ctx1) {$ctx1.fill(self,"method:",{aCompiledMethod:aCompiledMethod}, smalltalk.AIContext)})}
  87. }),
  88. smalltalk.AIContext);
  89. smalltalk.addMethod(
  90. "_outerContext",
  91. smalltalk.method({
  92. selector: "outerContext",
  93. fn: function (){
  94. var self=this;
  95. return smalltalk.withContext(function($ctx1) { var $1;
  96. $1=self["@outerContext"];
  97. return $1;
  98. }, function($ctx1) {$ctx1.fill(self,"outerContext",{}, smalltalk.AIContext)})}
  99. }),
  100. smalltalk.AIContext);
  101. smalltalk.addMethod(
  102. "_outerContext_",
  103. smalltalk.method({
  104. selector: "outerContext:",
  105. fn: function (anAIContext){
  106. var self=this;
  107. return smalltalk.withContext(function($ctx1) { self["@outerContext"]=anAIContext;
  108. return self}, function($ctx1) {$ctx1.fill(self,"outerContext:",{anAIContext:anAIContext}, smalltalk.AIContext)})}
  109. }),
  110. smalltalk.AIContext);
  111. smalltalk.addMethod(
  112. "_pc",
  113. smalltalk.method({
  114. selector: "pc",
  115. fn: function (){
  116. var self=this;
  117. return smalltalk.withContext(function($ctx1) { var $2,$1;
  118. $2=self["@pc"];
  119. if(($receiver = $2) == nil || $receiver == undefined){
  120. self["@pc"]=(0);
  121. $1=self["@pc"];
  122. } else {
  123. $1=$2;
  124. };
  125. return $1;
  126. }, function($ctx1) {$ctx1.fill(self,"pc",{}, smalltalk.AIContext)})}
  127. }),
  128. smalltalk.AIContext);
  129. smalltalk.addMethod(
  130. "_pc_",
  131. smalltalk.method({
  132. selector: "pc:",
  133. fn: function (anInteger){
  134. var self=this;
  135. return smalltalk.withContext(function($ctx1) { self["@pc"]=anInteger;
  136. return self}, function($ctx1) {$ctx1.fill(self,"pc:",{anInteger:anInteger}, smalltalk.AIContext)})}
  137. }),
  138. smalltalk.AIContext);
  139. smalltalk.addMethod(
  140. "_receiver",
  141. smalltalk.method({
  142. selector: "receiver",
  143. fn: function (){
  144. var self=this;
  145. return smalltalk.withContext(function($ctx1) { var $1;
  146. $1=_st(self)._localAt_("self");
  147. return $1;
  148. }, function($ctx1) {$ctx1.fill(self,"receiver",{}, smalltalk.AIContext)})}
  149. }),
  150. smalltalk.AIContext);
  151. smalltalk.addMethod(
  152. "_receiver_",
  153. smalltalk.method({
  154. selector: "receiver:",
  155. fn: function (anObject){
  156. var self=this;
  157. return smalltalk.withContext(function($ctx1) { _st(self)._localAt_put_("self",anObject);
  158. return self}, function($ctx1) {$ctx1.fill(self,"receiver:",{anObject:anObject}, smalltalk.AIContext)})}
  159. }),
  160. smalltalk.AIContext);
  161. smalltalk.addMethod(
  162. "_selector",
  163. smalltalk.method({
  164. selector: "selector",
  165. fn: function (){
  166. var self=this;
  167. return smalltalk.withContext(function($ctx1) { var $2,$1;
  168. $2=_st(self)._metod();
  169. if(($receiver = $2) == nil || $receiver == undefined){
  170. $1=$2;
  171. } else {
  172. $1=_st(_st(self)._method())._selector();
  173. };
  174. return $1;
  175. }, function($ctx1) {$ctx1.fill(self,"selector",{}, smalltalk.AIContext)})}
  176. }),
  177. smalltalk.AIContext);
  178. smalltalk.addMethod(
  179. "_fromMethodContext_",
  180. smalltalk.method({
  181. selector: "fromMethodContext:",
  182. fn: function (aMethodContext){
  183. var self=this;
  184. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  185. $2=_st(self)._new();
  186. _st($2)._initializeFromMethodContext_(aMethodContext);
  187. $3=_st($2)._yourself();
  188. $1=$3;
  189. return $1;
  190. }, function($ctx1) {$ctx1.fill(self,"fromMethodContext:",{aMethodContext:aMethodContext}, smalltalk.AIContext.klass)})}
  191. }),
  192. smalltalk.AIContext.klass);
  193. smalltalk.addClass('ASTDebugger', smalltalk.Object, ['interpreter', 'context'], 'Compiler-Interpreter');
  194. smalltalk.addMethod(
  195. "_context_",
  196. smalltalk.method({
  197. selector: "context:",
  198. fn: function (aContext){
  199. var self=this;
  200. return smalltalk.withContext(function($ctx1) { self["@context"]=_st((smalltalk.AIContext || AIContext))._new();
  201. return self}, function($ctx1) {$ctx1.fill(self,"context:",{aContext:aContext}, smalltalk.ASTDebugger)})}
  202. }),
  203. smalltalk.ASTDebugger);
  204. smalltalk.addMethod(
  205. "_defaultInterpreter",
  206. smalltalk.method({
  207. selector: "defaultInterpreter",
  208. fn: function (){
  209. var self=this;
  210. return smalltalk.withContext(function($ctx1) { var $1;
  211. $1=_st((smalltalk.ASTSteppingInterpreter || ASTSteppingInterpreter))._new();
  212. return $1;
  213. }, function($ctx1) {$ctx1.fill(self,"defaultInterpreter",{}, smalltalk.ASTDebugger)})}
  214. }),
  215. smalltalk.ASTDebugger);
  216. smalltalk.addMethod(
  217. "_initializeWithContext_",
  218. smalltalk.method({
  219. selector: "initializeWithContext:",
  220. fn: function (aMethodContext){
  221. var self=this;
  222. return smalltalk.withContext(function($ctx1) { _st(self)._context_fromMethodContext_((smalltalk.IAContext || IAContext),aMethodContext);
  223. return self}, function($ctx1) {$ctx1.fill(self,"initializeWithContext:",{aMethodContext:aMethodContext}, smalltalk.ASTDebugger)})}
  224. }),
  225. smalltalk.ASTDebugger);
  226. smalltalk.addMethod(
  227. "_interpreter",
  228. smalltalk.method({
  229. selector: "interpreter",
  230. fn: function (){
  231. var self=this;
  232. return smalltalk.withContext(function($ctx1) { var $2,$1;
  233. $2=self["@interpreter"];
  234. if(($receiver = $2) == nil || $receiver == undefined){
  235. self["@interpreter"]=_st(self)._defaultInterpreter();
  236. $1=self["@interpreter"];
  237. } else {
  238. $1=$2;
  239. };
  240. return $1;
  241. }, function($ctx1) {$ctx1.fill(self,"interpreter",{}, smalltalk.ASTDebugger)})}
  242. }),
  243. smalltalk.ASTDebugger);
  244. smalltalk.addMethod(
  245. "_interpreter_",
  246. smalltalk.method({
  247. selector: "interpreter:",
  248. fn: function (anInterpreter){
  249. var self=this;
  250. return smalltalk.withContext(function($ctx1) { self["@interpreter"]=anInterpreter;
  251. return self}, function($ctx1) {$ctx1.fill(self,"interpreter:",{anInterpreter:anInterpreter}, smalltalk.ASTDebugger)})}
  252. }),
  253. smalltalk.ASTDebugger);
  254. smalltalk.addMethod(
  255. "_method",
  256. smalltalk.method({
  257. selector: "method",
  258. fn: function (){
  259. var self=this;
  260. return smalltalk.withContext(function($ctx1) { var $1;
  261. $1=_st(_st(self)._context())._method();
  262. return $1;
  263. }, function($ctx1) {$ctx1.fill(self,"method",{}, smalltalk.ASTDebugger)})}
  264. }),
  265. smalltalk.ASTDebugger);
  266. smalltalk.addMethod(
  267. "_restart",
  268. smalltalk.method({
  269. selector: "restart",
  270. fn: function (){
  271. var self=this;
  272. return smalltalk.withContext(function($ctx1) { _st(self)._shouldBeImplemented();
  273. return self}, function($ctx1) {$ctx1.fill(self,"restart",{}, smalltalk.ASTDebugger)})}
  274. }),
  275. smalltalk.ASTDebugger);
  276. smalltalk.addMethod(
  277. "_resume",
  278. smalltalk.method({
  279. selector: "resume",
  280. fn: function (){
  281. var self=this;
  282. return smalltalk.withContext(function($ctx1) { _st(self)._shouldBeImplemented();
  283. return self}, function($ctx1) {$ctx1.fill(self,"resume",{}, smalltalk.ASTDebugger)})}
  284. }),
  285. smalltalk.ASTDebugger);
  286. smalltalk.addMethod(
  287. "_stepInto",
  288. smalltalk.method({
  289. selector: "stepInto",
  290. fn: function (){
  291. var self=this;
  292. return smalltalk.withContext(function($ctx1) { _st(self)._shouldBeImplemented();
  293. return self}, function($ctx1) {$ctx1.fill(self,"stepInto",{}, smalltalk.ASTDebugger)})}
  294. }),
  295. smalltalk.ASTDebugger);
  296. smalltalk.addMethod(
  297. "_stepOver",
  298. smalltalk.method({
  299. selector: "stepOver",
  300. fn: function (){
  301. var self=this;
  302. return smalltalk.withContext(function($ctx1) { _st(self)._shouldBeImplemented();
  303. return self}, function($ctx1) {$ctx1.fill(self,"stepOver",{}, smalltalk.ASTDebugger)})}
  304. }),
  305. smalltalk.ASTDebugger);
  306. smalltalk.addMethod(
  307. "_context_",
  308. smalltalk.method({
  309. selector: "context:",
  310. fn: function (aMethodContext){
  311. var self=this;
  312. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  313. $2=_st(self)._new();
  314. _st($2)._initializeWithContext_(aMethodContext);
  315. $3=_st($2)._yourself();
  316. $1=$3;
  317. return $1;
  318. }, function($ctx1) {$ctx1.fill(self,"context:",{aMethodContext:aMethodContext}, smalltalk.ASTDebugger.klass)})}
  319. }),
  320. smalltalk.ASTDebugger.klass);
  321. smalltalk.addClass('ASTInterpreter', smalltalk.Object, ['currentNode', 'context', 'shouldReturn', 'result'], 'Compiler-Interpreter');
  322. smalltalk.addMethod(
  323. "_assign_to_",
  324. smalltalk.method({
  325. selector: "assign:to:",
  326. fn: function (aNode,anObject){
  327. var self=this;
  328. return smalltalk.withContext(function($ctx1) { var $2,$1;
  329. $2=_st(_st(aNode)._binding())._isInstanceVar();
  330. if(smalltalk.assert($2)){
  331. $1=_st(_st(_st(self)._context())._receiver())._instVarAt_put_(_st(aNode)._value(),anObject);
  332. } else {
  333. $1=_st(_st(self)._context())._localAt_put_(_st(aNode)._value(),anObject);
  334. };
  335. return $1;
  336. }, function($ctx1) {$ctx1.fill(self,"assign:to:",{aNode:aNode,anObject:anObject}, smalltalk.ASTInterpreter)})}
  337. }),
  338. smalltalk.ASTInterpreter);
  339. smalltalk.addMethod(
  340. "_context",
  341. smalltalk.method({
  342. selector: "context",
  343. fn: function (){
  344. var self=this;
  345. return smalltalk.withContext(function($ctx1) { var $2,$1;
  346. $2=self["@context"];
  347. if(($receiver = $2) == nil || $receiver == undefined){
  348. self["@context"]=_st((smalltalk.AIContext || AIContext))._new();
  349. $1=self["@context"];
  350. } else {
  351. $1=$2;
  352. };
  353. return $1;
  354. }, function($ctx1) {$ctx1.fill(self,"context",{}, smalltalk.ASTInterpreter)})}
  355. }),
  356. smalltalk.ASTInterpreter);
  357. smalltalk.addMethod(
  358. "_context_",
  359. smalltalk.method({
  360. selector: "context:",
  361. fn: function (anAIContext){
  362. var self=this;
  363. return smalltalk.withContext(function($ctx1) { self["@context"]=anAIContext;
  364. return self}, function($ctx1) {$ctx1.fill(self,"context:",{anAIContext:anAIContext}, smalltalk.ASTInterpreter)})}
  365. }),
  366. smalltalk.ASTInterpreter);
  367. smalltalk.addMethod(
  368. "_continue_value_",
  369. smalltalk.method({
  370. selector: "continue:value:",
  371. fn: function (aBlock,anObject){
  372. var self=this;
  373. return smalltalk.withContext(function($ctx1) { self["@result"]=anObject;
  374. _st(aBlock)._value_(anObject);
  375. return self}, function($ctx1) {$ctx1.fill(self,"continue:value:",{aBlock:aBlock,anObject:anObject}, smalltalk.ASTInterpreter)})}
  376. }),
  377. smalltalk.ASTInterpreter);
  378. smalltalk.addMethod(
  379. "_currentNode",
  380. smalltalk.method({
  381. selector: "currentNode",
  382. fn: function (){
  383. var self=this;
  384. return smalltalk.withContext(function($ctx1) { var $1;
  385. $1=self["@currentNode"];
  386. return $1;
  387. }, function($ctx1) {$ctx1.fill(self,"currentNode",{}, smalltalk.ASTInterpreter)})}
  388. }),
  389. smalltalk.ASTInterpreter);
  390. smalltalk.addMethod(
  391. "_eval_",
  392. smalltalk.method({
  393. selector: "eval:",
  394. fn: function (aString){
  395. var self=this;
  396. var source,function_;
  397. return smalltalk.withContext(function($ctx1) { var $1,$2,$3;
  398. source=_st((smalltalk.String || String))._streamContents_((function(str){
  399. return smalltalk.withContext(function($ctx2) { _st(str)._nextPutAll_("(function(");
  400. _st(_st(_st(_st(self)._context())._locals())._keys())._do_separatedBy_((function(each){
  401. return smalltalk.withContext(function($ctx3) { return _st(str)._nextPutAll_(each);
  402. }, function($ctx3) {$ctx3.fillBlock({each:each},$ctx1)})}),(function(){
  403. return smalltalk.withContext(function($ctx3) { return _st(str)._nextPutAll_(",");
  404. }, function($ctx3) {$ctx3.fillBlock({},$ctx1)})}));
  405. $1=str;
  406. _st($1)._nextPutAll_("){ return (function() {");
  407. _st($1)._nextPutAll_(aString);
  408. $2=_st($1)._nextPutAll_("})() })");
  409. return $2;
  410. }, function($ctx2) {$ctx2.fillBlock({str:str},$ctx1)})}));
  411. function_=_st(_st((smalltalk.Compiler || Compiler))._new())._eval_(source);
  412. $3=_st(function_)._valueWithPossibleArguments_(_st(_st(_st(self)._context())._locals())._values());
  413. return $3;
  414. }, function($ctx1) {$ctx1.fill(self,"eval:",{aString:aString,source:source,function_:function_}, smalltalk.ASTInterpreter)})}
  415. }),
  416. smalltalk.ASTInterpreter);
  417. smalltalk.addMethod(
  418. "_initialize",
  419. smalltalk.method({
  420. selector: "initialize",
  421. fn: function (){
  422. var self=this;
  423. return smalltalk.withContext(function($ctx1) { smalltalk.Object.fn.prototype._initialize.apply(_st(self), []);
  424. self["@shouldReturn"]=false;
  425. return self}, function($ctx1) {$ctx1.fill(self,"initialize",{}, smalltalk.ASTInterpreter)})}
  426. }),
  427. smalltalk.ASTInterpreter);
  428. smalltalk.addMethod(
  429. "_interpret_",
  430. smalltalk.method({
  431. selector: "interpret:",
  432. fn: function (aNode){
  433. var self=this;
  434. return smalltalk.withContext(function($ctx1) { self["@shouldReturn"]=false;
  435. _st(self)._interpret_continue_(aNode,(function(value){
  436. return smalltalk.withContext(function($ctx2) { self["@result"]=value;
  437. return self["@result"];
  438. }, function($ctx2) {$ctx2.fillBlock({value:value},$ctx1)})}));
  439. return self}, function($ctx1) {$ctx1.fill(self,"interpret:",{aNode:aNode}, smalltalk.ASTInterpreter)})}
  440. }),
  441. smalltalk.ASTInterpreter);
  442. smalltalk.addMethod(
  443. "_interpret_continue_",
  444. smalltalk.method({
  445. selector: "interpret:continue:",
  446. fn: function (aNode,aBlock){
  447. var self=this;
  448. return smalltalk.withContext(function($ctx1) { var $1,$2,$3;
  449. $1=self["@shouldReturn"];
  450. if(smalltalk.assert($1)){
  451. $2=self;
  452. return $2;
  453. };
  454. $3=_st(aNode)._isNode();
  455. if(smalltalk.assert($3)){
  456. self["@currentNode"]=aNode;
  457. self["@currentNode"];
  458. _st(self)._interpretNode_continue_(aNode,(function(value){
  459. return smalltalk.withContext(function($ctx2) { return _st(self)._continue_value_(aBlock,value);
  460. }, function($ctx2) {$ctx2.fillBlock({value:value},$ctx1)})}));
  461. } else {
  462. _st(self)._continue_value_(aBlock,aNode);
  463. };
  464. return self}, function($ctx1) {$ctx1.fill(self,"interpret:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  465. }),
  466. smalltalk.ASTInterpreter);
  467. smalltalk.addMethod(
  468. "_interpretAll_continue_",
  469. smalltalk.method({
  470. selector: "interpretAll:continue:",
  471. fn: function (aCollection,aBlock){
  472. var self=this;
  473. return smalltalk.withContext(function($ctx1) { _st(self)._interpretAll_continue_result_(aCollection,aBlock,_st((smalltalk.OrderedCollection || OrderedCollection))._new());
  474. return self}, function($ctx1) {$ctx1.fill(self,"interpretAll:continue:",{aCollection:aCollection,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  475. }),
  476. smalltalk.ASTInterpreter);
  477. smalltalk.addMethod(
  478. "_interpretAll_continue_result_",
  479. smalltalk.method({
  480. selector: "interpretAll:continue:result:",
  481. fn: function (nodes,aBlock,aCollection){
  482. var self=this;
  483. return smalltalk.withContext(function($ctx1) { var $1;
  484. $1=_st(nodes)._isEmpty();
  485. if(smalltalk.assert($1)){
  486. _st(self)._continue_value_(aBlock,aCollection);
  487. } else {
  488. _st(self)._interpret_continue_(_st(nodes)._first(),(function(value){
  489. return smalltalk.withContext(function($ctx2) { return _st(self)._interpretAll_continue_result_(_st(nodes)._allButFirst(),aBlock,_st(aCollection).__comma([value]));
  490. }, function($ctx2) {$ctx2.fillBlock({value:value},$ctx1)})}));
  491. };
  492. return self}, function($ctx1) {$ctx1.fill(self,"interpretAll:continue:result:",{nodes:nodes,aBlock:aBlock,aCollection:aCollection}, smalltalk.ASTInterpreter)})}
  493. }),
  494. smalltalk.ASTInterpreter);
  495. smalltalk.addMethod(
  496. "_interpretAssignmentNode_continue_",
  497. smalltalk.method({
  498. selector: "interpretAssignmentNode:continue:",
  499. fn: function (aNode,aBlock){
  500. var self=this;
  501. return smalltalk.withContext(function($ctx1) { _st(self)._interpret_continue_(_st(aNode)._right(),(function(value){
  502. return smalltalk.withContext(function($ctx2) { return _st(self)._continue_value_(aBlock,_st(self)._assign_to_(_st(aNode)._left(),value));
  503. }, function($ctx2) {$ctx2.fillBlock({value:value},$ctx1)})}));
  504. return self}, function($ctx1) {$ctx1.fill(self,"interpretAssignmentNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  505. }),
  506. smalltalk.ASTInterpreter);
  507. smalltalk.addMethod(
  508. "_interpretBlockNode_continue_",
  509. smalltalk.method({
  510. selector: "interpretBlockNode:continue:",
  511. fn: function (aNode,aBlock){
  512. var self=this;
  513. return smalltalk.withContext(function($ctx1) { var $1,$2;
  514. _st(self)._continue_value_(aBlock,(function(){
  515. return smalltalk.withContext(function($ctx2) { $1=self;
  516. _st($1)._interpret_(_st(_st(aNode)._nodes())._first());
  517. $2=_st($1)._result();
  518. return $2;
  519. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
  520. return self}, function($ctx1) {$ctx1.fill(self,"interpretBlockNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  521. }),
  522. smalltalk.ASTInterpreter);
  523. smalltalk.addMethod(
  524. "_interpretBlockSequenceNode_continue_",
  525. smalltalk.method({
  526. selector: "interpretBlockSequenceNode:continue:",
  527. fn: function (aNode,aBlock){
  528. var self=this;
  529. return smalltalk.withContext(function($ctx1) { _st(self)._interpretSequenceNode_continue_(aNode,aBlock);
  530. return self}, function($ctx1) {$ctx1.fill(self,"interpretBlockSequenceNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  531. }),
  532. smalltalk.ASTInterpreter);
  533. smalltalk.addMethod(
  534. "_interpretCascadeNode_continue_",
  535. smalltalk.method({
  536. selector: "interpretCascadeNode:continue:",
  537. fn: function (aNode,aBlock){
  538. var self=this;
  539. return smalltalk.withContext(function($ctx1) { _st(self)._interpret_continue_(_st(aNode)._receiver(),(function(receiver){
  540. return smalltalk.withContext(function($ctx2) { _st(_st(aNode)._nodes())._do_((function(each){
  541. return smalltalk.withContext(function($ctx3) { return _st(each)._receiver_(receiver);
  542. }, function($ctx3) {$ctx3.fillBlock({each:each},$ctx1)})}));
  543. return _st(self)._interpretAll_continue_(_st(_st(aNode)._nodes())._allButLast(),(function(){
  544. return smalltalk.withContext(function($ctx3) { return _st(self)._interpret_continue_(_st(_st(aNode)._nodes())._last(),(function(val){
  545. return smalltalk.withContext(function($ctx4) { return _st(self)._continue_value_(aBlock,val);
  546. }, function($ctx4) {$ctx4.fillBlock({val:val},$ctx1)})}));
  547. }, function($ctx3) {$ctx3.fillBlock({},$ctx1)})}));
  548. }, function($ctx2) {$ctx2.fillBlock({receiver:receiver},$ctx1)})}));
  549. return self}, function($ctx1) {$ctx1.fill(self,"interpretCascadeNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  550. }),
  551. smalltalk.ASTInterpreter);
  552. smalltalk.addMethod(
  553. "_interpretClassReferenceNode_continue_",
  554. smalltalk.method({
  555. selector: "interpretClassReferenceNode:continue:",
  556. fn: function (aNode,aBlock){
  557. var self=this;
  558. return smalltalk.withContext(function($ctx1) { _st(self)._continue_value_(aBlock,_st(_st((smalltalk.Smalltalk || Smalltalk))._current())._at_(_st(aNode)._value()));
  559. return self}, function($ctx1) {$ctx1.fill(self,"interpretClassReferenceNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  560. }),
  561. smalltalk.ASTInterpreter);
  562. smalltalk.addMethod(
  563. "_interpretDynamicArrayNode_continue_",
  564. smalltalk.method({
  565. selector: "interpretDynamicArrayNode:continue:",
  566. fn: function (aNode,aBlock){
  567. var self=this;
  568. return smalltalk.withContext(function($ctx1) { _st(self)._interpretAll_continue_(_st(aNode)._nodes(),(function(array){
  569. return smalltalk.withContext(function($ctx2) { return _st(self)._continue_value_(aBlock,array);
  570. }, function($ctx2) {$ctx2.fillBlock({array:array},$ctx1)})}));
  571. return self}, function($ctx1) {$ctx1.fill(self,"interpretDynamicArrayNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  572. }),
  573. smalltalk.ASTInterpreter);
  574. smalltalk.addMethod(
  575. "_interpretDynamicDictionaryNode_continue_",
  576. smalltalk.method({
  577. selector: "interpretDynamicDictionaryNode:continue:",
  578. fn: function (aNode,aBlock){
  579. var self=this;
  580. return smalltalk.withContext(function($ctx1) { _st(self)._interpretAll_continue_(_st(aNode)._nodes(),(function(array){
  581. var hashedCollection;
  582. return smalltalk.withContext(function($ctx2) { hashedCollection=_st((smalltalk.HashedCollection || HashedCollection))._new();
  583. hashedCollection;
  584. _st(array)._do_((function(each){
  585. return smalltalk.withContext(function($ctx3) { return _st(hashedCollection)._add_(each);
  586. }, function($ctx3) {$ctx3.fillBlock({each:each},$ctx1)})}));
  587. return _st(self)._continue_value_(aBlock,hashedCollection);
  588. }, function($ctx2) {$ctx2.fillBlock({array:array,hashedCollection:hashedCollection},$ctx1)})}));
  589. return self}, function($ctx1) {$ctx1.fill(self,"interpretDynamicDictionaryNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  590. }),
  591. smalltalk.ASTInterpreter);
  592. smalltalk.addMethod(
  593. "_interpretJSStatementNode_continue_",
  594. smalltalk.method({
  595. selector: "interpretJSStatementNode:continue:",
  596. fn: function (aNode,aBlock){
  597. var self=this;
  598. return smalltalk.withContext(function($ctx1) { self["@shouldReturn"]=true;
  599. _st(self)._continue_value_(aBlock,_st(self)._eval_(_st(aNode)._source()));
  600. return self}, function($ctx1) {$ctx1.fill(self,"interpretJSStatementNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  601. }),
  602. smalltalk.ASTInterpreter);
  603. smalltalk.addMethod(
  604. "_interpretMethodNode_continue_",
  605. smalltalk.method({
  606. selector: "interpretMethodNode:continue:",
  607. fn: function (aNode,aBlock){
  608. var self=this;
  609. return smalltalk.withContext(function($ctx1) { _st(self)._interpretAll_continue_(_st(aNode)._nodes(),(function(array){
  610. return smalltalk.withContext(function($ctx2) { return _st(self)._continue_value_(aBlock,_st(array)._first());
  611. }, function($ctx2) {$ctx2.fillBlock({array:array},$ctx1)})}));
  612. return self}, function($ctx1) {$ctx1.fill(self,"interpretMethodNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  613. }),
  614. smalltalk.ASTInterpreter);
  615. smalltalk.addMethod(
  616. "_interpretNode_continue_",
  617. smalltalk.method({
  618. selector: "interpretNode:continue:",
  619. fn: function (aNode,aBlock){
  620. var self=this;
  621. return smalltalk.withContext(function($ctx1) { _st(aNode)._interpreter_continue_(self,aBlock);
  622. return self}, function($ctx1) {$ctx1.fill(self,"interpretNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  623. }),
  624. smalltalk.ASTInterpreter);
  625. smalltalk.addMethod(
  626. "_interpretReturnNode_continue_",
  627. smalltalk.method({
  628. selector: "interpretReturnNode:continue:",
  629. fn: function (aNode,aBlock){
  630. var self=this;
  631. return smalltalk.withContext(function($ctx1) { _st(self)._interpret_continue_(_st(_st(aNode)._nodes())._first(),(function(value){
  632. return smalltalk.withContext(function($ctx2) { self["@shouldReturn"]=true;
  633. self["@shouldReturn"];
  634. return _st(self)._continue_value_(aBlock,value);
  635. }, function($ctx2) {$ctx2.fillBlock({value:value},$ctx1)})}));
  636. return self}, function($ctx1) {$ctx1.fill(self,"interpretReturnNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  637. }),
  638. smalltalk.ASTInterpreter);
  639. smalltalk.addMethod(
  640. "_interpretSendNode_continue_",
  641. smalltalk.method({
  642. selector: "interpretSendNode:continue:",
  643. fn: function (aNode,aBlock){
  644. var self=this;
  645. return smalltalk.withContext(function($ctx1) { _st(self)._interpret_continue_(_st(aNode)._receiver(),(function(receiver){
  646. return smalltalk.withContext(function($ctx2) { return _st(self)._interpretAll_continue_(_st(aNode)._arguments(),(function(args){
  647. return smalltalk.withContext(function($ctx3) { return _st(self)._messageFromSendNode_arguments_do_(aNode,args,(function(message){
  648. return smalltalk.withContext(function($ctx4) { _st(_st(self)._context())._pc_(_st(_st(_st(self)._context())._pc()).__plus((1)));
  649. return _st(self)._continue_value_(aBlock,_st(message)._sendTo_(receiver));
  650. }, function($ctx4) {$ctx4.fillBlock({message:message},$ctx1)})}));
  651. }, function($ctx3) {$ctx3.fillBlock({args:args},$ctx1)})}));
  652. }, function($ctx2) {$ctx2.fillBlock({receiver:receiver},$ctx1)})}));
  653. return self}, function($ctx1) {$ctx1.fill(self,"interpretSendNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  654. }),
  655. smalltalk.ASTInterpreter);
  656. smalltalk.addMethod(
  657. "_interpretSequenceNode_continue_",
  658. smalltalk.method({
  659. selector: "interpretSequenceNode:continue:",
  660. fn: function (aNode,aBlock){
  661. var self=this;
  662. return smalltalk.withContext(function($ctx1) { _st(self)._interpretAll_continue_(_st(aNode)._nodes(),(function(array){
  663. return smalltalk.withContext(function($ctx2) { return _st(self)._continue_value_(aBlock,_st(array)._last());
  664. }, function($ctx2) {$ctx2.fillBlock({array:array},$ctx1)})}));
  665. return self}, function($ctx1) {$ctx1.fill(self,"interpretSequenceNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  666. }),
  667. smalltalk.ASTInterpreter);
  668. smalltalk.addMethod(
  669. "_interpretValueNode_continue_",
  670. smalltalk.method({
  671. selector: "interpretValueNode:continue:",
  672. fn: function (aNode,aBlock){
  673. var self=this;
  674. return smalltalk.withContext(function($ctx1) { _st(self)._continue_value_(aBlock,_st(aNode)._value());
  675. return self}, function($ctx1) {$ctx1.fill(self,"interpretValueNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  676. }),
  677. smalltalk.ASTInterpreter);
  678. smalltalk.addMethod(
  679. "_interpretVariableNode_continue_",
  680. smalltalk.method({
  681. selector: "interpretVariableNode:continue:",
  682. fn: function (aNode,aBlock){
  683. var self=this;
  684. return smalltalk.withContext(function($ctx1) { var $1,$2,$4,$3;
  685. $1=self;
  686. $2=aBlock;
  687. $4=_st(_st(aNode)._binding())._isInstanceVar();
  688. if(smalltalk.assert($4)){
  689. $3=_st(_st(_st(self)._context())._receiver())._instVarAt_(_st(aNode)._value());
  690. } else {
  691. $3=_st(_st(self)._context())._localAt_(_st(aNode)._value());
  692. };
  693. _st($1)._continue_value_($2,$3);
  694. return self}, function($ctx1) {$ctx1.fill(self,"interpretVariableNode:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  695. }),
  696. smalltalk.ASTInterpreter);
  697. smalltalk.addMethod(
  698. "_messageFromSendNode_arguments_do_",
  699. smalltalk.method({
  700. selector: "messageFromSendNode:arguments:do:",
  701. fn: function (aSendNode,aCollection,aBlock){
  702. var self=this;
  703. return smalltalk.withContext(function($ctx1) { var $1,$2;
  704. $1=_st((smalltalk.Message || Message))._new();
  705. _st($1)._selector_(_st(aSendNode)._selector());
  706. _st($1)._arguments_(aCollection);
  707. $2=_st($1)._yourself();
  708. _st(self)._continue_value_(aBlock,$2);
  709. return self}, function($ctx1) {$ctx1.fill(self,"messageFromSendNode:arguments:do:",{aSendNode:aSendNode,aCollection:aCollection,aBlock:aBlock}, smalltalk.ASTInterpreter)})}
  710. }),
  711. smalltalk.ASTInterpreter);
  712. smalltalk.addMethod(
  713. "_result",
  714. smalltalk.method({
  715. selector: "result",
  716. fn: function (){
  717. var self=this;
  718. return smalltalk.withContext(function($ctx1) { var $1;
  719. $1=self["@result"];
  720. return $1;
  721. }, function($ctx1) {$ctx1.fill(self,"result",{}, smalltalk.ASTInterpreter)})}
  722. }),
  723. smalltalk.ASTInterpreter);
  724. smalltalk.addClass('ASTSteppingInterpreter', smalltalk.ASTInterpreter, ['continuation'], 'Compiler-Interpreter');
  725. smalltalk.addMethod(
  726. "_initialize",
  727. smalltalk.method({
  728. selector: "initialize",
  729. fn: function (){
  730. var self=this;
  731. return smalltalk.withContext(function($ctx1) { smalltalk.ASTInterpreter.fn.prototype._initialize.apply(_st(self), []);
  732. self["@continuation"]=(function(){
  733. return smalltalk.withContext(function($ctx2) { }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})});
  734. return self}, function($ctx1) {$ctx1.fill(self,"initialize",{}, smalltalk.ASTDebugger)})}
  735. }),
  736. smalltalk.ASTSteppingInterpreter);
  737. smalltalk.addMethod(
  738. "_interpret_continue_",
  739. smalltalk.method({
  740. selector: "interpret:continue:",
  741. fn: function (aNode,aBlock){
  742. var self=this;
  743. return smalltalk.withContext(function($ctx1) { self["@continuation"]=(function(){
  744. return smalltalk.withContext(function($ctx2) { return smalltalk.ASTInterpreter.fn.prototype._interpret_continue_.apply(_st(self), [aNode,aBlock]);
  745. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})});
  746. return self}, function($ctx1) {$ctx1.fill(self,"interpret:continue:",{aNode:aNode,aBlock:aBlock}, smalltalk.ASTDebugger)})}
  747. }),
  748. smalltalk.ASTSteppingInterpreter);
  749. smalltalk.addMethod(
  750. "_step",
  751. smalltalk.method({
  752. selector: "step",
  753. fn: function (){
  754. var self=this;
  755. return smalltalk.withContext(function($ctx1) { _st(self["@continuation"])._value();
  756. return self}, function($ctx1) {$ctx1.fill(self,"step",{}, smalltalk.ASTDebugger)})}
  757. }),
  758. smalltalk.ASTSteppingInterpreter);
  759. smalltalk.addMethod(
  760. "_interpreter_continue_",
  761. smalltalk.method({
  762. selector: "interpreter:continue:",
  763. fn: function (anInterpreter,aBlock){
  764. var self=this;
  765. return smalltalk.withContext(function($ctx1) { var $1;
  766. $1=_st(anInterpreter)._interpretNode_continue_(self,aBlock);
  767. return $1;
  768. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.Node)})}
  769. }),
  770. smalltalk.Node);
  771. smalltalk.addMethod(
  772. "_interpreter_continue_",
  773. smalltalk.method({
  774. selector: "interpreter:continue:",
  775. fn: function (anInterpreter,aBlock){
  776. var self=this;
  777. return smalltalk.withContext(function($ctx1) { var $1;
  778. $1=_st(anInterpreter)._interpretAssignmentNode_continue_(self,aBlock);
  779. return $1;
  780. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.AssignmentNode)})}
  781. }),
  782. smalltalk.AssignmentNode);
  783. smalltalk.addMethod(
  784. "_interpreter_continue_",
  785. smalltalk.method({
  786. selector: "interpreter:continue:",
  787. fn: function (anInterpreter,aBlock){
  788. var self=this;
  789. return smalltalk.withContext(function($ctx1) { var $1;
  790. $1=_st(anInterpreter)._interpretBlockNode_continue_(self,aBlock);
  791. return $1;
  792. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.BlockNode)})}
  793. }),
  794. smalltalk.BlockNode);
  795. smalltalk.addMethod(
  796. "_interpreter_continue_",
  797. smalltalk.method({
  798. selector: "interpreter:continue:",
  799. fn: function (anInterpreter,aBlock){
  800. var self=this;
  801. return smalltalk.withContext(function($ctx1) { var $1;
  802. $1=_st(anInterpreter)._interpretCascadeNode_continue_(self,aBlock);
  803. return $1;
  804. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.CascadeNode)})}
  805. }),
  806. smalltalk.CascadeNode);
  807. smalltalk.addMethod(
  808. "_interpreter_continue_",
  809. smalltalk.method({
  810. selector: "interpreter:continue:",
  811. fn: function (anInterpreter,aBlock){
  812. var self=this;
  813. return smalltalk.withContext(function($ctx1) { var $1;
  814. $1=_st(anInterpreter)._interpretDynamicArrayNode_continue_(self,aBlock);
  815. return $1;
  816. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.DynamicArrayNode)})}
  817. }),
  818. smalltalk.DynamicArrayNode);
  819. smalltalk.addMethod(
  820. "_interpreter_continue_",
  821. smalltalk.method({
  822. selector: "interpreter:continue:",
  823. fn: function (anInterpreter,aBlock){
  824. var self=this;
  825. return smalltalk.withContext(function($ctx1) { var $1;
  826. $1=_st(anInterpreter)._interpretDynamicDictionaryNode_continue_(self,aBlock);
  827. return $1;
  828. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.DynamicDictionaryNode)})}
  829. }),
  830. smalltalk.DynamicDictionaryNode);
  831. smalltalk.addMethod(
  832. "_interpreter_continue_",
  833. smalltalk.method({
  834. selector: "interpreter:continue:",
  835. fn: function (anInterpreter,aBlock){
  836. var self=this;
  837. return smalltalk.withContext(function($ctx1) { var $1;
  838. $1=_st(anInterpreter)._interpretJSStatementNode_continue_(self,aBlock);
  839. return $1;
  840. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.JSStatementNode)})}
  841. }),
  842. smalltalk.JSStatementNode);
  843. smalltalk.addMethod(
  844. "_interpreter_continue_",
  845. smalltalk.method({
  846. selector: "interpreter:continue:",
  847. fn: function (anInterpreter,aBlock){
  848. var self=this;
  849. return smalltalk.withContext(function($ctx1) { var $1;
  850. $1=_st(anInterpreter)._interpretMethodNode_continue_(self,aBlock);
  851. return $1;
  852. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.MethodNode)})}
  853. }),
  854. smalltalk.MethodNode);
  855. smalltalk.addMethod(
  856. "_interpreter_continue_",
  857. smalltalk.method({
  858. selector: "interpreter:continue:",
  859. fn: function (anInterpreter,aBlock){
  860. var self=this;
  861. return smalltalk.withContext(function($ctx1) { var $1;
  862. $1=_st(anInterpreter)._interpretReturnNode_continue_(self,aBlock);
  863. return $1;
  864. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.ReturnNode)})}
  865. }),
  866. smalltalk.ReturnNode);
  867. smalltalk.addMethod(
  868. "_interpreter_continue_",
  869. smalltalk.method({
  870. selector: "interpreter:continue:",
  871. fn: function (anInterpreter,aBlock){
  872. var self=this;
  873. return smalltalk.withContext(function($ctx1) { var $1;
  874. $1=_st(anInterpreter)._interpretSendNode_continue_(self,aBlock);
  875. return $1;
  876. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.SendNode)})}
  877. }),
  878. smalltalk.SendNode);
  879. smalltalk.addMethod(
  880. "_interpreter_continue_",
  881. smalltalk.method({
  882. selector: "interpreter:continue:",
  883. fn: function (anInterpreter,aBlock){
  884. var self=this;
  885. return smalltalk.withContext(function($ctx1) { var $1;
  886. $1=_st(anInterpreter)._interpretSequenceNode_continue_(self,aBlock);
  887. return $1;
  888. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.SequenceNode)})}
  889. }),
  890. smalltalk.SequenceNode);
  891. smalltalk.addMethod(
  892. "_interpreter_continue_",
  893. smalltalk.method({
  894. selector: "interpreter:continue:",
  895. fn: function (anInterpreter,aBlock){
  896. var self=this;
  897. return smalltalk.withContext(function($ctx1) { var $1;
  898. $1=_st(anInterpreter)._interpretBlockSequenceNode_continue_(self,aBlock);
  899. return $1;
  900. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.BlockSequenceNode)})}
  901. }),
  902. smalltalk.BlockSequenceNode);
  903. smalltalk.addMethod(
  904. "_interpreter_continue_",
  905. smalltalk.method({
  906. selector: "interpreter:continue:",
  907. fn: function (anInterpreter,aBlock){
  908. var self=this;
  909. return smalltalk.withContext(function($ctx1) { var $1;
  910. $1=_st(anInterpreter)._interpretValueNode_continue_(self,aBlock);
  911. return $1;
  912. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.ValueNode)})}
  913. }),
  914. smalltalk.ValueNode);
  915. smalltalk.addMethod(
  916. "_interpreter_continue_",
  917. smalltalk.method({
  918. selector: "interpreter:continue:",
  919. fn: function (anInterpreter,aBlock){
  920. var self=this;
  921. return smalltalk.withContext(function($ctx1) { var $1;
  922. $1=_st(anInterpreter)._interpretVariableNode_continue_(self,aBlock);
  923. return $1;
  924. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.VariableNode)})}
  925. }),
  926. smalltalk.VariableNode);
  927. smalltalk.addMethod(
  928. "_interpreter_continue_",
  929. smalltalk.method({
  930. selector: "interpreter:continue:",
  931. fn: function (anInterpreter,aBlock){
  932. var self=this;
  933. return smalltalk.withContext(function($ctx1) { var $1;
  934. $1=_st(anInterpreter)._interpretClassReferenceNode_continue_(self,aBlock);
  935. return $1;
  936. }, function($ctx1) {$ctx1.fill(self,"interpreter:continue:",{anInterpreter:anInterpreter,aBlock:aBlock}, smalltalk.ClassReferenceNode)})}
  937. }),
  938. smalltalk.ClassReferenceNode);