|
@@ -17,7 +17,7 @@ $1=_st($Association())._key_value_(self,anObject);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"->",{anObject:anObject},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"->",{anObject:anObject},smalltalk.Object)})},
|
|
args: ["anObject"],
|
|
args: ["anObject"],
|
|
-source: "-> anObject\x0a\x09^Association key: self value: anObject",
|
|
|
|
|
|
+source: "-> anObject\x0a\x09^ Association key: self value: anObject",
|
|
messageSends: ["key:value:"],
|
|
messageSends: ["key:value:"],
|
|
referencedClasses: ["Association"]
|
|
referencedClasses: ["Association"]
|
|
}),
|
|
}),
|
|
@@ -35,7 +35,7 @@ $1=self.__eq_eq(anObject);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"=",{anObject:anObject},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"=",{anObject:anObject},smalltalk.Object)})},
|
|
args: ["anObject"],
|
|
args: ["anObject"],
|
|
-source: "= anObject\x0a\x09^self == anObject",
|
|
|
|
|
|
+source: "= anObject\x0a\x09^ self == anObject",
|
|
messageSends: ["=="],
|
|
messageSends: ["=="],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -55,7 +55,7 @@ $1=_st($2).__eq(_st(anObject)._identityHash());
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"==",{anObject:anObject},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"==",{anObject:anObject},smalltalk.Object)})},
|
|
args: ["anObject"],
|
|
args: ["anObject"],
|
|
-source: "== anObject\x0a\x09^self identityHash = anObject identityHash",
|
|
|
|
|
|
+source: "== anObject\x0a\x09^ self identityHash = anObject identityHash",
|
|
messageSends: ["=", "identityHash"],
|
|
messageSends: ["=", "identityHash"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -80,7 +80,7 @@ $1=variables;
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"asJSON",{variables:variables},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asJSON",{variables:variables},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asJSON\x0a\x09| variables |\x0a\x09variables := HashedCollection new.\x0a\x09self class allInstanceVariableNames do: [:each |\x0a\x09\x09variables at: each put: (self instVarAt: each) asJSON].\x0a\x09^variables",
|
|
|
|
|
|
+source: "asJSON\x0a\x09| variables |\x0a\x09variables := HashedCollection new.\x0a\x09self class allInstanceVariableNames do: [ :each |\x0a\x09\x09variables at: each put: (self instVarAt: each) asJSON ].\x0a\x09^ variables",
|
|
messageSends: ["new", "do:", "allInstanceVariableNames", "class", "at:put:", "asJSON", "instVarAt:"],
|
|
messageSends: ["new", "do:", "allInstanceVariableNames", "class", "at:put:", "asJSON", "instVarAt:"],
|
|
referencedClasses: ["HashedCollection"]
|
|
referencedClasses: ["HashedCollection"]
|
|
}),
|
|
}),
|
|
@@ -99,7 +99,7 @@ $1=_st($JSON())._stringify_(self._asJSON());
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"asJSONString",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asJSONString",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asJSONString\x0a\x09^JSON stringify: self asJSON",
|
|
|
|
|
|
+source: "asJSONString\x0a\x09^ JSON stringify: self asJSON",
|
|
messageSends: ["stringify:", "asJSON"],
|
|
messageSends: ["stringify:", "asJSON"],
|
|
referencedClasses: ["JSON"]
|
|
referencedClasses: ["JSON"]
|
|
}),
|
|
}),
|
|
@@ -117,7 +117,7 @@ $1=self._asString();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"asJavascript",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asJavascript",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asJavascript\x0a\x09^self asString",
|
|
|
|
|
|
+source: "asJavascript\x0a\x09^ self asString",
|
|
messageSends: ["asString"],
|
|
messageSends: ["asString"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -135,7 +135,7 @@ $1=self._printString();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"asString",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asString",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asString\x0a\x09^self printString",
|
|
|
|
|
|
+source: "asString\x0a\x09^ self printString",
|
|
messageSends: ["printString"],
|
|
messageSends: ["printString"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -201,7 +201,7 @@ $1=self._basicPerform_withArguments_(aString,[]);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"basicPerform:",{aString:aString},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"basicPerform:",{aString:aString},smalltalk.Object)})},
|
|
args: ["aString"],
|
|
args: ["aString"],
|
|
-source: "basicPerform: aString\x0a\x09^self basicPerform: aString withArguments: #()",
|
|
|
|
|
|
+source: "basicPerform: aString\x0a\x09^ self basicPerform: aString withArguments: #()",
|
|
messageSends: ["basicPerform:withArguments:"],
|
|
messageSends: ["basicPerform:withArguments:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -251,7 +251,7 @@ $1=_st(self._shallowCopy())._postCopy();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"copy",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"copy",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "copy\x0a\x09^self shallowCopy postCopy",
|
|
|
|
|
|
+source: "copy\x0a\x09^ self shallowCopy postCopy",
|
|
messageSends: ["postCopy", "shallowCopy"],
|
|
messageSends: ["postCopy", "shallowCopy"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -397,7 +397,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNil:",{aBlock:aBlock},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNil:",{aBlock:aBlock},smalltalk.Object)})},
|
|
args: ["aBlock"],
|
|
args: ["aBlock"],
|
|
-source: "ifNil: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^self",
|
|
|
|
|
|
+source: "ifNil: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -415,7 +415,7 @@ $1=_st(anotherBlock)._value_(self);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNil:ifNotNil:",{aBlock:aBlock,anotherBlock:anotherBlock},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNil:ifNotNil:",{aBlock:aBlock,anotherBlock:anotherBlock},smalltalk.Object)})},
|
|
args: ["aBlock", "anotherBlock"],
|
|
args: ["aBlock", "anotherBlock"],
|
|
-source: "ifNil: aBlock ifNotNil: anotherBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^anotherBlock value: self",
|
|
|
|
|
|
+source: "ifNil: aBlock ifNotNil: anotherBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ anotherBlock value: self",
|
|
messageSends: ["value:"],
|
|
messageSends: ["value:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -433,7 +433,7 @@ $1=_st(aBlock)._value_(self);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNotNil:",{aBlock:aBlock},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNotNil:",{aBlock:aBlock},smalltalk.Object)})},
|
|
args: ["aBlock"],
|
|
args: ["aBlock"],
|
|
-source: "ifNotNil: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^aBlock value: self",
|
|
|
|
|
|
+source: "ifNotNil: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ aBlock value: self",
|
|
messageSends: ["value:"],
|
|
messageSends: ["value:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -451,7 +451,7 @@ $1=_st(aBlock)._value_(self);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNotNil:ifNil:",{aBlock:aBlock,anotherBlock:anotherBlock},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNotNil:ifNil:",{aBlock:aBlock,anotherBlock:anotherBlock},smalltalk.Object)})},
|
|
args: ["aBlock", "anotherBlock"],
|
|
args: ["aBlock", "anotherBlock"],
|
|
-source: "ifNotNil: aBlock ifNil: anotherBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^aBlock value: self",
|
|
|
|
|
|
+source: "ifNotNil: aBlock ifNil: anotherBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ aBlock value: self",
|
|
messageSends: ["value:"],
|
|
messageSends: ["value:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -510,7 +510,7 @@ _st(anInspector)._setLabel_(self._printString());
|
|
$1=_st(anInspector)._setVariables_(variables);
|
|
$1=_st(anInspector)._setVariables_(variables);
|
|
return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.Object)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"inspectOn:",{anInspector:anInspector,variables:variables},smalltalk.Object)})},
|
|
args: ["anInspector"],
|
|
args: ["anInspector"],
|
|
-source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09self class allInstanceVariableNames do: [:each |\x0a\x09\x09variables at: each put: (self instVarAt: each)].\x0a\x09anInspector\x0a\x09\x09setLabel: self printString;\x0a\x09\x09setVariables: variables",
|
|
|
|
|
|
+source: "inspectOn: anInspector\x0a\x09| variables |\x0a\x09variables := Dictionary new.\x0a\x09variables at: '#self' put: self.\x0a\x09self class allInstanceVariableNames 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:", "do:", "allInstanceVariableNames", "class", "instVarAt:", "setLabel:", "printString", "setVariables:"],
|
|
messageSends: ["new", "at:put:", "do:", "allInstanceVariableNames", "class", "instVarAt:", "setLabel:", "printString", "setVariables:"],
|
|
referencedClasses: ["Dictionary"]
|
|
referencedClasses: ["Dictionary"]
|
|
}),
|
|
}),
|
|
@@ -590,7 +590,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return false;
|
|
return false;
|
|
}, function($ctx1) {$ctx1.fill(self,"isClass",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isClass",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "isClass\x0a\x09^false",
|
|
|
|
|
|
+source: "isClass\x0a\x09^ false",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -645,7 +645,7 @@ $1=_st(self._class())._inheritsFrom_(aClass);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"isKindOf:",{aClass:aClass},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isKindOf:",{aClass:aClass},smalltalk.Object)})},
|
|
args: ["aClass"],
|
|
args: ["aClass"],
|
|
-source: "isKindOf: aClass\x0a\x09^(self isMemberOf: aClass)\x0a\x09\x09ifTrue: [true]\x0a\x09\x09ifFalse: [self class inheritsFrom: aClass]",
|
|
|
|
|
|
+source: "isKindOf: aClass\x0a\x09^ (self isMemberOf: aClass)\x0a\x09\x09ifTrue: [ true ]\x0a\x09\x09ifFalse: [ self class inheritsFrom: aClass ]",
|
|
messageSends: ["ifTrue:ifFalse:", "isMemberOf:", "inheritsFrom:", "class"],
|
|
messageSends: ["ifTrue:ifFalse:", "isMemberOf:", "inheritsFrom:", "class"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -663,7 +663,7 @@ $1=_st(self._class()).__eq(aClass);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"isMemberOf:",{aClass:aClass},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isMemberOf:",{aClass:aClass},smalltalk.Object)})},
|
|
args: ["aClass"],
|
|
args: ["aClass"],
|
|
-source: "isMemberOf: aClass\x0a\x09^self class = aClass",
|
|
|
|
|
|
+source: "isMemberOf: aClass\x0a\x09^ self class = aClass",
|
|
messageSends: ["=", "class"],
|
|
messageSends: ["=", "class"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -679,7 +679,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return false;
|
|
return false;
|
|
}, function($ctx1) {$ctx1.fill(self,"isMetaclass",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isMetaclass",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "isMetaclass\x0a\x09^false",
|
|
|
|
|
|
+source: "isMetaclass\x0a\x09^ false",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -695,7 +695,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return false;
|
|
return false;
|
|
}, function($ctx1) {$ctx1.fill(self,"isNil",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isNil",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "isNil\x0a\x09^false",
|
|
|
|
|
|
+source: "isNil\x0a\x09^ false",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -711,7 +711,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return false;
|
|
return false;
|
|
}, function($ctx1) {$ctx1.fill(self,"isNumber",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isNumber",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "isNumber\x0a\x09^false",
|
|
|
|
|
|
+source: "isNumber\x0a\x09^ false",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -743,7 +743,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return false;
|
|
return false;
|
|
}, function($ctx1) {$ctx1.fill(self,"isParseFailure",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isParseFailure",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "isParseFailure\x0a\x09^false",
|
|
|
|
|
|
+source: "isParseFailure\x0a\x09^ false",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -759,7 +759,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return false;
|
|
return false;
|
|
}, function($ctx1) {$ctx1.fill(self,"isString",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isString",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "isString\x0a\x09^false",
|
|
|
|
|
|
+source: "isString\x0a\x09^ false",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -775,7 +775,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return false;
|
|
return false;
|
|
}, function($ctx1) {$ctx1.fill(self,"isSymbol",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isSymbol",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "isSymbol\x0a\x09^false",
|
|
|
|
|
|
+source: "isSymbol\x0a\x09^ false",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -793,7 +793,7 @@ $1=_st(self._isNil())._not();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"notNil",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"notNil",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "notNil\x0a\x09^self isNil not",
|
|
|
|
|
|
+source: "notNil\x0a\x09^ self isNil not",
|
|
messageSends: ["not", "isNil"],
|
|
messageSends: ["not", "isNil"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -811,7 +811,7 @@ $1=self._perform_withArguments_(aString,[]);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"perform:",{aString:aString},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"perform:",{aString:aString},smalltalk.Object)})},
|
|
args: ["aString"],
|
|
args: ["aString"],
|
|
-source: "perform: aString\x0a\x09^self perform: aString withArguments: #()",
|
|
|
|
|
|
+source: "perform: aString\x0a\x09^ self perform: aString withArguments: #()",
|
|
messageSends: ["perform:withArguments:"],
|
|
messageSends: ["perform:withArguments:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -928,7 +928,7 @@ $1=_st(self._class())._canUnderstand_(aSelector);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"respondsTo:",{aSelector:aSelector},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"respondsTo:",{aSelector:aSelector},smalltalk.Object)})},
|
|
args: ["aSelector"],
|
|
args: ["aSelector"],
|
|
-source: "respondsTo: aSelector\x0a\x09^self class canUnderstand: aSelector",
|
|
|
|
|
|
+source: "respondsTo: aSelector\x0a\x09^ self class canUnderstand: aSelector",
|
|
messageSends: ["canUnderstand:", "class"],
|
|
messageSends: ["canUnderstand:", "class"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1082,7 +1082,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"yourself",{},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"yourself",{},smalltalk.Object)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "yourself\x0a\x09^self",
|
|
|
|
|
|
+source: "yourself\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1101,7 +1101,7 @@ $ctx1.sendIdx["="]=1;
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"~=",{anObject:anObject},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"~=",{anObject:anObject},smalltalk.Object)})},
|
|
args: ["anObject"],
|
|
args: ["anObject"],
|
|
-source: "~= anObject\x0a\x09^(self = anObject) = false",
|
|
|
|
|
|
+source: "~= anObject\x0a\x09^ (self = anObject) = false",
|
|
messageSends: ["="],
|
|
messageSends: ["="],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1119,7 +1119,7 @@ $1=_st(self.__eq_eq(anObject)).__eq(false);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"~~",{anObject:anObject},smalltalk.Object)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"~~",{anObject:anObject},smalltalk.Object)})},
|
|
args: ["anObject"],
|
|
args: ["anObject"],
|
|
-source: "~~ anObject\x0a\x09^(self == anObject) = false",
|
|
|
|
|
|
+source: "~~ anObject\x0a\x09^ (self == anObject) = false",
|
|
messageSends: ["=", "=="],
|
|
messageSends: ["=", "=="],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1215,7 +1215,7 @@ $1=self.__eq(aBoolean);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"==",{aBoolean:aBoolean},smalltalk.Boolean)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"==",{aBoolean:aBoolean},smalltalk.Boolean)})},
|
|
args: ["aBoolean"],
|
|
args: ["aBoolean"],
|
|
-source: "== aBoolean\x0a\x09^self = aBoolean",
|
|
|
|
|
|
+source: "== aBoolean\x0a\x09^ self = aBoolean",
|
|
messageSends: ["="],
|
|
messageSends: ["="],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1237,7 +1237,7 @@ return false;
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"and:",{aBlock:aBlock},smalltalk.Boolean)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"and:",{aBlock:aBlock},smalltalk.Boolean)})},
|
|
args: ["aBlock"],
|
|
args: ["aBlock"],
|
|
-source: "and: aBlock\x0a\x09^self = true\x0a\x09\x09ifTrue: aBlock\x0a\x09\x09ifFalse: [false]",
|
|
|
|
|
|
+source: "and: aBlock\x0a\x09^ self = true\x0a\x09\x09ifTrue: aBlock\x0a\x09\x09ifFalse: [ false ]",
|
|
messageSends: ["ifTrue:ifFalse:", "="],
|
|
messageSends: ["ifTrue:ifFalse:", "="],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1275,7 +1275,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"asJSON",{},smalltalk.Boolean)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asJSON",{},smalltalk.Boolean)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asJSON\x0a\x09^self",
|
|
|
|
|
|
+source: "asJSON\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1307,7 +1307,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"deepCopy",{},smalltalk.Boolean)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"deepCopy",{},smalltalk.Boolean)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "deepCopy\x0a\x09^self",
|
|
|
|
|
|
+source: "deepCopy\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1327,7 +1327,7 @@ return smalltalk.withContext(function($ctx2) {
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifFalse:",{aBlock:aBlock},smalltalk.Boolean)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifFalse:",{aBlock:aBlock},smalltalk.Boolean)})},
|
|
args: ["aBlock"],
|
|
args: ["aBlock"],
|
|
-source: "ifFalse: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^self ifTrue: [] ifFalse: aBlock",
|
|
|
|
|
|
+source: "ifFalse: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ self ifTrue: [] ifFalse: aBlock",
|
|
messageSends: ["ifTrue:ifFalse:"],
|
|
messageSends: ["ifTrue:ifFalse:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1345,7 +1345,7 @@ $1=self._ifTrue_ifFalse_(anotherBlock,aBlock);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifFalse:ifTrue:",{aBlock:aBlock,anotherBlock:anotherBlock},smalltalk.Boolean)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifFalse:ifTrue:",{aBlock:aBlock,anotherBlock:anotherBlock},smalltalk.Boolean)})},
|
|
args: ["aBlock", "anotherBlock"],
|
|
args: ["aBlock", "anotherBlock"],
|
|
-source: "ifFalse: aBlock ifTrue: anotherBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^self ifTrue: anotherBlock ifFalse: aBlock",
|
|
|
|
|
|
+source: "ifFalse: aBlock ifTrue: anotherBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ self ifTrue: anotherBlock ifFalse: aBlock",
|
|
messageSends: ["ifTrue:ifFalse:"],
|
|
messageSends: ["ifTrue:ifFalse:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1365,7 +1365,7 @@ return smalltalk.withContext(function($ctx2) {
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifTrue:",{aBlock:aBlock},smalltalk.Boolean)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifTrue:",{aBlock:aBlock},smalltalk.Boolean)})},
|
|
args: ["aBlock"],
|
|
args: ["aBlock"],
|
|
-source: "ifTrue: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^self ifTrue: aBlock ifFalse: []",
|
|
|
|
|
|
+source: "ifTrue: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ self ifTrue: aBlock ifFalse: []",
|
|
messageSends: ["ifTrue:ifFalse:"],
|
|
messageSends: ["ifTrue:ifFalse:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1437,7 +1437,7 @@ $1=self.__eq(false);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"not",{},smalltalk.Boolean)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"not",{},smalltalk.Boolean)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "not\x0a\x09^self = false",
|
|
|
|
|
|
+source: "not\x0a\x09^ self = false",
|
|
messageSends: ["="],
|
|
messageSends: ["="],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1459,7 +1459,7 @@ return true;
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"or:",{aBlock:aBlock},smalltalk.Boolean)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"or:",{aBlock:aBlock},smalltalk.Boolean)})},
|
|
args: ["aBlock"],
|
|
args: ["aBlock"],
|
|
-source: "or: aBlock\x0a\x09^self = true\x0a\x09\x09ifTrue: [true]\x0a\x09\x09ifFalse: aBlock",
|
|
|
|
|
|
+source: "or: aBlock\x0a\x09^ self = true\x0a\x09\x09ifTrue: [ true ]\x0a\x09\x09ifFalse: aBlock",
|
|
messageSends: ["ifTrue:ifFalse:", "="],
|
|
messageSends: ["ifTrue:ifFalse:", "="],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1491,7 +1491,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"shallowCopy",{},smalltalk.Boolean)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"shallowCopy",{},smalltalk.Boolean)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "shallowCopy\x0a\x09^self",
|
|
|
|
|
|
+source: "shallowCopy\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1663,7 +1663,7 @@ $1=self._time();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"asMilliseconds",{},smalltalk.Date)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asMilliseconds",{},smalltalk.Date)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asMilliseconds\x0a\x09^self time",
|
|
|
|
|
|
+source: "asMilliseconds\x0a\x09^ self time",
|
|
messageSends: ["time"],
|
|
messageSends: ["time"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1681,7 +1681,7 @@ $1=self._asMilliseconds();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"asNumber",{},smalltalk.Date)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asNumber",{},smalltalk.Date)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asNumber\x0a\x09^self asMilliseconds",
|
|
|
|
|
|
+source: "asNumber\x0a\x09^ self asMilliseconds",
|
|
messageSends: ["asMilliseconds"],
|
|
messageSends: ["asMilliseconds"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -1731,7 +1731,7 @@ $1=self._dayOfWeek();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"day",{},smalltalk.Date)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"day",{},smalltalk.Date)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "day\x0a\x09^self dayOfWeek",
|
|
|
|
|
|
+source: "day\x0a\x09^ self dayOfWeek",
|
|
messageSends: ["dayOfWeek"],
|
|
messageSends: ["dayOfWeek"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2070,7 +2070,7 @@ $1=self._new_(aNumber);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"fromMilliseconds:",{aNumber:aNumber},smalltalk.Date.klass)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"fromMilliseconds:",{aNumber:aNumber},smalltalk.Date.klass)})},
|
|
args: ["aNumber"],
|
|
args: ["aNumber"],
|
|
-source: "fromMilliseconds: aNumber\x0a\x09^self new: aNumber",
|
|
|
|
|
|
+source: "fromMilliseconds: aNumber\x0a\x09^ self new: aNumber",
|
|
messageSends: ["new:"],
|
|
messageSends: ["new:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2088,7 +2088,7 @@ $1=self._fromMilliseconds_(_st(aNumber).__star((1000)));
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"fromSeconds:",{aNumber:aNumber},smalltalk.Date.klass)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"fromSeconds:",{aNumber:aNumber},smalltalk.Date.klass)})},
|
|
args: ["aNumber"],
|
|
args: ["aNumber"],
|
|
-source: "fromSeconds: aNumber\x0a\x09^self fromMilliseconds: aNumber * 1000",
|
|
|
|
|
|
+source: "fromSeconds: aNumber\x0a\x09^ self fromMilliseconds: aNumber * 1000",
|
|
messageSends: ["fromMilliseconds:", "*"],
|
|
messageSends: ["fromMilliseconds:", "*"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2106,7 +2106,7 @@ $1=self._new_(aString);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"fromString:",{aString:aString},smalltalk.Date.klass)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"fromString:",{aString:aString},smalltalk.Date.klass)})},
|
|
args: ["aString"],
|
|
args: ["aString"],
|
|
-source: "fromString: aString\x0a\x09\x22Example: Date fromString('2011/04/15 00:00:00')\x22\x0a\x09^self new: aString",
|
|
|
|
|
|
+source: "fromString: aString\x0a\x09\x22Example: Date fromString('2011/04/15 00:00:00')\x22\x0a\x09^ self new: aString",
|
|
messageSends: ["new:"],
|
|
messageSends: ["new:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2145,7 +2145,7 @@ $1=_st(_st($Date())._now()).__minus(t);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"millisecondsToRun:",{aBlock:aBlock,t:t},smalltalk.Date.klass)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"millisecondsToRun:",{aBlock:aBlock,t:t},smalltalk.Date.klass)})},
|
|
args: ["aBlock"],
|
|
args: ["aBlock"],
|
|
-source: "millisecondsToRun: aBlock\x0a\x09| t |\x0a\x09t := Date now.\x0a\x09aBlock value.\x0a\x09^Date now - t",
|
|
|
|
|
|
+source: "millisecondsToRun: aBlock\x0a\x09| t |\x0a\x09t := Date now.\x0a\x09aBlock value.\x0a\x09^ Date now - t",
|
|
messageSends: ["now", "value", "-"],
|
|
messageSends: ["now", "value", "-"],
|
|
referencedClasses: ["Date"]
|
|
referencedClasses: ["Date"]
|
|
}),
|
|
}),
|
|
@@ -2179,7 +2179,7 @@ $1=self._today();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"now",{},smalltalk.Date.klass)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"now",{},smalltalk.Date.klass)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "now\x0a\x09^self today",
|
|
|
|
|
|
+source: "now\x0a\x09^ self today",
|
|
messageSends: ["today"],
|
|
messageSends: ["today"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2197,7 +2197,7 @@ $1=self._new();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"today",{},smalltalk.Date.klass)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"today",{},smalltalk.Date.klass)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "today\x0a\x09^self new",
|
|
|
|
|
|
+source: "today\x0a\x09^ self new",
|
|
messageSends: ["new"],
|
|
messageSends: ["new"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2205,7 +2205,7 @@ smalltalk.Date.klass);
|
|
|
|
|
|
|
|
|
|
smalltalk.addClass('Number', smalltalk.Object, [], 'Kernel-Objects');
|
|
smalltalk.addClass('Number', smalltalk.Object, [], 'Kernel-Objects');
|
|
-smalltalk.Number.comment="I am the Amber representation for all numbers.\x0aI am directly mapped to JavaScript Number.\x0a\x0a## API\x0a\x0aI provide all necessary methods for arithmetic operations, comparison, conversion and so on with numbers.\x0a\x0aMy instances can also be used to evaluate a block a fixed number of times:\x0a\x0a\x095 timesRepeat: [Transcript show: 'This will be printed 5 times'; cr].\x0a\x09\x0a\x091 to: 5 do: [:aNumber| Transcript show: aNumber asString; cr].\x0a\x09\x0a\x091 to: 10 by: 2 do: [:aNumber| Transcript show: aNumber asString; cr].";
|
|
|
|
|
|
+smalltalk.Number.comment="I am the Amber representation for all numbers.\x0aI am directly mapped to JavaScript Number.\x0a\x0a## API\x0a\x0aI provide all necessary methods for arithmetic operations, comparison, conversion and so on with numbers.\x0a\x0aMy instances can also be used to evaluate a block a fixed number of times:\x0a\x0a\x095 timesRepeat: [ Transcript show: 'This will be printed 5 times'; cr ].\x0a\x09\x0a\x091 to: 5 do: [ :aNumber| Transcript show: aNumber asString; cr ].\x0a\x09\x0a\x091 to: 10 by: 2 do: [ :aNumber| Transcript show: aNumber asString; cr ].";
|
|
smalltalk.addMethod(
|
|
smalltalk.addMethod(
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: "&",
|
|
selector: "&",
|
|
@@ -2250,7 +2250,7 @@ $1=self._raisedTo_(exponent);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"**",{exponent:exponent},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"**",{exponent:exponent},smalltalk.Number)})},
|
|
args: ["exponent"],
|
|
args: ["exponent"],
|
|
-source: "** exponent\x0a\x09^self raisedTo: exponent",
|
|
|
|
|
|
+source: "** exponent\x0a\x09^ self raisedTo: exponent",
|
|
messageSends: ["raisedTo:"],
|
|
messageSends: ["raisedTo:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2316,7 +2316,7 @@ $1=_st(self.__slash(aNumber))._floor();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"//",{aNumber:aNumber},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"//",{aNumber:aNumber},smalltalk.Number)})},
|
|
args: ["aNumber"],
|
|
args: ["aNumber"],
|
|
-source: "// aNumber\x0a\x09^(self / aNumber) floor",
|
|
|
|
|
|
+source: "// aNumber\x0a\x09^ (self / aNumber) floor",
|
|
messageSends: ["floor", "/"],
|
|
messageSends: ["floor", "/"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2420,7 +2420,7 @@ $1=_st($Point())._x_y_(self,aNumber);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"@",{aNumber:aNumber},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"@",{aNumber:aNumber},smalltalk.Number)})},
|
|
args: ["aNumber"],
|
|
args: ["aNumber"],
|
|
-source: "@ aNumber\x0a\x09^Point x: self y: aNumber",
|
|
|
|
|
|
+source: "@ aNumber\x0a\x09^ Point x: self y: aNumber",
|
|
messageSends: ["x:y:"],
|
|
messageSends: ["x:y:"],
|
|
referencedClasses: ["Point"]
|
|
referencedClasses: ["Point"]
|
|
}),
|
|
}),
|
|
@@ -2516,7 +2516,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"asJSON",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asJSON",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asJSON\x0a\x09^self",
|
|
|
|
|
|
+source: "asJSON\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2535,7 +2535,7 @@ $ctx1.sendIdx[","]=1;
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"asJavascript",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asJavascript",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asJavascript\x0a\x09^'(', self printString, ')'",
|
|
|
|
|
|
+source: "asJavascript\x0a\x09^ '(', self printString, ')'",
|
|
messageSends: [",", "printString"],
|
|
messageSends: [",", "printString"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2570,7 +2570,7 @@ $1=_st($Point())._x_y_(self,self);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"asPoint",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asPoint",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asPoint\x0a\x09^Point x: self y: self",
|
|
|
|
|
|
+source: "asPoint\x0a\x09^ Point x: self y: self",
|
|
messageSends: ["x:y:"],
|
|
messageSends: ["x:y:"],
|
|
referencedClasses: ["Point"]
|
|
referencedClasses: ["Point"]
|
|
}),
|
|
}),
|
|
@@ -2605,7 +2605,7 @@ $1=_st(_st(_st(_st(_st($Random())._new())._next()).__star(self))._truncated())._
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"atRandom",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"atRandom",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "atRandom\x0a\x09^(Random new next * self) truncated + 1",
|
|
|
|
|
|
+source: "atRandom\x0a\x09^ (Random new next * self) truncated + 1",
|
|
messageSends: ["+", "truncated", "*", "next", "new"],
|
|
messageSends: ["+", "truncated", "*", "next", "new"],
|
|
referencedClasses: ["Random"]
|
|
referencedClasses: ["Random"]
|
|
}),
|
|
}),
|
|
@@ -2637,7 +2637,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"copy",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"copy",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "copy\x0a\x09^self",
|
|
|
|
|
|
+source: "copy\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2671,7 +2671,7 @@ $1=self._copy();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"deepCopy",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"deepCopy",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "deepCopy\x0a\x09^self copy",
|
|
|
|
|
|
+source: "deepCopy\x0a\x09^ self copy",
|
|
messageSends: ["copy"],
|
|
messageSends: ["copy"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2723,7 +2723,7 @@ $1=_st(self._asString()).__comma("n");
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"identityHash",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"identityHash",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "identityHash\x0a\x09^self asString, 'n'",
|
|
|
|
|
|
+source: "identityHash\x0a\x09^ self asString, 'n'",
|
|
messageSends: [",", "asString"],
|
|
messageSends: [",", "asString"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2755,7 +2755,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return true;
|
|
return true;
|
|
}, function($ctx1) {$ctx1.fill(self,"isNumber",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isNumber",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "isNumber\x0a\x09^true",
|
|
|
|
|
|
+source: "isNumber\x0a\x09^ true",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2773,7 +2773,7 @@ $1=self.__eq((0));
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"isZero",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isZero",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "isZero\x0a\x09^self = 0",
|
|
|
|
|
|
+source: "isZero\x0a\x09^ self = 0",
|
|
messageSends: ["="],
|
|
messageSends: ["="],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -2871,7 +2871,7 @@ $1=(0).__minus(self);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"negated",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"negated",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "negated\x0a\x09^0 - self",
|
|
|
|
|
|
+source: "negated\x0a\x09^ 0 - self",
|
|
messageSends: ["-"],
|
|
messageSends: ["-"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3065,7 +3065,7 @@ $1=self.__star(self);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"squared",{},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"squared",{},smalltalk.Number)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "squared\x0a\x09^self * self",
|
|
|
|
|
|
+source: "squared\x0a\x09^ self * self",
|
|
messageSends: ["*"],
|
|
messageSends: ["*"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3107,7 +3107,7 @@ return count;
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)})}));
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)})}));
|
|
return self}, function($ctx1) {$ctx1.fill(self,"timesRepeat:",{aBlock:aBlock,count:count},smalltalk.Number)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"timesRepeat:",{aBlock:aBlock,count:count},smalltalk.Number)})},
|
|
args: ["aBlock"],
|
|
args: ["aBlock"],
|
|
-source: "timesRepeat: aBlock\x0a\x09| count |\x0a\x09count := 1.\x0a\x09[count > self] whileFalse: [\x0a\x09\x09aBlock value.\x0a\x09\x09count := count + 1]",
|
|
|
|
|
|
+source: "timesRepeat: aBlock\x0a\x09| count |\x0a\x09count := 1.\x0a\x09[ count > self ] whileFalse: [\x0a\x09\x09aBlock value.\x0a\x09\x09count := count + 1 ]",
|
|
messageSends: ["whileFalse:", ">", "value", "+"],
|
|
messageSends: ["whileFalse:", ">", "value", "+"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3142,7 +3142,7 @@ $1=array;
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"to:",{aNumber:aNumber,array:array,first:first,last:last,count:count},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"to:",{aNumber:aNumber,array:array,first:first,last:last,count:count},smalltalk.Number)})},
|
|
args: ["aNumber"],
|
|
args: ["aNumber"],
|
|
-source: "to: aNumber\x0a\x09| array first last count |\x0a\x09first := self truncated.\x0a\x09last := aNumber truncated + 1.\x0a\x09count := 1.\x0a\x09array := Array new.\x0a\x09(last - first) timesRepeat: [\x0a\x09\x09array at: count put: first.\x0a\x09\x09count := count + 1.\x0a\x09\x09first := first + 1].\x0a\x09^array",
|
|
|
|
|
|
+source: "to: aNumber\x0a\x09| array first last count |\x0a\x09first := self truncated.\x0a\x09last := aNumber truncated + 1.\x0a\x09count := 1.\x0a\x09array := Array new.\x0a\x09(last - first) timesRepeat: [\x0a\x09\x09array at: count put: first.\x0a\x09\x09count := count + 1.\x0a\x09\x09first := first + 1 ].\x0a\x09^ array",
|
|
messageSends: ["truncated", "+", "new", "timesRepeat:", "-", "at:put:"],
|
|
messageSends: ["truncated", "+", "new", "timesRepeat:", "-", "at:put:"],
|
|
referencedClasses: ["Array"]
|
|
referencedClasses: ["Array"]
|
|
}),
|
|
}),
|
|
@@ -3200,7 +3200,7 @@ $3=array;
|
|
return $3;
|
|
return $3;
|
|
}, function($ctx1) {$ctx1.fill(self,"to:by:",{stop:stop,step:step,array:array,value:value,pos:pos},smalltalk.Number)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"to:by:",{stop:stop,step:step,array:array,value:value,pos:pos},smalltalk.Number)})},
|
|
args: ["stop", "step"],
|
|
args: ["stop", "step"],
|
|
-source: "to: stop by: step\x0a\x09| array value pos |\x0a\x09value := self.\x0a\x09array := Array new.\x0a\x09pos := 1.\x0a\x09step = 0 ifTrue: [self error: 'step must be non-zero'].\x0a\x09step < 0\x0a\x09\x09ifTrue: [[ value >= stop ] whileTrue: [\x0a\x09\x09\x09\x09\x09array at: pos put: value.\x0a\x09\x09\x09\x09\x09pos := pos + 1.\x0a\x09\x09\x09\x09\x09value := value + step]]\x0a\x09\x09ifFalse: [[ value <= stop ] whileTrue: [\x0a\x09\x09\x09\x09\x09array at: pos put: value.\x0a\x09\x09\x09\x09pos := pos + 1.\x0a\x09\x09\x09\x09\x09value := value + step]].\x0a\x09^array",
|
|
|
|
|
|
+source: "to: stop by: step\x0a\x09| array value pos |\x0a\x09value := self.\x0a\x09array := Array new.\x0a\x09pos := 1.\x0a\x09step = 0 ifTrue: [ self error: 'step must be non-zero' ].\x0a\x09step < 0\x0a\x09\x09ifTrue: [ [ value >= stop ] whileTrue: [\x0a\x09\x09\x09\x09\x09array at: pos put: value.\x0a\x09\x09\x09\x09\x09pos := pos + 1.\x0a\x09\x09\x09\x09\x09value := value + step ]]\x0a\x09\x09ifFalse: [ [ value <= stop ] whileTrue: [\x0a\x09\x09\x09\x09\x09array at: pos put: value.\x0a\x09\x09\x09\x09pos := pos + 1.\x0a\x09\x09\x09\x09\x09value := value + step ]].\x0a\x09^ array",
|
|
messageSends: ["new", "ifTrue:", "=", "error:", "ifTrue:ifFalse:", "<", "whileTrue:", ">=", "at:put:", "+", "<="],
|
|
messageSends: ["new", "ifTrue:", "=", "error:", "ifTrue:ifFalse:", "<", "whileTrue:", ">=", "at:put:", "+", "<="],
|
|
referencedClasses: ["Array"]
|
|
referencedClasses: ["Array"]
|
|
}),
|
|
}),
|
|
@@ -3247,7 +3247,7 @@ return value;
|
|
};
|
|
};
|
|
return self}, function($ctx1) {$ctx1.fill(self,"to:by:do:",{stop:stop,step:step,aBlock:aBlock,value:value},smalltalk.Number)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"to:by:do:",{stop:stop,step:step,aBlock:aBlock,value:value},smalltalk.Number)})},
|
|
args: ["stop", "step", "aBlock"],
|
|
args: ["stop", "step", "aBlock"],
|
|
-source: "to: stop by: step do: aBlock\x0a\x09| value |\x0a\x09value := self.\x0a\x09step = 0 ifTrue: [self error: 'step must be non-zero'].\x0a\x09step < 0\x0a\x09\x09ifTrue: [[ value >= stop ] whileTrue: [\x0a\x09\x09\x09\x09\x09aBlock value: value.\x0a\x09\x09\x09\x09\x09value := value + step]]\x0a\x09\x09ifFalse: [[ value <= stop ] whileTrue: [\x0a\x09\x09\x09\x09\x09aBlock value: value.\x0a\x09\x09\x09\x09\x09value := value + step]]",
|
|
|
|
|
|
+source: "to: stop by: step do: aBlock\x0a\x09| value |\x0a\x09value := self.\x0a\x09step = 0 ifTrue: [ self error: 'step must be non-zero' ].\x0a\x09step < 0\x0a\x09\x09ifTrue: [ [ value >= stop ] whileTrue: [\x0a\x09\x09\x09\x09\x09aBlock value: value.\x0a\x09\x09\x09\x09\x09value := value + step ]]\x0a\x09\x09ifFalse: [ [ value <= stop ] whileTrue: [\x0a\x09\x09\x09\x09\x09aBlock value: value.\x0a\x09\x09\x09\x09\x09value := value + step ]]",
|
|
messageSends: ["ifTrue:", "=", "error:", "ifTrue:ifFalse:", "<", "whileTrue:", ">=", "value:", "+", "<="],
|
|
messageSends: ["ifTrue:", "=", "error:", "ifTrue:ifFalse:", "<", "whileTrue:", ">=", "value:", "+", "<="],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3273,7 +3273,7 @@ return nextValue;
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)})}));
|
|
}, function($ctx2) {$ctx2.fillBlock({},$ctx1,2)})}));
|
|
return self}, function($ctx1) {$ctx1.fill(self,"to:do:",{stop:stop,aBlock:aBlock,nextValue:nextValue},smalltalk.Number)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"to:do:",{stop:stop,aBlock:aBlock,nextValue:nextValue},smalltalk.Number)})},
|
|
args: ["stop", "aBlock"],
|
|
args: ["stop", "aBlock"],
|
|
-source: "to: stop do: aBlock\x0a\x09\x22Evaluate aBlock for each number from self to aNumber.\x22\x0a\x09| nextValue |\x0a\x09nextValue := self.\x0a\x09[nextValue <= stop]\x0a\x09\x09whileTrue:\x0a\x09\x09\x09[aBlock value: nextValue.\x0a\x09\x09\x09nextValue := nextValue + 1]",
|
|
|
|
|
|
+source: "to: stop do: aBlock\x0a\x09\x22Evaluate aBlock for each number from self to aNumber.\x22\x0a\x09| nextValue |\x0a\x09nextValue := self.\x0a\x09[ nextValue <= stop ]\x0a\x09\x09whileTrue:\x0a\x09\x09\x09[ aBlock value: nextValue.\x0a\x09\x09\x09nextValue := nextValue + 1 ]",
|
|
messageSends: ["whileTrue:", "<=", "value:", "+"],
|
|
messageSends: ["whileTrue:", "<=", "value:", "+"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3392,7 +3392,7 @@ $1=_st($Point())._x_y_($2,$6);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"*",{aPoint:aPoint},smalltalk.Point)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"*",{aPoint:aPoint},smalltalk.Point)})},
|
|
args: ["aPoint"],
|
|
args: ["aPoint"],
|
|
-source: "* aPoint\x0a\x09^Point x: self x * aPoint asPoint x y: self y * aPoint asPoint y",
|
|
|
|
|
|
+source: "* aPoint\x0a\x09^ Point x: self x * aPoint asPoint x y: self y * aPoint asPoint y",
|
|
messageSends: ["x:y:", "*", "x", "asPoint", "y"],
|
|
messageSends: ["x:y:", "*", "x", "asPoint", "y"],
|
|
referencedClasses: ["Point"]
|
|
referencedClasses: ["Point"]
|
|
}),
|
|
}),
|
|
@@ -3421,7 +3421,7 @@ $1=_st($Point())._x_y_($2,$6);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"+",{aPoint:aPoint},smalltalk.Point)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"+",{aPoint:aPoint},smalltalk.Point)})},
|
|
args: ["aPoint"],
|
|
args: ["aPoint"],
|
|
-source: "+ aPoint\x0a\x09^Point x: self x + aPoint asPoint x y: self y + aPoint asPoint y",
|
|
|
|
|
|
+source: "+ aPoint\x0a\x09^ Point x: self x + aPoint asPoint x y: self y + aPoint asPoint y",
|
|
messageSends: ["x:y:", "+", "x", "asPoint", "y"],
|
|
messageSends: ["x:y:", "+", "x", "asPoint", "y"],
|
|
referencedClasses: ["Point"]
|
|
referencedClasses: ["Point"]
|
|
}),
|
|
}),
|
|
@@ -3450,7 +3450,7 @@ $1=_st($Point())._x_y_($2,$6);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"-",{aPoint:aPoint},smalltalk.Point)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"-",{aPoint:aPoint},smalltalk.Point)})},
|
|
args: ["aPoint"],
|
|
args: ["aPoint"],
|
|
-source: "- aPoint\x0a\x09^Point x: self x - aPoint asPoint x y: self y - aPoint asPoint y",
|
|
|
|
|
|
+source: "- aPoint\x0a\x09^ Point x: self x - aPoint asPoint x y: self y - aPoint asPoint y",
|
|
messageSends: ["x:y:", "-", "x", "asPoint", "y"],
|
|
messageSends: ["x:y:", "-", "x", "asPoint", "y"],
|
|
referencedClasses: ["Point"]
|
|
referencedClasses: ["Point"]
|
|
}),
|
|
}),
|
|
@@ -3479,7 +3479,7 @@ $1=_st($Point())._x_y_($2,$6);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"/",{aPoint:aPoint},smalltalk.Point)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"/",{aPoint:aPoint},smalltalk.Point)})},
|
|
args: ["aPoint"],
|
|
args: ["aPoint"],
|
|
-source: "/ aPoint\x0a\x09^Point x: self x / aPoint asPoint x y: self y / aPoint asPoint y",
|
|
|
|
|
|
+source: "/ aPoint\x0a\x09^ Point x: self x / aPoint asPoint x y: self y / aPoint asPoint y",
|
|
messageSends: ["x:y:", "/", "x", "asPoint", "y"],
|
|
messageSends: ["x:y:", "/", "x", "asPoint", "y"],
|
|
referencedClasses: ["Point"]
|
|
referencedClasses: ["Point"]
|
|
}),
|
|
}),
|
|
@@ -3511,7 +3511,7 @@ return _st($4).__and($6);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"=",{aPoint:aPoint},smalltalk.Point)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"=",{aPoint:aPoint},smalltalk.Point)})},
|
|
args: ["aPoint"],
|
|
args: ["aPoint"],
|
|
-source: "= aPoint\x0a\x09^aPoint class = self class and: [\x0a\x09\x09(aPoint x = self x) & (aPoint y = self y)]",
|
|
|
|
|
|
+source: "= aPoint\x0a\x09^ aPoint class = self class and: [\x0a\x09\x09(aPoint x = self x) & (aPoint y = self y) ]",
|
|
messageSends: ["and:", "=", "class", "&", "x", "y"],
|
|
messageSends: ["and:", "=", "class", "&", "x", "y"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3527,7 +3527,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"asPoint",{},smalltalk.Point)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asPoint",{},smalltalk.Point)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asPoint\x0a\x09^self",
|
|
|
|
|
|
+source: "asPoint\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3554,7 +3554,7 @@ _st(aStream)._space();
|
|
_st(self["@y"])._printOn_(aStream);
|
|
_st(self["@y"])._printOn_(aStream);
|
|
return self}, function($ctx1) {$ctx1.fill(self,"printOn:",{aStream:aStream},smalltalk.Point)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"printOn:",{aStream:aStream},smalltalk.Point)})},
|
|
args: ["aStream"],
|
|
args: ["aStream"],
|
|
-source: "printOn: aStream\x0a\x09\x22Print receiver in classic x@y notation.\x22\x0a\x0a\x09x printOn: aStream.\x0a\x09\x0a\x09aStream nextPutAll: '@'.\x0a\x09(y notNil and: [y negative]) ifTrue: [\x0a\x09\x09\x09\x22Avoid ambiguous @- construct\x22\x0a\x09\x09\x09aStream space ].\x0a\x09\x0a\x09y printOn: aStream",
|
|
|
|
|
|
+source: "printOn: aStream\x0a\x09\x22Print receiver in classic x@y notation.\x22\x0a\x0a\x09x printOn: aStream.\x0a\x09\x0a\x09aStream nextPutAll: '@'.\x0a\x09(y notNil and: [ y negative ]) ifTrue: [\x0a\x09\x09\x09\x22Avoid ambiguous @- construct\x22\x0a\x09\x09\x09aStream space ].\x0a\x09\x0a\x09y printOn: aStream",
|
|
messageSends: ["printOn:", "nextPutAll:", "ifTrue:", "and:", "notNil", "negative", "space"],
|
|
messageSends: ["printOn:", "nextPutAll:", "ifTrue:", "and:", "notNil", "negative", "space"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3574,7 +3574,7 @@ $1=_st($2).__at(_st(_st(delta)._y()).__plus(self["@y"]));
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"translateBy:",{delta:delta},smalltalk.Point)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"translateBy:",{delta:delta},smalltalk.Point)})},
|
|
args: ["delta"],
|
|
args: ["delta"],
|
|
-source: "translateBy: delta\x0a\x09\x22Answer a Point translated by delta (an instance of Point).\x22\x0a\x09^(delta x + x) @ (delta y + y)",
|
|
|
|
|
|
+source: "translateBy: delta\x0a\x09\x22Answer a Point translated by delta (an instance of Point).\x22\x0a\x09^ (delta x + x) @ (delta y + y)",
|
|
messageSends: ["@", "+", "x", "y"],
|
|
messageSends: ["@", "+", "x", "y"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3592,7 +3592,7 @@ $1=self["@x"];
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"x",{},smalltalk.Point)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"x",{},smalltalk.Point)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "x\x0a\x09^x",
|
|
|
|
|
|
+source: "x\x0a\x09^ x",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3626,7 +3626,7 @@ $1=self["@y"];
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"y",{},smalltalk.Point)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"y",{},smalltalk.Point)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "y\x0a\x09^y",
|
|
|
|
|
|
+source: "y\x0a\x09^ y",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3681,7 +3681,7 @@ $1=$3;
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"x:y:",{aNumber:aNumber,anotherNumber:anotherNumber},smalltalk.Point.klass)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"x:y:",{aNumber:aNumber,anotherNumber:anotherNumber},smalltalk.Point.klass)})},
|
|
args: ["aNumber", "anotherNumber"],
|
|
args: ["aNumber", "anotherNumber"],
|
|
-source: "x: aNumber y: anotherNumber\x0a\x09^self new\x0a\x09\x09x: aNumber;\x0a\x09\x09y: anotherNumber;\x0a\x09\x09yourself",
|
|
|
|
|
|
+source: "x: aNumber y: anotherNumber\x0a\x09^ self new\x0a\x09\x09x: aNumber;\x0a\x09\x09y: anotherNumber;\x0a\x09\x09yourself",
|
|
messageSends: ["x:", "new", "y:", "yourself"],
|
|
messageSends: ["x:", "new", "y:", "yourself"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3721,7 +3721,7 @@ return self._next();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"next:",{anInteger:anInteger},smalltalk.Random)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"next:",{anInteger:anInteger},smalltalk.Random)})},
|
|
args: ["anInteger"],
|
|
args: ["anInteger"],
|
|
-source: "next: anInteger\x0a\x09^(1 to: anInteger) collect: [:each | self next]",
|
|
|
|
|
|
+source: "next: anInteger\x0a\x09^ (1 to: anInteger) collect: [ :each | self next ]",
|
|
messageSends: ["collect:", "to:", "next"],
|
|
messageSends: ["collect:", "to:", "next"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3743,7 +3743,7 @@ $1=null;
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"asJSON",{},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"asJSON",{},smalltalk.UndefinedObject)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "asJSON\x0a\x09^null",
|
|
|
|
|
|
+source: "asJSON\x0a\x09^ null",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3759,7 +3759,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"deepCopy",{},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"deepCopy",{},smalltalk.UndefinedObject)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "deepCopy\x0a\x09^self",
|
|
|
|
|
|
+source: "deepCopy\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3779,7 +3779,7 @@ return smalltalk.withContext(function($ctx2) {
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNil:",{aBlock:aBlock},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNil:",{aBlock:aBlock},smalltalk.UndefinedObject)})},
|
|
args: ["aBlock"],
|
|
args: ["aBlock"],
|
|
-source: "ifNil: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^self ifNil: aBlock ifNotNil: []",
|
|
|
|
|
|
+source: "ifNil: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ self ifNil: aBlock ifNotNil: []",
|
|
messageSends: ["ifNil:ifNotNil:"],
|
|
messageSends: ["ifNil:ifNotNil:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3797,7 +3797,7 @@ $1=_st(aBlock)._value();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNil:ifNotNil:",{aBlock:aBlock,anotherBlock:anotherBlock},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNil:ifNotNil:",{aBlock:aBlock,anotherBlock:anotherBlock},smalltalk.UndefinedObject)})},
|
|
args: ["aBlock", "anotherBlock"],
|
|
args: ["aBlock", "anotherBlock"],
|
|
-source: "ifNil: aBlock ifNotNil: anotherBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^aBlock value",
|
|
|
|
|
|
+source: "ifNil: aBlock ifNotNil: anotherBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ aBlock value",
|
|
messageSends: ["value"],
|
|
messageSends: ["value"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3813,7 +3813,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNotNil:",{aBlock:aBlock},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNotNil:",{aBlock:aBlock},smalltalk.UndefinedObject)})},
|
|
args: ["aBlock"],
|
|
args: ["aBlock"],
|
|
-source: "ifNotNil: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^self",
|
|
|
|
|
|
+source: "ifNotNil: aBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3831,7 +3831,7 @@ $1=_st(anotherBlock)._value();
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNotNil:ifNil:",{aBlock:aBlock,anotherBlock:anotherBlock},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"ifNotNil:ifNil:",{aBlock:aBlock,anotherBlock:anotherBlock},smalltalk.UndefinedObject)})},
|
|
args: ["aBlock", "anotherBlock"],
|
|
args: ["aBlock", "anotherBlock"],
|
|
-source: "ifNotNil: aBlock ifNil: anotherBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^anotherBlock value",
|
|
|
|
|
|
+source: "ifNotNil: aBlock ifNil: anotherBlock\x0a\x09\x22inlined in the Compiler\x22\x0a\x09^ anotherBlock value",
|
|
messageSends: ["value"],
|
|
messageSends: ["value"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3863,7 +3863,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return true;
|
|
return true;
|
|
}, function($ctx1) {$ctx1.fill(self,"isNil",{},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"isNil",{},smalltalk.UndefinedObject)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "isNil\x0a\x09^true",
|
|
|
|
|
|
+source: "isNil\x0a\x09^ true",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3879,7 +3879,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return false;
|
|
return false;
|
|
}, function($ctx1) {$ctx1.fill(self,"notNil",{},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"notNil",{},smalltalk.UndefinedObject)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "notNil\x0a\x09^false",
|
|
|
|
|
|
+source: "notNil\x0a\x09^ false",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3911,7 +3911,7 @@ return smalltalk.withContext(function($ctx1) {
|
|
return self;
|
|
return self;
|
|
}, function($ctx1) {$ctx1.fill(self,"shallowCopy",{},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"shallowCopy",{},smalltalk.UndefinedObject)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "shallowCopy\x0a\x09^self",
|
|
|
|
|
|
+source: "shallowCopy\x0a\x09^ self",
|
|
messageSends: [],
|
|
messageSends: [],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3929,7 +3929,7 @@ $1=self._subclass_instanceVariableNames_package_(aString,anotherString,nil);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"subclass:instanceVariableNames:",{aString:aString,anotherString:anotherString},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"subclass:instanceVariableNames:",{aString:aString,anotherString:anotherString},smalltalk.UndefinedObject)})},
|
|
args: ["aString", "anotherString"],
|
|
args: ["aString", "anotherString"],
|
|
-source: "subclass: aString instanceVariableNames: anotherString\x0a\x09^self subclass: aString instanceVariableNames: anotherString package: nil",
|
|
|
|
|
|
+source: "subclass: aString instanceVariableNames: anotherString\x0a\x09^ self subclass: aString instanceVariableNames: anotherString package: nil",
|
|
messageSends: ["subclass:instanceVariableNames:package:"],
|
|
messageSends: ["subclass:instanceVariableNames:package:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3948,7 +3948,7 @@ $1=self._subclass_instanceVariableNames_package_(aString,aString2,aString3);
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"subclass:instanceVariableNames:category:",{aString:aString,aString2:aString2,aString3:aString3},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"subclass:instanceVariableNames:category:",{aString:aString,aString2:aString2,aString3:aString3},smalltalk.UndefinedObject)})},
|
|
args: ["aString", "aString2", "aString3"],
|
|
args: ["aString", "aString2", "aString3"],
|
|
-source: "subclass: aString instanceVariableNames: aString2 category: aString3\x0a\x09\x22Kept for compatibility.\x22\x0a\x09self deprecatedAPI.\x0a\x09^self subclass: aString instanceVariableNames: aString2 package: aString3",
|
|
|
|
|
|
+source: "subclass: aString instanceVariableNames: aString2 category: aString3\x0a\x09\x22Kept for compatibility.\x22\x0a\x09self deprecatedAPI.\x0a\x09^ self subclass: aString instanceVariableNames: aString2 package: aString3",
|
|
messageSends: ["deprecatedAPI", "subclass:instanceVariableNames:package:"],
|
|
messageSends: ["deprecatedAPI", "subclass:instanceVariableNames:package:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
@@ -3967,7 +3967,7 @@ $1=_st(_st($ClassBuilder())._new())._superclass_subclass_instanceVariableNames_p
|
|
return $1;
|
|
return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"subclass:instanceVariableNames:package:",{aString:aString,aString2:aString2,aString3:aString3},smalltalk.UndefinedObject)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"subclass:instanceVariableNames:package:",{aString:aString,aString2:aString2,aString3:aString3},smalltalk.UndefinedObject)})},
|
|
args: ["aString", "aString2", "aString3"],
|
|
args: ["aString", "aString2", "aString3"],
|
|
-source: "subclass: aString instanceVariableNames: aString2 package: aString3\x0a\x09^ClassBuilder new\x0a\x09\x09superclass: self subclass: aString asString instanceVariableNames: aString2 package: aString3",
|
|
|
|
|
|
+source: "subclass: aString instanceVariableNames: aString2 package: aString3\x0a\x09^ ClassBuilder new\x0a\x09\x09superclass: self subclass: aString asString instanceVariableNames: aString2 package: aString3",
|
|
messageSends: ["superclass:subclass:instanceVariableNames:package:", "new", "asString"],
|
|
messageSends: ["superclass:subclass:instanceVariableNames:package:", "new", "asString"],
|
|
referencedClasses: ["ClassBuilder"]
|
|
referencedClasses: ["ClassBuilder"]
|
|
}),
|
|
}),
|