|
@@ -1183,7 +1183,7 @@ $recv(self._sortedImportsAsArray())._do_separatedBy_((function(each){
|
|
|
|
|
|
return $core.withContext(function($ctx3) {
|
|
|
|
|
|
-return $recv(stream)._nextPutAll_($recv(each)._importsString());
|
|
|
+return $recv(stream)._nextPutAll_($recv(each)._printString());
|
|
|
|
|
|
$ctx3.sendIdx["nextPutAll:"]=2;
|
|
|
|
|
@@ -1213,10 +1213,10 @@ return $recv(stream)._nextPutAll_("}");
|
|
|
},
|
|
|
|
|
|
args: [],
|
|
|
-source: "importsDefinition\x0a\x09^ String streamContents: [ :stream |\x0a\x09\x09stream nextPutAll: '{'.\x0a\x09\x09self sortedImportsAsArray\x0a\x09\x09\x09do: [ :each | stream nextPutAll: each importsString ]\x0a\x09\x09\x09separatedBy: [ stream nextPutAll: '. ' ].\x0a\x09\x09stream nextPutAll: '}' ]",
|
|
|
+source: "importsDefinition\x0a\x09^ String streamContents: [ :stream |\x0a\x09\x09stream nextPutAll: '{'.\x0a\x09\x09self sortedImportsAsArray\x0a\x09\x09\x09do: [ :each | stream nextPutAll: each printString ]\x0a\x09\x09\x09separatedBy: [ stream nextPutAll: '. ' ].\x0a\x09\x09stream nextPutAll: '}' ]",
|
|
|
referencedClasses: ["String"],
|
|
|
|
|
|
-messageSends: ["streamContents:", "nextPutAll:", "do:separatedBy:", "sortedImportsAsArray", "importsString"]
|
|
|
+messageSends: ["streamContents:", "nextPutAll:", "do:separatedBy:", "sortedImportsAsArray", "printString"]
|
|
|
}),
|
|
|
$globals.Package);
|
|
|
|
|
@@ -3426,39 +3426,6 @@ messageSends: ["shouldNotImplement"]
|
|
|
}),
|
|
|
$globals.SmalltalkImage.klass);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "importsString",
|
|
|
-protocol: '*Kernel-Infrastructure',
|
|
|
-fn: function (){
|
|
|
-var self=this;
|
|
|
-
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-
|
|
|
-var $3,$2,$1;
|
|
|
-$3=$recv(self._key())._importsString();
|
|
|
-
|
|
|
-$ctx1.sendIdx["importsString"]=1;
|
|
|
-
|
|
|
-$2=$recv($3).__comma(" -> ");
|
|
|
-$1=$recv($2).__comma($recv(self._value())._importsString());
|
|
|
-
|
|
|
-$ctx1.sendIdx[","]=1;
|
|
|
-
|
|
|
-return $1;
|
|
|
-
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"importsString",{},$globals.Association)});
|
|
|
-
|
|
|
-},
|
|
|
-
|
|
|
-args: [],
|
|
|
-source: "importsString\x0a\x09\x22This is for use by package exporter.\x0a\x09It can fail for non-string keys and values.\x22\x0a\x0a\x09^ self key importsString, ' -> ', self value importsString",
|
|
|
-referencedClasses: [],
|
|
|
-
|
|
|
-messageSends: [",", "importsString", "key", "value"]
|
|
|
-}),
|
|
|
-$globals.Association);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "asJavaScriptPropertyName",
|
|
@@ -3529,34 +3496,6 @@ messageSends: ["at:ifAbsent:"]
|
|
|
}),
|
|
|
$globals.String);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "importsString",
|
|
|
-protocol: '*Kernel-Infrastructure',
|
|
|
-fn: function (){
|
|
|
-var self=this;
|
|
|
-
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-
|
|
|
-var $1;
|
|
|
-$1=$recv("'".__comma(self._replace_with_("'","''"))).__comma("'");
|
|
|
-
|
|
|
-$ctx1.sendIdx[","]=1;
|
|
|
-
|
|
|
-return $1;
|
|
|
-
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"importsString",{},$globals.String)});
|
|
|
-
|
|
|
-},
|
|
|
-
|
|
|
-args: [],
|
|
|
-source: "importsString\x0a\x09\x22Answer receiver as Smalltalk expression\x22\x0a\x09^ '''', (self replace: '''' with: ''''''), ''''",
|
|
|
-referencedClasses: [],
|
|
|
-
|
|
|
-messageSends: [",", "replace:with:"]
|
|
|
-}),
|
|
|
-$globals.String);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "settingValue",
|