|
@@ -4,7 +4,7 @@ smalltalk.addMethod(
|
|
unescape('_addCompiledMethod_'),
|
|
unescape('_addCompiledMethod_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('addCompiledMethod%3A'),
|
|
selector: unescape('addCompiledMethod%3A'),
|
|
-fn: function (aMethod){
|
|
|
|
|
|
+fn: function (aMethod) {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.addMethod(aMethod.selector._asSelector(), aMethod, self);
|
|
smalltalk.addMethod(aMethod.selector._asSelector(), aMethod, self);
|
|
return self;}
|
|
return self;}
|
|
@@ -15,7 +15,7 @@ smalltalk.addMethod(
|
|
unescape('_allInstanceVariableNames'),
|
|
unescape('_allInstanceVariableNames'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('allInstanceVariableNames'),
|
|
selector: unescape('allInstanceVariableNames'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
var result=nil;
|
|
var result=nil;
|
|
(result=smalltalk.send(smalltalk.send(self, "_instanceVariableNames", []), "_copy", []));
|
|
(result=smalltalk.send(smalltalk.send(self, "_instanceVariableNames", []), "_copy", []));
|
|
@@ -29,7 +29,7 @@ smalltalk.addMethod(
|
|
unescape('_allSubclasses'),
|
|
unescape('_allSubclasses'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('allSubclasses'),
|
|
selector: unescape('allSubclasses'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
var result=nil;
|
|
var result=nil;
|
|
(result=smalltalk.send(self, "_subclasses", []));
|
|
(result=smalltalk.send(self, "_subclasses", []));
|
|
@@ -43,18 +43,29 @@ smalltalk.addMethod(
|
|
unescape('_basicNew'),
|
|
unescape('_basicNew'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('basicNew'),
|
|
selector: unescape('basicNew'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return new self.fn();
|
|
return new self.fn();
|
|
return self;}
|
|
return self;}
|
|
}),
|
|
}),
|
|
smalltalk.Behavior);
|
|
smalltalk.Behavior);
|
|
|
|
|
|
|
|
+smalltalk.addMethod(
|
|
|
|
+unescape('_canUnderstand_'),
|
|
|
|
+smalltalk.method({
|
|
|
|
+selector: unescape('canUnderstand%3A'),
|
|
|
|
+fn: function (aSelector) {
|
|
|
|
+var self=this;
|
|
|
|
+return smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_methodDictionary", []), "_keys", []), "_includes_", [smalltalk.send(aSelector, "_asString", [])]), "_or_", [(function(){return smalltalk.send(smalltalk.send(smalltalk.send(self, "_superclass", []), "_notNil", []), "_and_", [(function(){return smalltalk.send(smalltalk.send(self, "_superclass", []), "_canUnderstand_", [aSelector]);})]);})]);
|
|
|
|
+return self;}
|
|
|
|
+}),
|
|
|
|
+smalltalk.Behavior);
|
|
|
|
+
|
|
smalltalk.addMethod(
|
|
smalltalk.addMethod(
|
|
unescape('_comment'),
|
|
unescape('_comment'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('comment'),
|
|
selector: unescape('comment'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return (($receiver = smalltalk.send(self, "_basicAt_", ["comment"])) == nil || $receiver == undefined) ? (function(){return "";})() : $receiver;
|
|
return (($receiver = smalltalk.send(self, "_basicAt_", ["comment"])) == nil || $receiver == undefined) ? (function(){return "";})() : $receiver;
|
|
return self;}
|
|
return self;}
|
|
@@ -65,7 +76,7 @@ smalltalk.addMethod(
|
|
unescape('_comment_'),
|
|
unescape('_comment_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('comment%3A'),
|
|
selector: unescape('comment%3A'),
|
|
-fn: function (aString){
|
|
|
|
|
|
+fn: function (aString) {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.send(self, "_basicAt_put_", ["comment", aString]);
|
|
smalltalk.send(self, "_basicAt_put_", ["comment", aString]);
|
|
return self;}
|
|
return self;}
|
|
@@ -76,7 +87,7 @@ smalltalk.addMethod(
|
|
unescape('_commentStamp'),
|
|
unescape('_commentStamp'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('commentStamp'),
|
|
selector: unescape('commentStamp'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return (function($rec){smalltalk.send($rec, "_class_", [self]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.ClassCommentReader || ClassCommentReader), "_new", []));
|
|
return (function($rec){smalltalk.send($rec, "_class_", [self]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.ClassCommentReader || ClassCommentReader), "_new", []));
|
|
return self;}
|
|
return self;}
|
|
@@ -87,7 +98,7 @@ smalltalk.addMethod(
|
|
unescape('_commentStamp_prior_'),
|
|
unescape('_commentStamp_prior_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('commentStamp%3Aprior%3A'),
|
|
selector: unescape('commentStamp%3Aprior%3A'),
|
|
-fn: function (aStamp, prior){
|
|
|
|
|
|
+fn: function (aStamp, prior) {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(self, "_commentStamp", []);
|
|
return smalltalk.send(self, "_commentStamp", []);
|
|
return self;}
|
|
return self;}
|
|
@@ -98,7 +109,7 @@ smalltalk.addMethod(
|
|
unescape('_compile_'),
|
|
unescape('_compile_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('compile%3A'),
|
|
selector: unescape('compile%3A'),
|
|
-fn: function (aString){
|
|
|
|
|
|
+fn: function (aString) {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.send(self, "_compile_category_", [aString, ""]);
|
|
smalltalk.send(self, "_compile_category_", [aString, ""]);
|
|
return self;}
|
|
return self;}
|
|
@@ -109,7 +120,7 @@ smalltalk.addMethod(
|
|
unescape('_compile_category_'),
|
|
unescape('_compile_category_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('compile%3Acategory%3A'),
|
|
selector: unescape('compile%3Acategory%3A'),
|
|
-fn: function (aString, anotherString){
|
|
|
|
|
|
+fn: function (aString, anotherString) {
|
|
var self=this;
|
|
var self=this;
|
|
var method=nil;
|
|
var method=nil;
|
|
(method=smalltalk.send(smalltalk.send((smalltalk.Compiler || Compiler), "_new", []), "_load_forClass_", [aString, self]));
|
|
(method=smalltalk.send(smalltalk.send((smalltalk.Compiler || Compiler), "_new", []), "_load_forClass_", [aString, self]));
|
|
@@ -123,7 +134,7 @@ smalltalk.addMethod(
|
|
unescape('_inheritsFrom_'),
|
|
unescape('_inheritsFrom_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('inheritsFrom%3A'),
|
|
selector: unescape('inheritsFrom%3A'),
|
|
-fn: function (aClass){
|
|
|
|
|
|
+fn: function (aClass) {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(smalltalk.send(aClass, "_allSubclasses", []), "_includes_", [self]);
|
|
return smalltalk.send(smalltalk.send(aClass, "_allSubclasses", []), "_includes_", [self]);
|
|
return self;}
|
|
return self;}
|
|
@@ -134,7 +145,7 @@ smalltalk.addMethod(
|
|
unescape('_instanceVariableNames'),
|
|
unescape('_instanceVariableNames'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('instanceVariableNames'),
|
|
selector: unescape('instanceVariableNames'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return self.iVarNames;
|
|
return self.iVarNames;
|
|
return self;}
|
|
return self;}
|
|
@@ -145,7 +156,7 @@ smalltalk.addMethod(
|
|
unescape('_methodAt_'),
|
|
unescape('_methodAt_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('methodAt%3A'),
|
|
selector: unescape('methodAt%3A'),
|
|
-fn: function (aString){
|
|
|
|
|
|
+fn: function (aString) {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.methods(self)[aString];
|
|
return smalltalk.methods(self)[aString];
|
|
return self;}
|
|
return self;}
|
|
@@ -156,7 +167,7 @@ smalltalk.addMethod(
|
|
unescape('_methodDictionary'),
|
|
unescape('_methodDictionary'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('methodDictionary'),
|
|
selector: unescape('methodDictionary'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
var dict = smalltalk.HashedCollection._new();
|
|
var dict = smalltalk.HashedCollection._new();
|
|
var methods = self.fn.prototype.methods;
|
|
var methods = self.fn.prototype.methods;
|
|
@@ -174,7 +185,7 @@ smalltalk.addMethod(
|
|
unescape('_methodsFor_'),
|
|
unescape('_methodsFor_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('methodsFor%3A'),
|
|
selector: unescape('methodsFor%3A'),
|
|
-fn: function (aString){
|
|
|
|
|
|
+fn: function (aString) {
|
|
var self=this;
|
|
var self=this;
|
|
return (function($rec){smalltalk.send($rec, "_class_category_", [self, aString]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.ClassCategoryReader || ClassCategoryReader), "_new", []));
|
|
return (function($rec){smalltalk.send($rec, "_class_category_", [self, aString]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.ClassCategoryReader || ClassCategoryReader), "_new", []));
|
|
return self;}
|
|
return self;}
|
|
@@ -185,7 +196,7 @@ smalltalk.addMethod(
|
|
unescape('_methodsFor_stamp_'),
|
|
unescape('_methodsFor_stamp_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('methodsFor%3Astamp%3A'),
|
|
selector: unescape('methodsFor%3Astamp%3A'),
|
|
-fn: function (aString, aStamp){
|
|
|
|
|
|
+fn: function (aString, aStamp) {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(self, "_methodsFor_", [aString]);
|
|
return smalltalk.send(self, "_methodsFor_", [aString]);
|
|
return self;}
|
|
return self;}
|
|
@@ -196,7 +207,7 @@ smalltalk.addMethod(
|
|
unescape('_name'),
|
|
unescape('_name'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('name'),
|
|
selector: unescape('name'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return self.className || nil;
|
|
return self.className || nil;
|
|
return self;}
|
|
return self;}
|
|
@@ -207,7 +218,7 @@ smalltalk.addMethod(
|
|
unescape('_new'),
|
|
unescape('_new'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('new'),
|
|
selector: unescape('new'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(smalltalk.send(self, "_basicNew", []), "_initialize", []);
|
|
return smalltalk.send(smalltalk.send(self, "_basicNew", []), "_initialize", []);
|
|
return self;}
|
|
return self;}
|
|
@@ -218,7 +229,7 @@ smalltalk.addMethod(
|
|
unescape('_protocols'),
|
|
unescape('_protocols'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('protocols'),
|
|
selector: unescape('protocols'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
var protocols=nil;
|
|
var protocols=nil;
|
|
(protocols=smalltalk.send((smalltalk.Array || Array), "_new", []));
|
|
(protocols=smalltalk.send((smalltalk.Array || Array), "_new", []));
|
|
@@ -232,7 +243,7 @@ smalltalk.addMethod(
|
|
unescape('_protocolsDo_'),
|
|
unescape('_protocolsDo_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('protocolsDo%3A'),
|
|
selector: unescape('protocolsDo%3A'),
|
|
-fn: function (aBlock){
|
|
|
|
|
|
+fn: function (aBlock) {
|
|
var self=this;
|
|
var self=this;
|
|
var methodsByCategory=nil;
|
|
var methodsByCategory=nil;
|
|
(methodsByCategory=smalltalk.send((smalltalk.HashedCollection || HashedCollection), "_new", []));
|
|
(methodsByCategory=smalltalk.send((smalltalk.HashedCollection || HashedCollection), "_new", []));
|
|
@@ -246,7 +257,7 @@ smalltalk.addMethod(
|
|
unescape('_prototype'),
|
|
unescape('_prototype'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('prototype'),
|
|
selector: unescape('prototype'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return self.fn.prototype;
|
|
return self.fn.prototype;
|
|
return self;}
|
|
return self;}
|
|
@@ -257,7 +268,7 @@ smalltalk.addMethod(
|
|
unescape('_removeCompiledMethod_'),
|
|
unescape('_removeCompiledMethod_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('removeCompiledMethod%3A'),
|
|
selector: unescape('removeCompiledMethod%3A'),
|
|
-fn: function (aMethod){
|
|
|
|
|
|
+fn: function (aMethod) {
|
|
var self=this;
|
|
var self=this;
|
|
delete self.fn.prototype[aMethod.selector._asSelector()];
|
|
delete self.fn.prototype[aMethod.selector._asSelector()];
|
|
delete self.fn.prototype.methods[aMethod.selector];
|
|
delete self.fn.prototype.methods[aMethod.selector];
|
|
@@ -270,7 +281,7 @@ smalltalk.addMethod(
|
|
unescape('_subclasses'),
|
|
unescape('_subclasses'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('subclasses'),
|
|
selector: unescape('subclasses'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.subclasses(self);
|
|
return smalltalk.subclasses(self);
|
|
return self;}
|
|
return self;}
|
|
@@ -281,7 +292,7 @@ smalltalk.addMethod(
|
|
unescape('_superclass'),
|
|
unescape('_superclass'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('superclass'),
|
|
selector: unescape('superclass'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return self.superclass || nil;
|
|
return self.superclass || nil;
|
|
return self;}
|
|
return self;}
|
|
@@ -292,7 +303,7 @@ smalltalk.addMethod(
|
|
unescape('_withAllSubclasses'),
|
|
unescape('_withAllSubclasses'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('withAllSubclasses'),
|
|
selector: unescape('withAllSubclasses'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return (function($rec){smalltalk.send($rec, "_addAll_", [smalltalk.send(self, "_allSubclasses", [])]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Array || Array), "_with_", [self]));
|
|
return (function($rec){smalltalk.send($rec, "_addAll_", [smalltalk.send(self, "_allSubclasses", [])]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Array || Array), "_with_", [self]));
|
|
return self;}
|
|
return self;}
|
|
@@ -306,7 +317,7 @@ smalltalk.addMethod(
|
|
unescape('_category'),
|
|
unescape('_category'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('category'),
|
|
selector: unescape('category'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return (($receiver = smalltalk.send(self, "_package", [])) == nil || $receiver == undefined) ? (function(){return "Unclassified";})() : (function(){return smalltalk.send(smalltalk.send(self, "_package", []), "_name", []);})();
|
|
return (($receiver = smalltalk.send(self, "_package", [])) == nil || $receiver == undefined) ? (function(){return "Unclassified";})() : (function(){return smalltalk.send(smalltalk.send(self, "_package", []), "_name", []);})();
|
|
return self;}
|
|
return self;}
|
|
@@ -317,7 +328,7 @@ smalltalk.addMethod(
|
|
unescape('_isClass'),
|
|
unescape('_isClass'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('isClass'),
|
|
selector: unescape('isClass'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return true;
|
|
return true;
|
|
return self;}
|
|
return self;}
|
|
@@ -328,7 +339,7 @@ smalltalk.addMethod(
|
|
unescape('_package'),
|
|
unescape('_package'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('package'),
|
|
selector: unescape('package'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return self.pkg;
|
|
return self.pkg;
|
|
return self;}
|
|
return self;}
|
|
@@ -339,7 +350,7 @@ smalltalk.addMethod(
|
|
unescape('_package_'),
|
|
unescape('_package_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('package%3A'),
|
|
selector: unescape('package%3A'),
|
|
-fn: function (aPackage){
|
|
|
|
|
|
+fn: function (aPackage) {
|
|
var self=this;
|
|
var self=this;
|
|
self.pkg = aPackage;
|
|
self.pkg = aPackage;
|
|
return self;}
|
|
return self;}
|
|
@@ -350,7 +361,7 @@ smalltalk.addMethod(
|
|
unescape('_printString'),
|
|
unescape('_printString'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('printString'),
|
|
selector: unescape('printString'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(self, "_name", []);
|
|
return smalltalk.send(self, "_name", []);
|
|
return self;}
|
|
return self;}
|
|
@@ -361,7 +372,7 @@ smalltalk.addMethod(
|
|
unescape('_rename_'),
|
|
unescape('_rename_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('rename%3A'),
|
|
selector: unescape('rename%3A'),
|
|
-fn: function (aString){
|
|
|
|
|
|
+fn: function (aString) {
|
|
var self=this;
|
|
var self=this;
|
|
|
|
|
|
smalltalk[aString] = self;
|
|
smalltalk[aString] = self;
|
|
@@ -376,7 +387,7 @@ smalltalk.addMethod(
|
|
unescape('_subclass_instanceVariableNames_'),
|
|
unescape('_subclass_instanceVariableNames_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('subclass%3AinstanceVariableNames%3A'),
|
|
selector: unescape('subclass%3AinstanceVariableNames%3A'),
|
|
-fn: function (aString, anotherString){
|
|
|
|
|
|
+fn: function (aString, anotherString) {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(self, "_subclass_instanceVariableNames_package_", [aString, anotherString, nil]);
|
|
return smalltalk.send(self, "_subclass_instanceVariableNames_package_", [aString, anotherString, nil]);
|
|
return self;}
|
|
return self;}
|
|
@@ -387,7 +398,7 @@ smalltalk.addMethod(
|
|
unescape('_subclass_instanceVariableNames_category_'),
|
|
unescape('_subclass_instanceVariableNames_category_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('subclass%3AinstanceVariableNames%3Acategory%3A'),
|
|
selector: unescape('subclass%3AinstanceVariableNames%3Acategory%3A'),
|
|
-fn: function (aString, aString2, aString3){
|
|
|
|
|
|
+fn: function (aString, aString2, aString3) {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.send(self, "_deprecatedAPI", []);
|
|
smalltalk.send(self, "_deprecatedAPI", []);
|
|
return smalltalk.send(self, "_subclass_instanceVariableNames_package_", [aString, aString2, aString3]);
|
|
return smalltalk.send(self, "_subclass_instanceVariableNames_package_", [aString, aString2, aString3]);
|
|
@@ -399,7 +410,7 @@ smalltalk.addMethod(
|
|
unescape('_subclass_instanceVariableNames_classVariableNames_poolDictionaries_category_'),
|
|
unescape('_subclass_instanceVariableNames_classVariableNames_poolDictionaries_category_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('subclass%3AinstanceVariableNames%3AclassVariableNames%3ApoolDictionaries%3Acategory%3A'),
|
|
selector: unescape('subclass%3AinstanceVariableNames%3AclassVariableNames%3ApoolDictionaries%3Acategory%3A'),
|
|
-fn: function (aString, aString2, classVars, pools, aString3){
|
|
|
|
|
|
+fn: function (aString, aString2, classVars, pools, aString3) {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(self, "_subclass_instanceVariableNames_package_", [aString, aString2, aString3]);
|
|
return smalltalk.send(self, "_subclass_instanceVariableNames_package_", [aString, aString2, aString3]);
|
|
return self;}
|
|
return self;}
|
|
@@ -410,7 +421,7 @@ smalltalk.addMethod(
|
|
unescape('_subclass_instanceVariableNames_package_'),
|
|
unescape('_subclass_instanceVariableNames_package_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('subclass%3AinstanceVariableNames%3Apackage%3A'),
|
|
selector: unescape('subclass%3AinstanceVariableNames%3Apackage%3A'),
|
|
-fn: function (aString, aString2, aString3){
|
|
|
|
|
|
+fn: function (aString, aString2, aString3) {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(smalltalk.send((smalltalk.ClassBuilder || ClassBuilder), "_new", []), "_superclass_subclass_instanceVariableNames_package_", [self, smalltalk.send(aString, "_asString", []), aString2, aString3]);
|
|
return smalltalk.send(smalltalk.send((smalltalk.ClassBuilder || ClassBuilder), "_new", []), "_superclass_subclass_instanceVariableNames_package_", [self, smalltalk.send(aString, "_asString", []), aString2, aString3]);
|
|
return self;}
|
|
return self;}
|
|
@@ -424,7 +435,7 @@ smalltalk.addMethod(
|
|
unescape('_instanceClass'),
|
|
unescape('_instanceClass'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('instanceClass'),
|
|
selector: unescape('instanceClass'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return self.instanceClass;
|
|
return self.instanceClass;
|
|
return self;}
|
|
return self;}
|
|
@@ -435,7 +446,7 @@ smalltalk.addMethod(
|
|
unescape('_instanceVariableNames_'),
|
|
unescape('_instanceVariableNames_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('instanceVariableNames%3A'),
|
|
selector: unescape('instanceVariableNames%3A'),
|
|
-fn: function (aCollection){
|
|
|
|
|
|
+fn: function (aCollection) {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.send(smalltalk.send((smalltalk.ClassBuilder || ClassBuilder), "_new", []), "_class_instanceVariableNames_", [self, aCollection]);
|
|
smalltalk.send(smalltalk.send((smalltalk.ClassBuilder || ClassBuilder), "_new", []), "_class_instanceVariableNames_", [self, aCollection]);
|
|
return self;}
|
|
return self;}
|
|
@@ -446,7 +457,7 @@ smalltalk.addMethod(
|
|
unescape('_isMetaclass'),
|
|
unescape('_isMetaclass'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('isMetaclass'),
|
|
selector: unescape('isMetaclass'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return true;
|
|
return true;
|
|
return self;}
|
|
return self;}
|
|
@@ -457,7 +468,7 @@ smalltalk.addMethod(
|
|
unescape('_printString'),
|
|
unescape('_printString'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('printString'),
|
|
selector: unescape('printString'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(smalltalk.send(smalltalk.send(self, "_instanceClass", []), "_name", []), "__comma", [" class"]);
|
|
return smalltalk.send(smalltalk.send(smalltalk.send(self, "_instanceClass", []), "_name", []), "__comma", [" class"]);
|
|
return self;}
|
|
return self;}
|
|
@@ -471,7 +482,7 @@ smalltalk.addMethod(
|
|
unescape('_addSubclassOf_named_instanceVariableNames_'),
|
|
unescape('_addSubclassOf_named_instanceVariableNames_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('addSubclassOf%3Anamed%3AinstanceVariableNames%3A'),
|
|
selector: unescape('addSubclassOf%3Anamed%3AinstanceVariableNames%3A'),
|
|
-fn: function (aClass, aString, aCollection){
|
|
|
|
|
|
+fn: function (aClass, aString, aCollection) {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.addClass(aString, aClass, aCollection);
|
|
smalltalk.addClass(aString, aClass, aCollection);
|
|
return smalltalk[aString];
|
|
return smalltalk[aString];
|
|
@@ -483,7 +494,7 @@ smalltalk.addMethod(
|
|
unescape('_addSubclassOf_named_instanceVariableNames_package_'),
|
|
unescape('_addSubclassOf_named_instanceVariableNames_package_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('addSubclassOf%3Anamed%3AinstanceVariableNames%3Apackage%3A'),
|
|
selector: unescape('addSubclassOf%3Anamed%3AinstanceVariableNames%3Apackage%3A'),
|
|
-fn: function (aClass, aString, aCollection, packageName){
|
|
|
|
|
|
+fn: function (aClass, aString, aCollection, packageName) {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.addClass(aString, aClass, aCollection, packageName);
|
|
smalltalk.addClass(aString, aClass, aCollection, packageName);
|
|
return smalltalk[aString];
|
|
return smalltalk[aString];
|
|
@@ -495,7 +506,7 @@ smalltalk.addMethod(
|
|
unescape('_class_instanceVariableNames_'),
|
|
unescape('_class_instanceVariableNames_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('class%3AinstanceVariableNames%3A'),
|
|
selector: unescape('class%3AinstanceVariableNames%3A'),
|
|
-fn: function (aClass, aString){
|
|
|
|
|
|
+fn: function (aClass, aString) {
|
|
var self=this;
|
|
var self=this;
|
|
((($receiver = smalltalk.send(aClass, "_isMetaclass", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_error_", [smalltalk.send(smalltalk.send(aClass, "_name", []), "__comma", [" is not a metaclass"])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_error_", [smalltalk.send(smalltalk.send(aClass, "_name", []), "__comma", [" is not a metaclass"])]);})]));
|
|
((($receiver = smalltalk.send(aClass, "_isMetaclass", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_error_", [smalltalk.send(smalltalk.send(aClass, "_name", []), "__comma", [" is not a metaclass"])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_error_", [smalltalk.send(smalltalk.send(aClass, "_name", []), "__comma", [" is not a metaclass"])]);})]));
|
|
smalltalk.send(aClass, "_basicAt_put_", ["iVarNames", smalltalk.send(self, "_instanceVariableNamesFor_", [aString])]);
|
|
smalltalk.send(aClass, "_basicAt_put_", ["iVarNames", smalltalk.send(self, "_instanceVariableNamesFor_", [aString])]);
|
|
@@ -508,7 +519,7 @@ smalltalk.addMethod(
|
|
unescape('_copyClass_named_'),
|
|
unescape('_copyClass_named_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('copyClass%3Anamed%3A'),
|
|
selector: unescape('copyClass%3Anamed%3A'),
|
|
-fn: function (aClass, aString){
|
|
|
|
|
|
+fn: function (aClass, aString) {
|
|
var self=this;
|
|
var self=this;
|
|
var newClass=nil;
|
|
var newClass=nil;
|
|
(newClass=smalltalk.send(self, "_addSubclassOf_named_instanceVariableNames_package_", [smalltalk.send(aClass, "_superclass", []), aString, smalltalk.send(aClass, "_instanceVariableNames", []), smalltalk.send(smalltalk.send(aClass, "_package", []), "_name", [])]));
|
|
(newClass=smalltalk.send(self, "_addSubclassOf_named_instanceVariableNames_package_", [smalltalk.send(aClass, "_superclass", []), aString, smalltalk.send(aClass, "_instanceVariableNames", []), smalltalk.send(smalltalk.send(aClass, "_package", []), "_name", [])]));
|
|
@@ -525,7 +536,7 @@ smalltalk.addMethod(
|
|
unescape('_instanceVariableNamesFor_'),
|
|
unescape('_instanceVariableNamesFor_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('instanceVariableNamesFor%3A'),
|
|
selector: unescape('instanceVariableNamesFor%3A'),
|
|
-fn: function (aString){
|
|
|
|
|
|
+fn: function (aString) {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(smalltalk.send(aString, "_tokenize_", [" "]), "_reject_", [(function(each){return smalltalk.send(each, "_isEmpty", []);})]);
|
|
return smalltalk.send(smalltalk.send(aString, "_tokenize_", [" "]), "_reject_", [(function(each){return smalltalk.send(each, "_isEmpty", []);})]);
|
|
return self;}
|
|
return self;}
|
|
@@ -536,7 +547,7 @@ smalltalk.addMethod(
|
|
unescape('_setupClass_'),
|
|
unescape('_setupClass_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('setupClass%3A'),
|
|
selector: unescape('setupClass%3A'),
|
|
-fn: function (aClass){
|
|
|
|
|
|
+fn: function (aClass) {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.init(aClass);;
|
|
smalltalk.init(aClass);;
|
|
return self;}
|
|
return self;}
|
|
@@ -547,7 +558,7 @@ smalltalk.addMethod(
|
|
unescape('_superclass_subclass_'),
|
|
unescape('_superclass_subclass_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('superclass%3Asubclass%3A'),
|
|
selector: unescape('superclass%3Asubclass%3A'),
|
|
-fn: function (aClass, aString){
|
|
|
|
|
|
+fn: function (aClass, aString) {
|
|
var self=this;
|
|
var self=this;
|
|
return smalltalk.send(self, "_superclass_subclass_instanceVariableNames_package_", [aClass, aString, "", nil]);
|
|
return smalltalk.send(self, "_superclass_subclass_instanceVariableNames_package_", [aClass, aString, "", nil]);
|
|
return self;}
|
|
return self;}
|
|
@@ -558,7 +569,7 @@ smalltalk.addMethod(
|
|
unescape('_superclass_subclass_instanceVariableNames_package_'),
|
|
unescape('_superclass_subclass_instanceVariableNames_package_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('superclass%3Asubclass%3AinstanceVariableNames%3Apackage%3A'),
|
|
selector: unescape('superclass%3Asubclass%3AinstanceVariableNames%3Apackage%3A'),
|
|
-fn: function (aClass, aString, aString2, aString3){
|
|
|
|
|
|
+fn: function (aClass, aString, aString2, aString3) {
|
|
var self=this;
|
|
var self=this;
|
|
var newClass=nil;
|
|
var newClass=nil;
|
|
(newClass=smalltalk.send(self, "_addSubclassOf_named_instanceVariableNames_package_", [aClass, aString, smalltalk.send(self, "_instanceVariableNamesFor_", [aString2]), (($receiver = aString3) == nil || $receiver == undefined) ? (function(){return "unclassified";})() : $receiver]));
|
|
(newClass=smalltalk.send(self, "_addSubclassOf_named_instanceVariableNames_package_", [aClass, aString, smalltalk.send(self, "_instanceVariableNamesFor_", [aString2]), (($receiver = aString3) == nil || $receiver == undefined) ? (function(){return "unclassified";})() : $receiver]));
|
|
@@ -575,7 +586,7 @@ smalltalk.addMethod(
|
|
unescape('_class_category_'),
|
|
unescape('_class_category_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('class%3Acategory%3A'),
|
|
selector: unescape('class%3Acategory%3A'),
|
|
-fn: function (aClass, aString){
|
|
|
|
|
|
+fn: function (aClass, aString) {
|
|
var self=this;
|
|
var self=this;
|
|
(self['@class']=aClass);
|
|
(self['@class']=aClass);
|
|
(self['@category']=aString);
|
|
(self['@category']=aString);
|
|
@@ -587,7 +598,7 @@ smalltalk.addMethod(
|
|
unescape('_compileMethod_'),
|
|
unescape('_compileMethod_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('compileMethod%3A'),
|
|
selector: unescape('compileMethod%3A'),
|
|
-fn: function (aString){
|
|
|
|
|
|
+fn: function (aString) {
|
|
var self=this;
|
|
var self=this;
|
|
var method=nil;
|
|
var method=nil;
|
|
var compiler=nil;
|
|
var compiler=nil;
|
|
@@ -603,7 +614,7 @@ smalltalk.addMethod(
|
|
unescape('_initialize'),
|
|
unescape('_initialize'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('initialize'),
|
|
selector: unescape('initialize'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.send(self, "_initialize", [], smalltalk.Object);
|
|
smalltalk.send(self, "_initialize", [], smalltalk.Object);
|
|
(self['@chunkParser']=smalltalk.send((smalltalk.ChunkParser || ChunkParser), "_new", []));
|
|
(self['@chunkParser']=smalltalk.send((smalltalk.ChunkParser || ChunkParser), "_new", []));
|
|
@@ -615,7 +626,7 @@ smalltalk.addMethod(
|
|
unescape('_scanFrom_'),
|
|
unescape('_scanFrom_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('scanFrom%3A'),
|
|
selector: unescape('scanFrom%3A'),
|
|
-fn: function (aChunkParser){
|
|
|
|
|
|
+fn: function (aChunkParser) {
|
|
var self=this;
|
|
var self=this;
|
|
var chunk=nil;
|
|
var chunk=nil;
|
|
(function(){while(!(function(){(chunk=smalltalk.send(aChunkParser, "_nextChunk", []));return smalltalk.send(chunk, "_isEmpty", []);})()) {(function(){return smalltalk.send(self, "_compileMethod_", [chunk]);})()}})();
|
|
(function(){while(!(function(){(chunk=smalltalk.send(aChunkParser, "_nextChunk", []));return smalltalk.send(chunk, "_isEmpty", []);})()) {(function(){return smalltalk.send(self, "_compileMethod_", [chunk]);})()}})();
|
|
@@ -630,7 +641,7 @@ smalltalk.addMethod(
|
|
unescape('_class_'),
|
|
unescape('_class_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('class%3A'),
|
|
selector: unescape('class%3A'),
|
|
-fn: function (aClass){
|
|
|
|
|
|
+fn: function (aClass) {
|
|
var self=this;
|
|
var self=this;
|
|
(self['@class']=aClass);
|
|
(self['@class']=aClass);
|
|
return self;}
|
|
return self;}
|
|
@@ -641,7 +652,7 @@ smalltalk.addMethod(
|
|
unescape('_initialize'),
|
|
unescape('_initialize'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('initialize'),
|
|
selector: unescape('initialize'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.send(self, "_initialize", [], smalltalk.Object);
|
|
smalltalk.send(self, "_initialize", [], smalltalk.Object);
|
|
(self['@chunkParser']=smalltalk.send((smalltalk.ChunkParser || ChunkParser), "_new", []));
|
|
(self['@chunkParser']=smalltalk.send((smalltalk.ChunkParser || ChunkParser), "_new", []));
|
|
@@ -653,7 +664,7 @@ smalltalk.addMethod(
|
|
unescape('_scanFrom_'),
|
|
unescape('_scanFrom_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('scanFrom%3A'),
|
|
selector: unescape('scanFrom%3A'),
|
|
-fn: function (aChunkParser){
|
|
|
|
|
|
+fn: function (aChunkParser) {
|
|
var self=this;
|
|
var self=this;
|
|
var chunk=nil;
|
|
var chunk=nil;
|
|
(chunk=smalltalk.send(aChunkParser, "_nextChunk", []));
|
|
(chunk=smalltalk.send(aChunkParser, "_nextChunk", []));
|
|
@@ -666,7 +677,7 @@ smalltalk.addMethod(
|
|
unescape('_setComment_'),
|
|
unescape('_setComment_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('setComment%3A'),
|
|
selector: unescape('setComment%3A'),
|
|
-fn: function (aString){
|
|
|
|
|
|
+fn: function (aString) {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.send(self['@class'], "_comment_", [aString]);
|
|
smalltalk.send(self['@class'], "_comment_", [aString]);
|
|
return self;}
|
|
return self;}
|
|
@@ -680,7 +691,7 @@ smalltalk.addMethod(
|
|
unescape('_getNodesFrom_'),
|
|
unescape('_getNodesFrom_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('getNodesFrom%3A'),
|
|
selector: unescape('getNodesFrom%3A'),
|
|
-fn: function (aCollection){
|
|
|
|
|
|
+fn: function (aCollection) {
|
|
var self=this;
|
|
var self=this;
|
|
var children=nil;
|
|
var children=nil;
|
|
var others=nil;
|
|
var others=nil;
|
|
@@ -696,7 +707,7 @@ smalltalk.addMethod(
|
|
unescape('_level'),
|
|
unescape('_level'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('level'),
|
|
selector: unescape('level'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return self['@level'];
|
|
return self['@level'];
|
|
return self;}
|
|
return self;}
|
|
@@ -707,7 +718,7 @@ smalltalk.addMethod(
|
|
unescape('_level_'),
|
|
unescape('_level_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('level%3A'),
|
|
selector: unescape('level%3A'),
|
|
-fn: function (anInteger){
|
|
|
|
|
|
+fn: function (anInteger) {
|
|
var self=this;
|
|
var self=this;
|
|
(self['@level']=anInteger);
|
|
(self['@level']=anInteger);
|
|
return self;}
|
|
return self;}
|
|
@@ -718,7 +729,7 @@ smalltalk.addMethod(
|
|
unescape('_nodes'),
|
|
unescape('_nodes'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('nodes'),
|
|
selector: unescape('nodes'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return self['@nodes'];
|
|
return self['@nodes'];
|
|
return self;}
|
|
return self;}
|
|
@@ -729,7 +740,7 @@ smalltalk.addMethod(
|
|
unescape('_theClass'),
|
|
unescape('_theClass'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('theClass'),
|
|
selector: unescape('theClass'),
|
|
-fn: function (){
|
|
|
|
|
|
+fn: function () {
|
|
var self=this;
|
|
var self=this;
|
|
return self['@theClass'];
|
|
return self['@theClass'];
|
|
return self;}
|
|
return self;}
|
|
@@ -740,7 +751,7 @@ smalltalk.addMethod(
|
|
unescape('_theClass_'),
|
|
unescape('_theClass_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('theClass%3A'),
|
|
selector: unescape('theClass%3A'),
|
|
-fn: function (aClass){
|
|
|
|
|
|
+fn: function (aClass) {
|
|
var self=this;
|
|
var self=this;
|
|
(self['@theClass']=aClass);
|
|
(self['@theClass']=aClass);
|
|
return self;}
|
|
return self;}
|
|
@@ -751,7 +762,7 @@ smalltalk.addMethod(
|
|
unescape('_traverseClassesWith_'),
|
|
unescape('_traverseClassesWith_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('traverseClassesWith%3A'),
|
|
selector: unescape('traverseClassesWith%3A'),
|
|
-fn: function (aCollection){
|
|
|
|
|
|
+fn: function (aCollection) {
|
|
var self=this;
|
|
var self=this;
|
|
smalltalk.send(aCollection, "_add_", [smalltalk.send(self, "_theClass", [])]);
|
|
smalltalk.send(aCollection, "_add_", [smalltalk.send(self, "_theClass", [])]);
|
|
smalltalk.send(smalltalk.send(smalltalk.send(self, "_nodes", []), "_sorted_", [(function(a, b){return ((($receiver = smalltalk.send(smalltalk.send(a, "_theClass", []), "_name", [])).klass === smalltalk.Number) ? $receiver <=smalltalk.send(smalltalk.send(b, "_theClass", []), "_name", []) : smalltalk.send($receiver, "__lt_eq", [smalltalk.send(smalltalk.send(b, "_theClass", []), "_name", [])]));})]), "_do_", [(function(aNode){return smalltalk.send(aNode, "_traverseClassesWith_", [aCollection]);})]);
|
|
smalltalk.send(smalltalk.send(smalltalk.send(self, "_nodes", []), "_sorted_", [(function(a, b){return ((($receiver = smalltalk.send(smalltalk.send(a, "_theClass", []), "_name", [])).klass === smalltalk.Number) ? $receiver <=smalltalk.send(smalltalk.send(b, "_theClass", []), "_name", []) : smalltalk.send($receiver, "__lt_eq", [smalltalk.send(smalltalk.send(b, "_theClass", []), "_name", [])]));})]), "_do_", [(function(aNode){return smalltalk.send(aNode, "_traverseClassesWith_", [aCollection]);})]);
|
|
@@ -764,7 +775,7 @@ smalltalk.addMethod(
|
|
unescape('_on_classes_level_'),
|
|
unescape('_on_classes_level_'),
|
|
smalltalk.method({
|
|
smalltalk.method({
|
|
selector: unescape('on%3Aclasses%3Alevel%3A'),
|
|
selector: unescape('on%3Aclasses%3Alevel%3A'),
|
|
-fn: function (aClass, aCollection, anInteger){
|
|
|
|
|
|
+fn: function (aClass, aCollection, anInteger) {
|
|
var self=this;
|
|
var self=this;
|
|
return (function($rec){smalltalk.send($rec, "_theClass_", [aClass]);smalltalk.send($rec, "_level_", [anInteger]);smalltalk.send($rec, "_getNodesFrom_", [aCollection]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
|
|
return (function($rec){smalltalk.send($rec, "_theClass_", [aClass]);smalltalk.send($rec, "_level_", [anInteger]);smalltalk.send($rec, "_getNodesFrom_", [aCollection]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
|
|
return self;}
|
|
return self;}
|