|
@@ -427,6 +427,49 @@ messageSends: ["ifTrue:ifFalse:", "isMemberOf:", "inheritsFrom:", "class"]
|
|
|
}),
|
|
|
$globals.ProtoObject);
|
|
|
|
|
|
+$core.addMethod(
|
|
|
+$core.method({
|
|
|
+selector: "isNil",
|
|
|
+protocol: 'testing',
|
|
|
+fn: function (){
|
|
|
+var self=this;
|
|
|
+return false;
|
|
|
+
|
|
|
+},
|
|
|
+
|
|
|
+args: [],
|
|
|
+source: "isNil\x0a\x09^ false",
|
|
|
+referencedClasses: [],
|
|
|
+
|
|
|
+messageSends: []
|
|
|
+}),
|
|
|
+$globals.ProtoObject);
|
|
|
+
|
|
|
+$core.addMethod(
|
|
|
+$core.method({
|
|
|
+selector: "notNil",
|
|
|
+protocol: 'testing',
|
|
|
+fn: function (){
|
|
|
+var self=this;
|
|
|
+
|
|
|
+return $core.withContext(function($ctx1) {
|
|
|
+
|
|
|
+var $1;
|
|
|
+$1=$recv(self._isNil())._not();
|
|
|
+return $1;
|
|
|
+
|
|
|
+}, function($ctx1) {$ctx1.fill(self,"notNil",{},$globals.ProtoObject)});
|
|
|
+
|
|
|
+},
|
|
|
+
|
|
|
+args: [],
|
|
|
+source: "notNil\x0a\x09^ self isNil not",
|
|
|
+referencedClasses: [],
|
|
|
+
|
|
|
+messageSends: ["not", "isNil"]
|
|
|
+}),
|
|
|
+$globals.ProtoObject);
|
|
|
+
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "perform:",
|
|
@@ -1291,24 +1334,6 @@ messageSends: []
|
|
|
}),
|
|
|
$globals.Object);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "isNil",
|
|
|
-protocol: 'testing',
|
|
|
-fn: function (){
|
|
|
-var self=this;
|
|
|
-return false;
|
|
|
-
|
|
|
-},
|
|
|
-
|
|
|
-args: [],
|
|
|
-source: "isNil\x0a\x09^ false",
|
|
|
-referencedClasses: [],
|
|
|
-
|
|
|
-messageSends: []
|
|
|
-}),
|
|
|
-$globals.Object);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "isNumber",
|
|
@@ -1399,31 +1424,6 @@ messageSends: []
|
|
|
}),
|
|
|
$globals.Object);
|
|
|
|
|
|
-$core.addMethod(
|
|
|
-$core.method({
|
|
|
-selector: "notNil",
|
|
|
-protocol: 'testing',
|
|
|
-fn: function (){
|
|
|
-var self=this;
|
|
|
-
|
|
|
-return $core.withContext(function($ctx1) {
|
|
|
-
|
|
|
-var $1;
|
|
|
-$1=$recv(self._isNil())._not();
|
|
|
-return $1;
|
|
|
-
|
|
|
-}, function($ctx1) {$ctx1.fill(self,"notNil",{},$globals.Object)});
|
|
|
-
|
|
|
-},
|
|
|
-
|
|
|
-args: [],
|
|
|
-source: "notNil\x0a\x09^ self isNil not",
|
|
|
-referencedClasses: [],
|
|
|
-
|
|
|
-messageSends: ["not", "isNil"]
|
|
|
-}),
|
|
|
-$globals.Object);
|
|
|
-
|
|
|
$core.addMethod(
|
|
|
$core.method({
|
|
|
selector: "postCopy",
|