|
@@ -3953,34 +3953,21 @@ var self=this;
|
|
|
|
|
|
return $core.withContext(function($ctx1) {
|
|
|
|
|
|
-var $1;
|
|
|
-$1=self._stream();
|
|
|
-
|
|
|
-$ctx1.sendIdx["stream"]=1;
|
|
|
-
|
|
|
-$recv($1)._nextPutSequenceWith_((function(){
|
|
|
+$recv($recv(anIRSequence)._dagChildren())._do_((function(each){
|
|
|
|
|
|
return $core.withContext(function($ctx2) {
|
|
|
|
|
|
-return $recv($recv(anIRSequence)._dagChildren())._do_((function(each){
|
|
|
-
|
|
|
-return $core.withContext(function($ctx3) {
|
|
|
-
|
|
|
return $recv(self._stream())._nextPutStatementWith_((function(){
|
|
|
|
|
|
-return $core.withContext(function($ctx4) {
|
|
|
+return $core.withContext(function($ctx3) {
|
|
|
|
|
|
return self._visit_(each);
|
|
|
|
|
|
-}, function($ctx4) {$ctx4.fillBlock({},$ctx3,3)});
|
|
|
-
|
|
|
-}));
|
|
|
-
|
|
|
-}, function($ctx3) {$ctx3.fillBlock({each:each},$ctx2,2)});
|
|
|
+}, function($ctx3) {$ctx3.fillBlock({},$ctx2,2)});
|
|
|
|
|
|
}));
|
|
|
|
|
|
-}, function($ctx2) {$ctx2.fillBlock({},$ctx1,1)});
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
|
|
|
|
|
|
}));
|
|
|
return self;
|
|
@@ -3990,10 +3977,10 @@ return self;
|
|
|
},
|
|
|
|
|
|
args: ["anIRSequence"],
|
|
|
-source: "visitIRSequence: anIRSequence\x0a\x09self stream nextPutSequenceWith: [\x0a\x09\x09anIRSequence dagChildren do: [ :each |\x0a\x09\x09\x09self stream nextPutStatementWith: [ self visit: each ] ] ]",
|
|
|
+source: "visitIRSequence: anIRSequence\x0a\x09anIRSequence dagChildren do: [ :each |\x0a\x09\x09self stream nextPutStatementWith: [ self visit: each ] ]",
|
|
|
referencedClasses: [],
|
|
|
|
|
|
-messageSends: ["nextPutSequenceWith:", "stream", "do:", "dagChildren", "nextPutStatementWith:", "visit:"]
|
|
|
+messageSends: ["do:", "dagChildren", "nextPutStatementWith:", "stream", "visit:"]
|
|
|
}),
|
|
|
$globals.IRJSTranslator);
|
|
|
|
|
@@ -5431,30 +5418,6 @@ messageSends: ["nextPutAll:", "lf", "alias", "scope", "asJavascript", "selector"
|
|
|
}),
|
|
|
$globals.JSStream);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "nextPutSequenceWith:",
|
|
|
-protocol: 'streaming',
|
|
|
-fn: function (aBlock){
|
|
|
-var self=this;
|
|
|
-
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-
|
|
|
-$recv(aBlock)._value();
|
|
|
-return self;
|
|
|
-
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"nextPutSequenceWith:",{aBlock:aBlock},$globals.JSStream)});
|
|
|
-
|
|
|
-},
|
|
|
-
|
|
|
-args: ["aBlock"],
|
|
|
-source: "nextPutSequenceWith: aBlock\x0a\x09aBlock value",
|
|
|
-referencedClasses: [],
|
|
|
-
|
|
|
-messageSends: ["value"]
|
|
|
-}),
|
|
|
-$globals.JSStream);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "nextPutStatementWith:",
|