|
@@ -6805,20 +6805,23 @@ return smalltalk.withContext(function($ctx1) {
|
|
|
var $1,$2;
|
|
|
variables=_st($Dictionary())._new();
|
|
|
_st(variables)._at_put_("#self",self);
|
|
|
-self._withIndexDo_((function(each,i){
|
|
|
-return smalltalk.withContext(function($ctx2) {
|
|
|
-return _st(variables)._at_put_(i,each);
|
|
|
-}, function($ctx2) {$ctx2.fillBlock({each:each,i:i},$ctx1)})}));
|
|
|
+_st(variables)._at_put_("#year",self._year());
|
|
|
+_st(variables)._at_put_("#month",self._month());
|
|
|
+_st(variables)._at_put_("#day",self._day());
|
|
|
+_st(variables)._at_put_("#hours",self._hours());
|
|
|
+_st(variables)._at_put_("#minutes",self._minutes());
|
|
|
+_st(variables)._at_put_("#seconds",self._seconds());
|
|
|
+_st(variables)._at_put_("#milliseconds",self._milliseconds());
|
|
|
$1=anInspector;
|
|
|
_st($1)._setLabel_(self._printString());
|
|
|
$2=_st($1)._setVariables_(variables);
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.Collection)})},
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.Date)})},
|
|
|
args: ["anInspector"],
|
|
|
-source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09self withIndexDo: [:each :i |\x0a\x09\x09variables at: i put: each].\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
-messageSends: ["new", "at:put:", "withIndexDo:", "setLabel:", "printString", "setVariables:"],
|
|
|
+source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09variables at: '#year' put: self year.\x0a\x09variables at: '#month' put: self month.\x0a\x09variables at: '#day' put: self day.\x0a\x09variables at: '#hours' put: self hours.\x0a\x09variables at: '#minutes' put: self minutes.\x0a\x09variables at: '#seconds' put: self seconds.\x0a\x09variables at: '#milliseconds' put: self milliseconds.\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
+messageSends: ["new", "at:put:", "year", "month", "day", "hours", "minutes", "seconds", "milliseconds", "setLabel:", "printString", "setVariables:"],
|
|
|
referencedClasses: ["Dictionary"]
|
|
|
}),
|
|
|
-smalltalk.Collection);
|
|
|
+smalltalk.Date);
|
|
|
|
|
|
smalltalk.addMethod(
|
|
|
smalltalk.method({
|
|
@@ -6832,21 +6835,20 @@ return smalltalk.withContext(function($ctx1) {
|
|
|
var $1,$2;
|
|
|
variables=_st($Dictionary())._new();
|
|
|
_st(variables)._at_put_("#self",self);
|
|
|
-_st(variables)._at_put_("#keys",self._keys());
|
|
|
-self._keysAndValuesDo_((function(key,value){
|
|
|
+self._withIndexDo_((function(each,i){
|
|
|
return smalltalk.withContext(function($ctx2) {
|
|
|
-return _st(variables)._at_put_(key,value);
|
|
|
-}, function($ctx2) {$ctx2.fillBlock({key:key,value:value},$ctx1)})}));
|
|
|
+return _st(variables)._at_put_(i,each);
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({each:each,i:i},$ctx1)})}));
|
|
|
$1=anInspector;
|
|
|
_st($1)._setLabel_(self._printString());
|
|
|
$2=_st($1)._setVariables_(variables);
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.HashedCollection)})},
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.Collection)})},
|
|
|
args: ["anInspector"],
|
|
|
-source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09variables at: '#keys' put: self keys.\x0a\x09self keysAndValuesDo: [:key :value |\x0a\x09\x09variables at: key put: value].\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
-messageSends: ["new", "at:put:", "keys", "keysAndValuesDo:", "setLabel:", "printString", "setVariables:"],
|
|
|
+source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09self withIndexDo: [:each :i |\x0a\x09\x09variables at: i put: each].\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
+messageSends: ["new", "at:put:", "withIndexDo:", "setLabel:", "printString", "setVariables:"],
|
|
|
referencedClasses: ["Dictionary"]
|
|
|
}),
|
|
|
-smalltalk.HashedCollection);
|
|
|
+smalltalk.Collection);
|
|
|
|
|
|
smalltalk.addMethod(
|
|
|
smalltalk.method({
|
|
@@ -6887,20 +6889,24 @@ return smalltalk.withContext(function($ctx1) {
|
|
|
var $1,$2;
|
|
|
variables=_st($Dictionary())._new();
|
|
|
_st(variables)._at_put_("#self",self);
|
|
|
-_st(self["@elements"])._withIndexDo_((function(each,i){
|
|
|
+_st(variables)._at_put_("#home",self._home());
|
|
|
+_st(variables)._at_put_("#receiver",self._receiver());
|
|
|
+_st(variables)._at_put_("#selector",self._selector());
|
|
|
+_st(variables)._at_put_("#temps",self._temps());
|
|
|
+_st(_st(self._class())._instanceVariableNames())._do_((function(each){
|
|
|
return smalltalk.withContext(function($ctx2) {
|
|
|
-return _st(variables)._at_put_(i,each);
|
|
|
-}, function($ctx2) {$ctx2.fillBlock({each:each,i:i},$ctx1)})}));
|
|
|
+return _st(variables)._at_put_(each,self._instVarAt_(each));
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1)})}));
|
|
|
$1=anInspector;
|
|
|
_st($1)._setLabel_(self._printString());
|
|
|
$2=_st($1)._setVariables_(variables);
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.Set)})},
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.MethodContext)})},
|
|
|
args: ["anInspector"],
|
|
|
-source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09elements withIndexDo: [:each :i |\x0a\x09\x09variables at: i put: each].\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
-messageSends: ["new", "at:put:", "withIndexDo:", "setLabel:", "printString", "setVariables:"],
|
|
|
+source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09variables at: '#home' put: self home.\x0a\x09variables at: '#receiver' put: self receiver.\x0a\x09variables at: '#selector' put: self selector.\x0a\x09variables at: '#temps' put: self temps.\x0a\x09self class instanceVariableNames do: [:each |\x0a\x09\x09variables at: each put: (self instVarAt: each)].\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
+messageSends: ["new", "at:put:", "home", "receiver", "selector", "temps", "do:", "instVarAt:", "instanceVariableNames", "class", "setLabel:", "printString", "setVariables:"],
|
|
|
referencedClasses: ["Dictionary"]
|
|
|
}),
|
|
|
-smalltalk.Set);
|
|
|
+smalltalk.MethodContext);
|
|
|
|
|
|
smalltalk.addMethod(
|
|
|
smalltalk.method({
|
|
@@ -6914,23 +6920,21 @@ return smalltalk.withContext(function($ctx1) {
|
|
|
var $1,$2;
|
|
|
variables=_st($Dictionary())._new();
|
|
|
_st(variables)._at_put_("#self",self);
|
|
|
-_st(variables)._at_put_("#year",self._year());
|
|
|
-_st(variables)._at_put_("#month",self._month());
|
|
|
-_st(variables)._at_put_("#day",self._day());
|
|
|
-_st(variables)._at_put_("#hours",self._hours());
|
|
|
-_st(variables)._at_put_("#minutes",self._minutes());
|
|
|
-_st(variables)._at_put_("#seconds",self._seconds());
|
|
|
-_st(variables)._at_put_("#milliseconds",self._milliseconds());
|
|
|
+_st(variables)._at_put_("#keys",self._keys());
|
|
|
+self._keysAndValuesDo_((function(key,value){
|
|
|
+return smalltalk.withContext(function($ctx2) {
|
|
|
+return _st(variables)._at_put_(key,value);
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({key:key,value:value},$ctx1)})}));
|
|
|
$1=anInspector;
|
|
|
_st($1)._setLabel_(self._printString());
|
|
|
$2=_st($1)._setVariables_(variables);
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.Date)})},
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.HashedCollection)})},
|
|
|
args: ["anInspector"],
|
|
|
-source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09variables at: '#year' put: self year.\x0a\x09variables at: '#month' put: self month.\x0a\x09variables at: '#day' put: self day.\x0a\x09variables at: '#hours' put: self hours.\x0a\x09variables at: '#minutes' put: self minutes.\x0a\x09variables at: '#seconds' put: self seconds.\x0a\x09variables at: '#milliseconds' put: self milliseconds.\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
-messageSends: ["new", "at:put:", "year", "month", "day", "hours", "minutes", "seconds", "milliseconds", "setLabel:", "printString", "setVariables:"],
|
|
|
+source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09variables at: '#keys' put: self keys.\x0a\x09self keysAndValuesDo: [:key :value |\x0a\x09\x09variables at: key put: value].\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
+messageSends: ["new", "at:put:", "keys", "keysAndValuesDo:", "setLabel:", "printString", "setVariables:"],
|
|
|
referencedClasses: ["Dictionary"]
|
|
|
}),
|
|
|
-smalltalk.Date);
|
|
|
+smalltalk.HashedCollection);
|
|
|
|
|
|
smalltalk.addMethod(
|
|
|
smalltalk.method({
|
|
@@ -6944,23 +6948,19 @@ return smalltalk.withContext(function($ctx1) {
|
|
|
var $1,$2;
|
|
|
variables=_st($Dictionary())._new();
|
|
|
_st(variables)._at_put_("#self",self);
|
|
|
-_st(variables)._at_put_("#home",self._home());
|
|
|
-_st(variables)._at_put_("#receiver",self._receiver());
|
|
|
-_st(variables)._at_put_("#selector",self._selector());
|
|
|
-_st(variables)._at_put_("#temps",self._temps());
|
|
|
-_st(_st(self._class())._instanceVariableNames())._do_((function(each){
|
|
|
+_st(self["@elements"])._withIndexDo_((function(each,i){
|
|
|
return smalltalk.withContext(function($ctx2) {
|
|
|
-return _st(variables)._at_put_(each,self._instVarAt_(each));
|
|
|
-}, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1)})}));
|
|
|
+return _st(variables)._at_put_(i,each);
|
|
|
+}, function($ctx2) {$ctx2.fillBlock({each:each,i:i},$ctx1)})}));
|
|
|
$1=anInspector;
|
|
|
_st($1)._setLabel_(self._printString());
|
|
|
$2=_st($1)._setVariables_(variables);
|
|
|
-return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.MethodContext)})},
|
|
|
+return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.Set)})},
|
|
|
args: ["anInspector"],
|
|
|
-source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09variables at: '#home' put: self home.\x0a\x09variables at: '#receiver' put: self receiver.\x0a\x09variables at: '#selector' put: self selector.\x0a\x09variables at: '#temps' put: self temps.\x0a\x09self class instanceVariableNames do: [:each |\x0a\x09\x09variables at: each put: (self instVarAt: each)].\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
-messageSends: ["new", "at:put:", "home", "receiver", "selector", "temps", "do:", "instVarAt:", "instanceVariableNames", "class", "setLabel:", "printString", "setVariables:"],
|
|
|
+source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09elements withIndexDo: [:each :i |\x0a\x09\x09variables at: i put: each].\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
+messageSends: ["new", "at:put:", "withIndexDo:", "setLabel:", "printString", "setVariables:"],
|
|
|
referencedClasses: ["Dictionary"]
|
|
|
}),
|
|
|
-smalltalk.MethodContext);
|
|
|
+smalltalk.Set);
|
|
|
|
|
|
});
|