|
@@ -5251,175 +5251,6 @@ return self;
|
|
|
}; }),
|
|
|
$globals.JSStream);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "nextPutMethodDeclaration:with:",
|
|
|
-protocol: "streaming",
|
|
|
-//>>excludeStart("ide", pragmas.excludeIdeData);
|
|
|
-args: ["aMethod", "aBlock"],
|
|
|
-source: "nextPutMethodDeclaration: aMethod with: aBlock\x0a\x09stream\x0a\x09\x09nextPutAll: '$core.method({'; lf;\x0a\x09\x09nextPutAll: 'selector: ', aMethod selector asJavaScriptSource, ','; lf;\x0a\x09\x09nextPutAll: 'source: ', aMethod source asJavaScriptSource, ',';lf.\x0a\x09aBlock value.\x0a\x09stream\x0a\x09\x09nextPutAll: ',', String lf, 'messageSends: ';\x0a\x09\x09nextPutAll: aMethod messageSends asArray asJavaScriptSource, ','; lf;\x0a\x09\x09nextPutAll: 'args: ', (aMethod arguments collect: [ :each | each value ]) asArray asJavaScriptSource, ','; lf;\x0a\x09\x09nextPutAll: 'referencedClasses: ['.\x0a\x09aMethod classReferences\x0a\x09\x09do: [ :each | stream nextPutAll: each asJavaScriptSource ]\x0a\x09\x09separatedBy: [ stream nextPutAll: ',' ].\x0a\x09stream\x0a\x09\x09nextPutAll: ']';\x0a\x09\x09nextPutAll: '})'",
|
|
|
-referencedClasses: ["String"],
|
|
|
-//>>excludeEnd("ide");
|
|
|
-pragmas: [],
|
|
|
-messageSends: ["nextPutAll:", "lf", ",", "asJavaScriptSource", "selector", "source", "value", "asArray", "messageSends", "collect:", "arguments", "do:separatedBy:", "classReferences"]
|
|
|
-}, function ($methodClass){ return function (aMethod,aBlock){
|
|
|
-var self=this,$self=this;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-var $1,$4,$3,$2,$7,$6,$5,$8,$11,$10,$9,$14,$13,$12,$17,$16,$15,$18;
|
|
|
-$1=$self.stream;
|
|
|
-$recv($1)._nextPutAll_("$core.method({");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=1;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($1)._lf();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["lf"]=1;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$4=$recv($recv(aMethod)._selector())._asJavaScriptSource();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["asJavaScriptSource"]=1;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$3="selector: ".__comma($4);
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx[","]=2;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$2=$recv($3).__comma(",");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx[","]=1;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($1)._nextPutAll_($2);
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=2;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($1)._lf();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["lf"]=2;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$7=$recv($recv(aMethod)._source())._asJavaScriptSource();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["asJavaScriptSource"]=2;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$6="source: ".__comma($7);
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx[","]=4;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$5=$recv($6).__comma(",");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx[","]=3;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($1)._nextPutAll_($5);
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=3;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($1)._lf();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["lf"]=3;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv(aBlock)._value();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["value"]=1;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$8=$self.stream;
|
|
|
-$11=$recv($globals.String)._lf();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["lf"]=4;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$10=",".__comma($11);
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx[","]=6;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$9=$recv($10).__comma("messageSends: ");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx[","]=5;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($8)._nextPutAll_($9);
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=4;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$14=$recv($recv(aMethod)._messageSends())._asArray();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["asArray"]=1;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$13=$recv($14)._asJavaScriptSource();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["asJavaScriptSource"]=3;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$12=$recv($13).__comma(",");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx[","]=7;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($8)._nextPutAll_($12);
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=5;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($8)._lf();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["lf"]=5;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$17=$recv($recv($recv($recv(aMethod)._arguments())._collect_((function(each){
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx2) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-return $recv(each)._value();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,1)});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-})))._asArray())._asJavaScriptSource();
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["asJavaScriptSource"]=4;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$16="args: ".__comma($17);
|
|
|
-$15=$recv($16).__comma(",");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx[","]=8;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($8)._nextPutAll_($15);
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=6;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($8)._lf();
|
|
|
-$recv($8)._nextPutAll_("referencedClasses: [");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=7;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($recv(aMethod)._classReferences())._do_separatedBy_((function(each){
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx2) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-return $recv($self.stream)._nextPutAll_($recv(each)._asJavaScriptSource());
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx2.sendIdx["nextPutAll:"]=8;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1,2)});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-}),(function(){
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-return $core.withContext(function($ctx2) {
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-return $recv($self.stream)._nextPutAll_(",");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx2.sendIdx["nextPutAll:"]=9;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx2) {$ctx2.fillBlock({},$ctx1,3)});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-}));
|
|
|
-$18=$self.stream;
|
|
|
-$recv($18)._nextPutAll_("]");
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-$ctx1.sendIdx["nextPutAll:"]=10;
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-$recv($18)._nextPutAll_("})");
|
|
|
-return self;
|
|
|
-//>>excludeStart("ctx", pragmas.excludeDebugContexts);
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"nextPutMethodDeclaration:with:",{aMethod:aMethod,aBlock:aBlock})});
|
|
|
-//>>excludeEnd("ctx");
|
|
|
-}; }),
|
|
|
-$globals.JSStream);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "nextPutNonLocalReturnHandlingWith:",
|