|
@@ -8,7 +8,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return smalltalk.send(self['@nodes'], "_ifNil_", [(function(){return self['@nodes']=smalltalk.send(smalltalk.Array, "_new", []);})]);
|
|
|
return self;},
|
|
|
-source: unescape('nodes%0A%09%5Enodes%20ifNil%3A%20%5Bnodes%20%3A%3D%20Array%20new%5D%0A'),
|
|
|
+source: unescape('nodes%0A%09%5Enodes%20ifNil%3A%20%5Bnodes%20%3A%3D%20Array%20new%5D'),
|
|
|
messageSends: ["ifNil:", "new"],
|
|
|
referencedClasses: [smalltalk.Array]
|
|
|
}),
|
|
@@ -23,7 +23,7 @@ fn: function (aCollection){
|
|
|
var self=this;
|
|
|
self['@nodes']=aCollection;
|
|
|
return self;},
|
|
|
-source: unescape('nodes%3A%20aCollection%0A%09nodes%20%3A%3D%20aCollection%0A'),
|
|
|
+source: unescape('nodes%3A%20aCollection%0A%09nodes%20%3A%3D%20aCollection'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -38,7 +38,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(smalltalk.send(self, "_nodes", []), "_add_", [aNode]);
|
|
|
return self;},
|
|
|
-source: unescape('addNode%3A%20aNode%0A%09self%20nodes%20add%3A%20aNode%0A'),
|
|
|
+source: unescape('addNode%3A%20aNode%0A%09self%20nodes%20add%3A%20aNode'),
|
|
|
messageSends: ["add:", "nodes"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -53,7 +53,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitNode%3A%20self'),
|
|
|
messageSends: ["visitNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -71,7 +71,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return self['@selector'];
|
|
|
return self;},
|
|
|
-source: unescape('selector%0A%09%5Eselector%0A'),
|
|
|
+source: unescape('selector%0A%09%5Eselector'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -86,7 +86,7 @@ fn: function (aString){
|
|
|
var self=this;
|
|
|
self['@selector']=aString;
|
|
|
return self;},
|
|
|
-source: unescape('selector%3A%20aString%0A%09selector%20%3A%3D%20aString%0A'),
|
|
|
+source: unescape('selector%3A%20aString%0A%09selector%20%3A%3D%20aString'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -101,7 +101,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return smalltalk.send(self['@arguments'], "_ifNil_", [(function(){return [];})]);
|
|
|
return self;},
|
|
|
-source: unescape('arguments%0A%09%5Earguments%20ifNil%3A%20%5B%23%28%29%5D%0A'),
|
|
|
+source: unescape('arguments%0A%09%5Earguments%20ifNil%3A%20%5B%23%28%29%5D'),
|
|
|
messageSends: ["ifNil:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -116,7 +116,7 @@ fn: function (aCollection){
|
|
|
var self=this;
|
|
|
self['@arguments']=aCollection;
|
|
|
return self;},
|
|
|
-source: unescape('arguments%3A%20aCollection%0A%09arguments%20%3A%3D%20aCollection%0A'),
|
|
|
+source: unescape('arguments%3A%20aCollection%0A%09arguments%20%3A%3D%20aCollection'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -131,7 +131,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return self['@source'];
|
|
|
return self;},
|
|
|
-source: unescape('source%0A%09%5Esource%0A'),
|
|
|
+source: unescape('source%0A%09%5Esource'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -146,7 +146,7 @@ fn: function (aString){
|
|
|
var self=this;
|
|
|
self['@source']=aString;
|
|
|
return self;},
|
|
|
-source: unescape('source%3A%20aString%0A%09source%20%3A%3D%20aString%0A'),
|
|
|
+source: unescape('source%3A%20aString%0A%09source%20%3A%3D%20aString'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -161,7 +161,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitMethodNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitMethodNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitMethodNode%3A%20self'),
|
|
|
messageSends: ["visitMethodNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -179,7 +179,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return self['@selector'];
|
|
|
return self;},
|
|
|
-source: unescape('selector%0A%09%5Eselector%0A'),
|
|
|
+source: unescape('selector%0A%09%5Eselector'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -194,7 +194,7 @@ fn: function (aString){
|
|
|
var self=this;
|
|
|
self['@selector']=aString;
|
|
|
return self;},
|
|
|
-source: unescape('selector%3A%20aString%0A%09selector%20%3A%3D%20aString%0A'),
|
|
|
+source: unescape('selector%3A%20aString%0A%09selector%20%3A%3D%20aString'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -209,7 +209,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return smalltalk.send(self['@arguments'], "_ifNil_", [(function(){return self['@arguments']=[];})]);
|
|
|
return self;},
|
|
|
-source: unescape('arguments%0A%09%5Earguments%20ifNil%3A%20%5Barguments%20%3A%3D%20%23%28%29%5D%0A'),
|
|
|
+source: unescape('arguments%0A%09%5Earguments%20ifNil%3A%20%5Barguments%20%3A%3D%20%23%28%29%5D'),
|
|
|
messageSends: ["ifNil:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -224,7 +224,7 @@ fn: function (aCollection){
|
|
|
var self=this;
|
|
|
self['@arguments']=aCollection;
|
|
|
return self;},
|
|
|
-source: unescape('arguments%3A%20aCollection%0A%09arguments%20%3A%3D%20aCollection%0A'),
|
|
|
+source: unescape('arguments%3A%20aCollection%0A%09arguments%20%3A%3D%20aCollection'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -239,7 +239,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return self['@receiver'];
|
|
|
return self;},
|
|
|
-source: unescape('receiver%0A%09%5Ereceiver%0A'),
|
|
|
+source: unescape('receiver%0A%09%5Ereceiver'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -254,7 +254,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
self['@receiver']=aNode;
|
|
|
return self;},
|
|
|
-source: unescape('receiver%3A%20aNode%0A%09receiver%20%3A%3D%20aNode%0A'),
|
|
|
+source: unescape('receiver%3A%20aNode%0A%09receiver%20%3A%3D%20aNode'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -269,7 +269,7 @@ fn: function (anObject){
|
|
|
var self=this;
|
|
|
return (function($rec){smalltalk.send($rec, "_receiver_", [smalltalk.send(smalltalk.send(self, "_receiver", []), "_ifNil_ifNotNil_", [(function(){return anObject;}), (function(){return smalltalk.send(smalltalk.send(self, "_receiver", []), "_valueForReceiver_", [anObject]);})])]);smalltalk.send($rec, "_selector_", [smalltalk.send(self, "_selector", [])]);smalltalk.send($rec, "_arguments_", [smalltalk.send(self, "_arguments", [])]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.SendNode, "_new", []));
|
|
|
return self;},
|
|
|
-source: unescape('valueForReceiver%3A%20anObject%0A%09%5ESendNode%20new%0A%09%20%20%20%20receiver%3A%20%28self%20receiver%20%0A%09%09ifNil%3A%20%5BanObject%5D%0A%09%09ifNotNil%3A%20%5Bself%20receiver%20valueForReceiver%3A%20anObject%5D%29%3B%0A%09%20%20%20%20selector%3A%20self%20selector%3B%0A%09%20%20%20%20arguments%3A%20self%20arguments%3B%0A%09%20%20%20%20yourself%0A'),
|
|
|
+source: unescape('valueForReceiver%3A%20anObject%0A%09%5ESendNode%20new%0A%09%20%20%20%20receiver%3A%20%28self%20receiver%20%0A%09%09ifNil%3A%20%5BanObject%5D%0A%09%09ifNotNil%3A%20%5Bself%20receiver%20valueForReceiver%3A%20anObject%5D%29%3B%0A%09%20%20%20%20selector%3A%20self%20selector%3B%0A%09%20%20%20%20arguments%3A%20self%20arguments%3B%0A%09%20%20%20%20yourself'),
|
|
|
messageSends: ["receiver:", "ifNil:ifNotNil:", "receiver", "valueForReceiver:", "selector:", "selector", "arguments:", "arguments", "yourself", "new"],
|
|
|
referencedClasses: [smalltalk.SendNode]
|
|
|
}),
|
|
@@ -286,9 +286,9 @@ var first=nil;
|
|
|
first=(function($rec){smalltalk.send($rec, "_selector_", [smalltalk.send(self, "_selector", [])]);smalltalk.send($rec, "_arguments_", [smalltalk.send(self, "_arguments", [])]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.SendNode, "_new", []));
|
|
|
return (function($rec){smalltalk.send($rec, "_receiver_", [smalltalk.send(self, "_receiver", [])]);smalltalk.send($rec, "_nodes_", [smalltalk.send(smalltalk.send(smalltalk.Array, "_with_", [first]), "__comma", [aCollection])]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.CascadeNode, "_new", []));
|
|
|
return self;},
|
|
|
-source: unescape('cascadeNodeWithMessages%3A%20aCollection%0A%09%7C%20first%20%7C%0A%09first%20%3A%3D%20SendNode%20new%0A%09%20%20%20%20selector%3A%20self%20selector%3B%0A%09%20%20%20%20arguments%3A%20self%20arguments%3B%0A%09%20%20%20%20yourself.%0A%09%5ECascadeNode%20new%0A%09%20%20%20%20receiver%3A%20self%20receiver%3B%0A%09%20%20%20%20nodes%3A%20%28Array%20with%3A%20first%29%2C%20aCollection%3B%0A%09%20%20%20%20yourself%0A'),
|
|
|
+source: unescape('cascadeNodeWithMessages%3A%20aCollection%0A%09%7C%20first%20%7C%0A%09first%20%3A%3D%20SendNode%20new%0A%09%20%20%20%20selector%3A%20self%20selector%3B%0A%09%20%20%20%20arguments%3A%20self%20arguments%3B%0A%09%20%20%20%20yourself.%0A%09%5ECascadeNode%20new%0A%09%20%20%20%20receiver%3A%20self%20receiver%3B%0A%09%20%20%20%20nodes%3A%20%28Array%20with%3A%20first%29%2C%20aCollection%3B%0A%09%20%20%20%20yourself'),
|
|
|
messageSends: ["selector:", "selector", "arguments:", "arguments", "yourself", "new", "receiver:", "receiver", "nodes:", unescape("%2C"), "with:"],
|
|
|
-referencedClasses: [smalltalk.SendNode,smalltalk.Array,smalltalk.nil]
|
|
|
+referencedClasses: [smalltalk.SendNode,smalltalk.Array,smalltalk.CascadeNode]
|
|
|
}),
|
|
|
smalltalk.SendNode);
|
|
|
|
|
@@ -301,7 +301,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitSendNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitSendNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitSendNode%3A%20self'),
|
|
|
messageSends: ["visitSendNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -319,7 +319,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return self['@receiver'];
|
|
|
return self;},
|
|
|
-source: unescape('receiver%0A%09%5Ereceiver%0A'),
|
|
|
+source: unescape('receiver%0A%09%5Ereceiver'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -334,7 +334,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
self['@receiver']=aNode;
|
|
|
return self;},
|
|
|
-source: unescape('receiver%3A%20aNode%0A%09receiver%20%3A%3D%20aNode%0A'),
|
|
|
+source: unescape('receiver%3A%20aNode%0A%09receiver%20%3A%3D%20aNode'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -349,7 +349,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitCascadeNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitCascadeNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitCascadeNode%3A%20self'),
|
|
|
messageSends: ["visitCascadeNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -367,7 +367,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return self['@left'];
|
|
|
return self;},
|
|
|
-source: unescape('left%0A%09%5Eleft%0A'),
|
|
|
+source: unescape('left%0A%09%5Eleft'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -382,7 +382,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
self['@left']=aNode;
|
|
|
return self;},
|
|
|
-source: unescape('left%3A%20aNode%0A%09left%20%3A%3D%20aNode%0A'),
|
|
|
+source: unescape('left%3A%20aNode%0A%09left%20%3A%3D%20aNode'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -397,7 +397,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return self['@right'];
|
|
|
return self;},
|
|
|
-source: unescape('right%0A%09%5Eright%0A'),
|
|
|
+source: unescape('right%0A%09%5Eright'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -412,7 +412,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
self['@right']=aNode;
|
|
|
return self;},
|
|
|
-source: unescape('right%3A%20aNode%0A%09right%20%3A%3D%20aNode%0A'),
|
|
|
+source: unescape('right%3A%20aNode%0A%09right%20%3A%3D%20aNode'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -427,7 +427,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitAssignmentNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitAssignmentNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitAssignmentNode%3A%20self'),
|
|
|
messageSends: ["visitAssignmentNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -445,7 +445,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return smalltalk.send(self['@parameters'], "_ifNil_", [(function(){return self['@parameters']=smalltalk.send(smalltalk.Array, "_new", []);})]);
|
|
|
return self;},
|
|
|
-source: unescape('parameters%0A%09%5Eparameters%20ifNil%3A%20%5Bparameters%20%3A%3D%20Array%20new%5D%0A'),
|
|
|
+source: unescape('parameters%0A%09%5Eparameters%20ifNil%3A%20%5Bparameters%20%3A%3D%20Array%20new%5D'),
|
|
|
messageSends: ["ifNil:", "new"],
|
|
|
referencedClasses: [smalltalk.Array]
|
|
|
}),
|
|
@@ -460,7 +460,7 @@ fn: function (aCollection){
|
|
|
var self=this;
|
|
|
self['@parameters']=aCollection;
|
|
|
return self;},
|
|
|
-source: unescape('parameters%3A%20aCollection%0A%09parameters%20%3A%3D%20aCollection%0A'),
|
|
|
+source: unescape('parameters%3A%20aCollection%0A%09parameters%20%3A%3D%20aCollection'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -475,7 +475,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitBlockNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitBlockNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitBlockNode%3A%20self'),
|
|
|
messageSends: ["visitBlockNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -493,7 +493,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return smalltalk.send(self['@temps'], "_ifNil_", [(function(){return [];})]);
|
|
|
return self;},
|
|
|
-source: unescape('temps%0A%09%5Etemps%20ifNil%3A%20%5B%23%28%29%5D%0A'),
|
|
|
+source: unescape('temps%0A%09%5Etemps%20ifNil%3A%20%5B%23%28%29%5D'),
|
|
|
messageSends: ["ifNil:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -508,7 +508,7 @@ fn: function (aCollection){
|
|
|
var self=this;
|
|
|
self['@temps']=aCollection;
|
|
|
return self;},
|
|
|
-source: unescape('temps%3A%20aCollection%0A%09temps%20%3A%3D%20aCollection%0A'),
|
|
|
+source: unescape('temps%3A%20aCollection%0A%09temps%20%3A%3D%20aCollection'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -523,9 +523,9 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return (function($rec){smalltalk.send($rec, "_nodes_", [smalltalk.send(self, "_nodes", [])]);smalltalk.send($rec, "_temps_", [smalltalk.send(self, "_temps", [])]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(smalltalk.BlockSequenceNode, "_new", []));
|
|
|
return self;},
|
|
|
-source: unescape('asBlockSequenceNode%0A%09%5EBlockSequenceNode%20new%0A%09%20%20%20%20nodes%3A%20self%20nodes%3B%0A%09%20%20%20%20temps%3A%20self%20temps%3B%0A%09%20%20%20%20yourself%0A'),
|
|
|
+source: unescape('asBlockSequenceNode%0A%09%5EBlockSequenceNode%20new%0A%09%20%20%20%20nodes%3A%20self%20nodes%3B%0A%09%20%20%20%20temps%3A%20self%20temps%3B%0A%09%20%20%20%20yourself'),
|
|
|
messageSends: ["nodes:", "nodes", "temps:", "temps", "yourself", "new"],
|
|
|
-referencedClasses: [smalltalk.nil]
|
|
|
+referencedClasses: [smalltalk.BlockSequenceNode]
|
|
|
}),
|
|
|
smalltalk.SequenceNode);
|
|
|
|
|
@@ -538,7 +538,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitSequenceNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitSequenceNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitSequenceNode%3A%20self'),
|
|
|
messageSends: ["visitSequenceNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -556,7 +556,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitBlockSequenceNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitBlockSequenceNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitBlockSequenceNode%3A%20self'),
|
|
|
messageSends: ["visitBlockSequenceNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -574,7 +574,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitReturnNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitReturnNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitReturnNode%3A%20self'),
|
|
|
messageSends: ["visitReturnNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -592,7 +592,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return self['@value'];
|
|
|
return self;},
|
|
|
-source: unescape('value%0A%09%5Evalue%0A'),
|
|
|
+source: unescape('value%0A%09%5Evalue'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -607,7 +607,7 @@ fn: function (anObject){
|
|
|
var self=this;
|
|
|
self['@value']=anObject;
|
|
|
return self;},
|
|
|
-source: unescape('value%3A%20anObject%0A%09value%20%3A%3D%20anObject%0A'),
|
|
|
+source: unescape('value%3A%20anObject%0A%09value%20%3A%3D%20anObject'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -622,7 +622,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitValueNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitValueNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitValueNode%3A%20self'),
|
|
|
messageSends: ["visitValueNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -640,7 +640,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitVariableNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitVariableNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitVariableNode%3A%20self'),
|
|
|
messageSends: ["visitVariableNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -658,7 +658,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitClassReferenceNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitClassReferenceNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitClassReferenceNode%3A%20self'),
|
|
|
messageSends: ["visitClassReferenceNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -676,7 +676,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return smalltalk.send(self['@source'], "_ifNil_", [(function(){return "";})]);
|
|
|
return self;},
|
|
|
-source: unescape('source%0A%09%5Esource%20ifNil%3A%20%5B%27%27%5D%0A'),
|
|
|
+source: unescape('source%0A%09%5Esource%20ifNil%3A%20%5B%27%27%5D'),
|
|
|
messageSends: ["ifNil:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -691,7 +691,7 @@ fn: function (aString){
|
|
|
var self=this;
|
|
|
self['@source']=aString;
|
|
|
return self;},
|
|
|
-source: unescape('source%3A%20aString%0A%09source%20%3A%3D%20aString%0A'),
|
|
|
+source: unescape('source%3A%20aString%0A%09source%20%3A%3D%20aString'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -706,7 +706,7 @@ fn: function (aVisitor){
|
|
|
var self=this;
|
|
|
smalltalk.send(aVisitor, "_visitJSStatementNode_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitJSStatementNode%3A%20self%0A'),
|
|
|
+source: unescape('accept%3A%20aVisitor%0A%09aVisitor%20visitJSStatementNode%3A%20self'),
|
|
|
messageSends: ["visitJSStatementNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -724,7 +724,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(aNode, "_accept_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('visit%3A%20aNode%0A%09aNode%20accept%3A%20self%0A'),
|
|
|
+source: unescape('visit%3A%20aNode%0A%09aNode%20accept%3A%20self'),
|
|
|
messageSends: ["accept:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -739,7 +739,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
|
|
|
return self;},
|
|
|
-source: unescape('visitNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitNode%3A%20aNode'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -754,7 +754,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(self, "_visitNode_", [aNode]);
|
|
|
return self;},
|
|
|
-source: unescape('visitMethodNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitMethodNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode'),
|
|
|
messageSends: ["visitNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -769,7 +769,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(self, "_visitNode_", [aNode]);
|
|
|
return self;},
|
|
|
-source: unescape('visitSequenceNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitSequenceNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode'),
|
|
|
messageSends: ["visitNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -784,7 +784,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(self, "_visitSequenceNode_", [aNode]);
|
|
|
return self;},
|
|
|
-source: unescape('visitBlockSequenceNode%3A%20aNode%0A%09self%20visitSequenceNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitBlockSequenceNode%3A%20aNode%0A%09self%20visitSequenceNode%3A%20aNode'),
|
|
|
messageSends: ["visitSequenceNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -799,7 +799,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(self, "_visitNode_", [aNode]);
|
|
|
return self;},
|
|
|
-source: unescape('visitBlockNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitBlockNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode'),
|
|
|
messageSends: ["visitNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -814,7 +814,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(self, "_visitNode_", [aNode]);
|
|
|
return self;},
|
|
|
-source: unescape('visitReturnNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitReturnNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode'),
|
|
|
messageSends: ["visitNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -829,7 +829,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(self, "_visitNode_", [aNode]);
|
|
|
return self;},
|
|
|
-source: unescape('visitSendNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitSendNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode'),
|
|
|
messageSends: ["visitNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -844,7 +844,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(self, "_visitNode_", [aNode]);
|
|
|
return self;},
|
|
|
-source: unescape('visitCascadeNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitCascadeNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode'),
|
|
|
messageSends: ["visitNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -859,7 +859,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(self, "_visitNode_", [aNode]);
|
|
|
return self;},
|
|
|
-source: unescape('visitValueNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitValueNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode'),
|
|
|
messageSends: ["visitNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -874,7 +874,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
|
|
|
return self;},
|
|
|
-source: unescape('visitVariableNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitVariableNode%3A%20aNode'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -889,7 +889,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(self, "_visitNode_", [aNode]);
|
|
|
return self;},
|
|
|
-source: unescape('visitAssignmentNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode%0A'),
|
|
|
+source: unescape('visitAssignmentNode%3A%20aNode%0A%09self%20visitNode%3A%20aNode'),
|
|
|
messageSends: ["visitNode:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -904,7 +904,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
(function($rec){smalltalk.send($rec, "_nextPutAll_", ["smalltalk."]);return smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(aNode, "_value", [])]);})(self);
|
|
|
return self;},
|
|
|
-source: unescape('visitClassReferenceNode%3A%20aNode%0A%09self%20%0A%09%20%20%20%20nextPutAll%3A%20%27smalltalk.%27%3B%0A%09%20%20%20%20nextPutAll%3A%20aNode%20value%0A'),
|
|
|
+source: unescape('visitClassReferenceNode%3A%20aNode%0A%09self%20%0A%09%20%20%20%20nextPutAll%3A%20%27smalltalk.%27%3B%0A%09%20%20%20%20nextPutAll%3A%20aNode%20value'),
|
|
|
messageSends: ["nextPutAll:", "value"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -919,7 +919,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
(function($rec){smalltalk.send($rec, "_nextPutAll_", [unescape("function%28%29%7B")]);smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(aNode, "_source", [])]);return smalltalk.send($rec, "_nextPutAll_", [unescape("%7D%29%28%29")]);})(self);
|
|
|
return self;},
|
|
|
-source: unescape('visitJSStatementNode%3A%20aNode%0A%09self%20%0A%09%20%20%20%20nextPutAll%3A%20%27function%28%29%7B%27%3B%0A%09%20%20%20%20nextPutAll%3A%20aNode%20source%3B%0A%09%20%20%20%20nextPutAll%3A%20%27%7D%29%28%29%27%0A'),
|
|
|
+source: unescape('visitJSStatementNode%3A%20aNode%0A%09self%20%0A%09%20%20%20%20nextPutAll%3A%20%27function%28%29%7B%27%3B%0A%09%20%20%20%20nextPutAll%3A%20aNode%20source%3B%0A%09%20%20%20%20nextPutAll%3A%20%27%7D%29%28%29%27'),
|
|
|
messageSends: ["nextPutAll:", "source"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -942,7 +942,7 @@ self['@tempVariables']=[];
|
|
|
self['@messageSends']=[];
|
|
|
classReferenced=[];
|
|
|
return self;},
|
|
|
-source: unescape('initialize%0A%09super%20initialize.%0A%09stream%20%3A%3D%20%27%27%20writeStream.%0A%09unknownVariables%20%3A%3D%20%23%28%29.%0A%09tempVariables%20%3A%3D%20%23%28%29.%0A%09messageSends%20%3A%3D%20%23%28%29.%0A%09classReferenced%20%3A%3D%20%23%28%29%0A'),
|
|
|
+source: unescape('initialize%0A%09super%20initialize.%0A%09stream%20%3A%3D%20%27%27%20writeStream.%0A%09unknownVariables%20%3A%3D%20%23%28%29.%0A%09tempVariables%20%3A%3D%20%23%28%29.%0A%09messageSends%20%3A%3D%20%23%28%29.%0A%09classReferenced%20%3A%3D%20%23%28%29'),
|
|
|
messageSends: ["initialize", "writeStream"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -957,7 +957,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return smalltalk.send(smalltalk.SmalltalkParser, "_new", []);
|
|
|
return self;},
|
|
|
-source: unescape('parser%0A%09%5ESmalltalkParser%20new%0A'),
|
|
|
+source: unescape('parser%0A%09%5ESmalltalkParser%20new'),
|
|
|
messageSends: ["new"],
|
|
|
referencedClasses: [smalltalk.SmalltalkParser]
|
|
|
}),
|
|
@@ -972,7 +972,7 @@ fn: function (){
|
|
|
var self=this;
|
|
|
return self['@currentClass'];
|
|
|
return self;},
|
|
|
-source: unescape('currentClass%0A%09%5EcurrentClass%0A'),
|
|
|
+source: unescape('currentClass%0A%09%5EcurrentClass'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -987,7 +987,7 @@ fn: function (aClass){
|
|
|
var self=this;
|
|
|
self['@currentClass']=aClass;
|
|
|
return self;},
|
|
|
-source: unescape('currentClass%3A%20aClass%0A%09currentClass%20%3A%3D%20aClass%0A'),
|
|
|
+source: unescape('currentClass%3A%20aClass%0A%09currentClass%20%3A%3D%20aClass'),
|
|
|
messageSends: [],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1003,9 +1003,9 @@ var self=this;
|
|
|
smalltalk.send(smalltalk.DoIt, "_addCompiledMethod_", [smalltalk.send(self, "_eval_", [smalltalk.send(self, "_compileExpression_", [aString])])]);
|
|
|
return smalltalk.send(smalltalk.send(smalltalk.DoIt, "_new", []), "_doIt", []);
|
|
|
return self;},
|
|
|
-source: unescape('loadExpression%3A%20aString%0A%09DoIt%20addCompiledMethod%3A%20%28self%20eval%3A%20%28self%20compileExpression%3A%20aString%29%29.%0A%09%5EDoIt%20new%20doIt%0A'),
|
|
|
+source: unescape('loadExpression%3A%20aString%0A%09DoIt%20addCompiledMethod%3A%20%28self%20eval%3A%20%28self%20compileExpression%3A%20aString%29%29.%0A%09%5EDoIt%20new%20doIt'),
|
|
|
messageSends: ["addCompiledMethod:", "eval:", "compileExpression:", "doIt", "new"],
|
|
|
-referencedClasses: [smalltalk.nil]
|
|
|
+referencedClasses: [smalltalk.DoIt]
|
|
|
}),
|
|
|
smalltalk.Compiler);
|
|
|
|
|
@@ -1018,7 +1018,7 @@ fn: function (aString, aClass){
|
|
|
var self=this;
|
|
|
return smalltalk.send(self, "_eval_", [smalltalk.send(self, "_compile_forClass_", [aString, aClass])]);
|
|
|
return self;},
|
|
|
-source: unescape('load%3A%20aString%20forClass%3A%20aClass%0A%09%5Eself%20eval%3A%20%28self%20compile%3A%20aString%20forClass%3A%20aClass%29%0A'),
|
|
|
+source: unescape('load%3A%20aString%20forClass%3A%20aClass%0A%09%5Eself%20eval%3A%20%28self%20compile%3A%20aString%20forClass%3A%20aClass%29'),
|
|
|
messageSends: ["eval:", "compile:forClass:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1050,9 +1050,9 @@ var self=this;
|
|
|
smalltalk.send(self, "_currentClass_", [smalltalk.DoIt]);
|
|
|
return smalltalk.send(self, "_compileNode_", [smalltalk.send(self, "_parseExpression_", [aString])]);
|
|
|
return self;},
|
|
|
-source: unescape('compileExpression%3A%20aString%0A%09self%20currentClass%3A%20DoIt.%0A%09%5Eself%20compileNode%3A%20%28self%20parseExpression%3A%20aString%29%0A'),
|
|
|
+source: unescape('compileExpression%3A%20aString%0A%09self%20currentClass%3A%20DoIt.%0A%09%5Eself%20compileNode%3A%20%28self%20parseExpression%3A%20aString%29'),
|
|
|
messageSends: ["currentClass:", "compileNode:", "parseExpression:"],
|
|
|
-referencedClasses: [smalltalk.nil]
|
|
|
+referencedClasses: [smalltalk.DoIt]
|
|
|
}),
|
|
|
smalltalk.Compiler);
|
|
|
|
|
@@ -1080,7 +1080,7 @@ fn: function (aString){
|
|
|
var self=this;
|
|
|
return smalltalk.send(self, "_compileNode_", [smalltalk.send(self, "_parse_", [aString])]);
|
|
|
return self;},
|
|
|
-source: unescape('compile%3A%20aString%0A%09%5Eself%20compileNode%3A%20%28self%20parse%3A%20aString%29%0A'),
|
|
|
+source: unescape('compile%3A%20aString%0A%09%5Eself%20compileNode%3A%20%28self%20parse%3A%20aString%29'),
|
|
|
messageSends: ["compileNode:", "parse:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1097,7 +1097,7 @@ self['@stream']=smalltalk.send("", "_writeStream", []);
|
|
|
smalltalk.send(self, "_visit_", [aNode]);
|
|
|
return smalltalk.send(self['@stream'], "_contents", []);
|
|
|
return self;},
|
|
|
-source: unescape('compileNode%3A%20aNode%0A%09stream%20%3A%3D%20%27%27%20writeStream.%0A%09self%20visit%3A%20aNode.%0A%09%5Estream%20contents%0A'),
|
|
|
+source: unescape('compileNode%3A%20aNode%0A%09stream%20%3A%3D%20%27%27%20writeStream.%0A%09self%20visit%3A%20aNode.%0A%09%5Estream%20contents'),
|
|
|
messageSends: ["writeStream", "visit:", "contents"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1112,7 +1112,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(aNode, "_accept_", [self]);
|
|
|
return self;},
|
|
|
-source: unescape('visit%3A%20aNode%0A%09aNode%20accept%3A%20self%0A'),
|
|
|
+source: unescape('visit%3A%20aNode%0A%09aNode%20accept%3A%20self'),
|
|
|
messageSends: ["accept:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1170,7 +1170,7 @@ smalltalk.send(self['@stream'], "_nextPutAll_", [unescape("%29%7B")]);
|
|
|
smalltalk.send(smalltalk.send(aNode, "_nodes", []), "_do_", [(function(each){return smalltalk.send(self, "_visit_", [each]);})]);
|
|
|
smalltalk.send(self['@stream'], "_nextPutAll_", [unescape("%7D%29")]);
|
|
|
return self;},
|
|
|
-source: unescape('visitBlockNode%3A%20aNode%0A%09stream%20nextPutAll%3A%20%27%28function%28%27.%0A%09aNode%20parameters%20%0A%09%20%20%20%20do%3A%20%5B%3Aeach%20%7C%0A%09%09tempVariables%20add%3A%20each.%0A%09%09stream%20nextPutAll%3A%20each%5D%0A%09%20%20%20%20separatedBy%3A%20%5Bstream%20nextPutAll%3A%20%27%2C%20%27%5D.%0A%09stream%20nextPutAll%3A%20%27%29%7B%27.%0A%09aNode%20nodes%20do%3A%20%5B%3Aeach%20%7C%20self%20visit%3A%20each%5D.%0A%09stream%20nextPutAll%3A%20%27%7D%29%27%0A'),
|
|
|
+source: unescape('visitBlockNode%3A%20aNode%0A%09stream%20nextPutAll%3A%20%27%28function%28%27.%0A%09aNode%20parameters%20%0A%09%20%20%20%20do%3A%20%5B%3Aeach%20%7C%0A%09%09tempVariables%20add%3A%20each.%0A%09%09stream%20nextPutAll%3A%20each%5D%0A%09%20%20%20%20separatedBy%3A%20%5Bstream%20nextPutAll%3A%20%27%2C%20%27%5D.%0A%09stream%20nextPutAll%3A%20%27%29%7B%27.%0A%09aNode%20nodes%20do%3A%20%5B%3Aeach%20%7C%20self%20visit%3A%20each%5D.%0A%09stream%20nextPutAll%3A%20%27%7D%29%27'),
|
|
|
messageSends: ["nextPutAll:", "do:separatedBy:", "parameters", "add:", "do:", "nodes", "visit:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1183,9 +1183,10 @@ selector: 'visitSequenceNode:',
|
|
|
category: 'visiting',
|
|
|
fn: function (aNode){
|
|
|
var self=this;
|
|
|
-smalltalk.send(smalltalk.send(aNode, "_temps", []), "_do_", [(function(each){smalltalk.send(self['@tempVariables'], "_add_", [each]);return (function($rec){smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(smalltalk.send("var ", "__comma", [each]), "__comma", [unescape("%3Dnil%3B")])]);return smalltalk.send($rec, "_lf", []);})(self['@stream']);})]);
smalltalk.send(smalltalk.send(aNode, "_nodes", []), "_do_separatedBy_", [(function(each){smalltalk.send(self, "_visit_", [each]);return smalltalk.send(self['@stream'], "_nextPutAll_", [unescape("%3B")]);}), (function(){return smalltalk.send(self['@stream'], "_lf", []);})]);
|
|
|
+smalltalk.send(smalltalk.send(aNode, "_temps", []), "_do_", [(function(each){smalltalk.send(self['@tempVariables'], "_add_", [each]);return (function($rec){smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(smalltalk.send("var ", "__comma", [each]), "__comma", [unescape("%3Dnil%3B")])]);return smalltalk.send($rec, "_lf", []);})(self['@stream']);})]);
|
|
|
+smalltalk.send(smalltalk.send(aNode, "_nodes", []), "_do_separatedBy_", [(function(each){smalltalk.send(self, "_visit_", [each]);return smalltalk.send(self['@stream'], "_nextPutAll_", [unescape("%3B")]);}), (function(){return smalltalk.send(self['@stream'], "_lf", []);})]);
|
|
|
return self;},
|
|
|
-source: unescape('visitSequenceNode%3A%20aNode%0A%09aNode%20temps%20do%3A%20%5B%3Aeach%20%7C%0A%09%20%20%20%20tempVariables%20add%3A%20each.%0A%09%20%20%20%20stream%20nextPutAll%3A%20%27var%20%27%2C%20each%2C%20%27%3Dnil%3B%27%3B%20lf%5D.%0A%09aNode%20nodes%20do%3A%20%5B%3Aeach%20%7C%0A%09%20%20%20%20self%20visit%3A%20each.%0A%09%20%20%20%20stream%20nextPutAll%3A%20%27%3B%27%5D%0A%09%20%20%20%20separatedBy%3A%20%5Bstream%20lf%5D%0A'),
|
|
|
+source: unescape('visitSequenceNode%3A%20aNode%0A%09aNode%20temps%20do%3A%20%5B%3Aeach%20%7C%0A%09%20%20%20%20tempVariables%20add%3A%20each.%0A%09%20%20%20%20stream%20nextPutAll%3A%20%27var%20%27%2C%20each%2C%20%27%3Dnil%3B%27%3B%20lf%5D.%0A%09aNode%20nodes%20do%3A%20%5B%3Aeach%20%7C%0A%09%20%20%20%20self%20visit%3A%20each.%0A%09%20%20%20%20stream%20nextPutAll%3A%20%27%3B%27%5D%0A%09%20%20%20%20separatedBy%3A%20%5Bstream%20lf%5D'),
|
|
|
messageSends: ["do:", "temps", "add:", "nextPutAll:", unescape("%2C"), "lf", "do:separatedBy:", "nodes", "visit:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1203,7 +1204,7 @@ self['@nestedBlocks']=smalltalk.send(self['@nestedBlocks'], "__plus", [(1)]);
|
|
|
smalltalk.send(smalltalk.send(smalltalk.send(aNode, "_nodes", []), "_isEmpty", []), "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@stream'], "_nextPutAll_", [unescape("return%20nil%3B")]);}), (function(){smalltalk.send(smalltalk.send(aNode, "_temps", []), "_do_", [(function(each){smalltalk.send(self['@tempVariables'], "_add_", [each]);return (function($rec){smalltalk.send($rec, "_nextPutAll_", [smalltalk.send(smalltalk.send("var ", "__comma", [each]), "__comma", [unescape("%3Dnil%3B")])]);return smalltalk.send($rec, "_lf", []);})(self['@stream']);})]);index=(0);return smalltalk.send(smalltalk.send(aNode, "_nodes", []), "_do_", [(function(each){index=smalltalk.send(index, "__plus", [(1)]);smalltalk.send(smalltalk.send(index, "__eq", [smalltalk.send(smalltalk.send(aNode, "_nodes", []), "_size", [])]), "_ifTrue_", [(function(){return smalltalk.send(self['@stream'], "_nextPutAll_", ["return "]);})]);smalltalk.send(self, "_visit_", [each]);return smalltalk.send(self['@stream'], "_nextPutAll_", [unescape("%3B")]);})]);})]);
|
|
|
self['@nestedBlocks']=smalltalk.send(self['@nestedBlocks'], "__minus", [(1)]);
|
|
|
return self;},
|
|
|
-source: unescape('visitBlockSequenceNode%3A%20aNode%0A%09%7C%20index%20%7C%0A%09nestedBlocks%20%3A%3D%20nestedBlocks%20+%201.%0A%09aNode%20nodes%20isEmpty%0A%09%20%20%20%20ifTrue%3A%20%5B%0A%09%09stream%20nextPutAll%3A%20%27return%20nil%3B%27%5D%0A%09%20%20%20%20ifFalse%3A%20%5B%0A%09%09aNode%20temps%20do%3A%20%5B%3Aeach%20%7C%0A%09%09%20%20%20%20tempVariables%20add%3A%20each.%0A%09%09%20%20%20%20stream%20nextPutAll%3A%20%27var%20%27%2C%20each%2C%20%27%3Dnil%3B%27%3B%20lf%5D.%0A%09%09index%20%3A%3D%200.%0A%09%09aNode%20nodes%20do%3A%20%5B%3Aeach%20%7C%0A%09%09%20%20%20%20index%20%3A%3D%20index%20+%201.%0A%09%09%20%20%20%20index%20%3D%20aNode%20nodes%20size%20ifTrue%3A%20%5B%0A%09%09%09stream%20nextPutAll%3A%20%27return%20%27%5D.%0A%09%09%20%20%20%20self%20visit%3A%20each.%0A%09%09%20%20%20%20stream%20nextPutAll%3A%20%27%3B%27%5D%5D.%0A%09nestedBlocks%20%3A%3D%20nestedBlocks%20-%201%0A'),
|
|
|
+source: unescape('visitBlockSequenceNode%3A%20aNode%0A%09%7C%20index%20%7C%0A%09nestedBlocks%20%3A%3D%20nestedBlocks%20+%201.%0A%09aNode%20nodes%20isEmpty%0A%09%20%20%20%20ifTrue%3A%20%5B%0A%09%09stream%20nextPutAll%3A%20%27return%20nil%3B%27%5D%0A%09%20%20%20%20ifFalse%3A%20%5B%0A%09%09aNode%20temps%20do%3A%20%5B%3Aeach%20%7C%0A%09%09%20%20%20%20tempVariables%20add%3A%20each.%0A%09%09%20%20%20%20stream%20nextPutAll%3A%20%27var%20%27%2C%20each%2C%20%27%3Dnil%3B%27%3B%20lf%5D.%0A%09%09index%20%3A%3D%200.%0A%09%09aNode%20nodes%20do%3A%20%5B%3Aeach%20%7C%0A%09%09%20%20%20%20index%20%3A%3D%20index%20+%201.%0A%09%09%20%20%20%20index%20%3D%20aNode%20nodes%20size%20ifTrue%3A%20%5B%0A%09%09%09stream%20nextPutAll%3A%20%27return%20%27%5D.%0A%09%09%20%20%20%20self%20visit%3A%20each.%0A%09%09%20%20%20%20stream%20nextPutAll%3A%20%27%3B%27%5D%5D.%0A%09nestedBlocks%20%3A%3D%20nestedBlocks%20-%201'),
|
|
|
messageSends: [unescape("+"), "ifTrue:ifFalse:", "isEmpty", "nodes", "nextPutAll:", "do:", "temps", "add:", unescape("%2C"), "lf", "ifTrue:", unescape("%3D"), "size", "visit:", unescape("-")],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1274,7 +1275,7 @@ smalltalk.send(self['@stream'], "_nextPutAll_", [unescape("%7D%29%28")]);
|
|
|
smalltalk.send(self, "_visit_", [smalltalk.send(aNode, "_receiver", [])]);
|
|
|
smalltalk.send(self['@stream'], "_nextPutAll_", [unescape("%29")]);
|
|
|
return self;},
|
|
|
-source: unescape('visitCascadeNode%3A%20aNode%0A%09%7C%20index%20%7C%0A%09index%20%3A%3D%200.%0A%09%28tempVariables%20includes%3A%20%27%24rec%27%29%20ifFalse%3A%20%5B%0A%09%09tempVariables%20add%3A%20%27%24rec%27%5D.%0A%09stream%20nextPutAll%3A%20%27%28function%28%24rec%29%7B%27.%0A%09aNode%20nodes%20do%3A%20%5B%3Aeach%20%7C%0A%09%20%20%20%20index%20%3A%3D%20index%20+%201.%0A%09%20%20%20%20index%20%3D%20aNode%20nodes%20size%20ifTrue%3A%20%5B%0A%09%09stream%20nextPutAll%3A%20%27return%20%27%5D.%0A%09%20%20%20%20each%20receiver%3A%20%28VariableNode%20new%20value%3A%20%27%24rec%27%29.%0A%09%20%20%20%20self%20visit%3A%20each.%0A%09%20%20%20%20stream%20nextPutAll%3A%20%27%3B%27%5D.%0A%09stream%20nextPutAll%3A%20%27%7D%29%28%27.%0A%09self%20visit%3A%20aNode%20receiver.%0A%09stream%20nextPutAll%3A%20%27%29%27%0A'),
|
|
|
+source: unescape('visitCascadeNode%3A%20aNode%0A%09%7C%20index%20%7C%0A%09index%20%3A%3D%200.%0A%09%28tempVariables%20includes%3A%20%27%24rec%27%29%20ifFalse%3A%20%5B%0A%09%09tempVariables%20add%3A%20%27%24rec%27%5D.%0A%09stream%20nextPutAll%3A%20%27%28function%28%24rec%29%7B%27.%0A%09aNode%20nodes%20do%3A%20%5B%3Aeach%20%7C%0A%09%20%20%20%20index%20%3A%3D%20index%20+%201.%0A%09%20%20%20%20index%20%3D%20aNode%20nodes%20size%20ifTrue%3A%20%5B%0A%09%09stream%20nextPutAll%3A%20%27return%20%27%5D.%0A%09%20%20%20%20each%20receiver%3A%20%28VariableNode%20new%20value%3A%20%27%24rec%27%29.%0A%09%20%20%20%20self%20visit%3A%20each.%0A%09%20%20%20%20stream%20nextPutAll%3A%20%27%3B%27%5D.%0A%09stream%20nextPutAll%3A%20%27%7D%29%28%27.%0A%09self%20visit%3A%20aNode%20receiver.%0A%09stream%20nextPutAll%3A%20%27%29%27'),
|
|
|
messageSends: ["ifFalse:", "includes:", "add:", "nextPutAll:", "do:", "nodes", unescape("+"), "ifTrue:", unescape("%3D"), "size", "receiver:", "value:", "new", "visit:", "receiver"],
|
|
|
referencedClasses: [smalltalk.VariableNode]
|
|
|
}),
|
|
@@ -1289,7 +1290,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(self['@stream'], "_nextPutAll_", [smalltalk.send(smalltalk.send(aNode, "_value", []), "_asJavascript", [])]);
|
|
|
return self;},
|
|
|
-source: unescape('visitValueNode%3A%20aNode%0A%09stream%20nextPutAll%3A%20aNode%20value%20asJavascript%0A'),
|
|
|
+source: unescape('visitValueNode%3A%20aNode%0A%09stream%20nextPutAll%3A%20aNode%20value%20asJavascript'),
|
|
|
messageSends: ["nextPutAll:", "asJavascript", "value"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1306,7 +1307,7 @@ smalltalk.send(self, "_visit_", [smalltalk.send(aNode, "_left", [])]);
|
|
|
smalltalk.send(self['@stream'], "_nextPutAll_", [unescape("%3D")]);
|
|
|
smalltalk.send(self, "_visit_", [smalltalk.send(aNode, "_right", [])]);
|
|
|
return self;},
|
|
|
-source: unescape('visitAssignmentNode%3A%20aNode%0A%09self%20visit%3A%20aNode%20left.%0A%09stream%20nextPutAll%3A%20%27%3D%27.%0A%09self%20visit%3A%20aNode%20right%0A'),
|
|
|
+source: unescape('visitAssignmentNode%3A%20aNode%0A%09self%20visit%3A%20aNode%20left.%0A%09stream%20nextPutAll%3A%20%27%3D%27.%0A%09self%20visit%3A%20aNode%20right'),
|
|
|
messageSends: ["visit:", "left", "nextPutAll:", "right"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1339,7 +1340,7 @@ fn: function (aNode){
|
|
|
var self=this;
|
|
|
smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_currentClass", []), "_instanceVariableNames", []), "_includes_", [smalltalk.send(aNode, "_value", [])]), "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@stream'], "_nextPutAll_", [smalltalk.send(smalltalk.send(unescape("self%5B%27@"), "__comma", [smalltalk.send(aNode, "_value", [])]), "__comma", [unescape("%27%5D")])]);}), (function(){smalltalk.send(smalltalk.send(smalltalk.send(self, "_knownVariables", []), "_includes_", [smalltalk.send(aNode, "_value", [])]), "_ifFalse_", [(function(){return smalltalk.send(self['@unknownVariables'], "_add_", [smalltalk.send(aNode, "_value", [])]);})]);return smalltalk.send(self['@stream'], "_nextPutAll_", [smalltalk.send(aNode, "_value", [])]);})]);
|
|
|
return self;},
|
|
|
-source: unescape('visitVariableNode%3A%20aNode%0A%09%28self%20currentClass%20instanceVariableNames%20includes%3A%20aNode%20value%29%20%0A%09%09ifTrue%3A%20%5Bstream%20nextPutAll%3A%20%27self%5B%27%27@%27%2C%20aNode%20value%2C%20%27%27%27%5D%27%5D%0A%09%09ifFalse%3A%20%5B%0A%09%09%09%28self%20knownVariables%20includes%3A%20aNode%20value%29%20ifFalse%3A%20%5B%0A%09%09%09%09unknownVariables%20add%3A%20aNode%20value%5D.%0A%09%09%09stream%20nextPutAll%3A%20aNode%20value%5D%0A'),
|
|
|
+source: unescape('visitVariableNode%3A%20aNode%0A%09%28self%20currentClass%20instanceVariableNames%20includes%3A%20aNode%20value%29%20%0A%09%09ifTrue%3A%20%5Bstream%20nextPutAll%3A%20%27self%5B%27%27@%27%2C%20aNode%20value%2C%20%27%27%27%5D%27%5D%0A%09%09ifFalse%3A%20%5B%0A%09%09%09%28self%20knownVariables%20includes%3A%20aNode%20value%29%20ifFalse%3A%20%5B%0A%09%09%09%09unknownVariables%20add%3A%20aNode%20value%5D.%0A%09%09%09stream%20nextPutAll%3A%20aNode%20value%5D'),
|
|
|
messageSends: ["ifTrue:ifFalse:", "includes:", "instanceVariableNames", "currentClass", "value", "nextPutAll:", unescape("%2C"), "ifFalse:", "knownVariables", "add:"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1369,7 +1370,7 @@ fn: function (aString){
|
|
|
var self=this;
|
|
|
return smalltalk.send(smalltalk.send(self, "_parser", []), "_parse_", [smalltalk.send(aString, "_readStream", [])]);
|
|
|
return self;},
|
|
|
-source: unescape('parse%3A%20aString%0A%20%20%20%20%5Eself%20parser%20parse%3A%20aString%20readStream%0A'),
|
|
|
+source: unescape('parse%3A%20aString%0A%20%20%20%20%5Eself%20parser%20parse%3A%20aString%20readStream'),
|
|
|
messageSends: ["parse:", "parser", "readStream"],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1384,7 +1385,7 @@ fn: function (aString){
|
|
|
var self=this;
|
|
|
return smalltalk.send(self, "_parse_", [smalltalk.send(smalltalk.send(unescape("doIt%20%5E%5B"), "__comma", [aString]), "__comma", [unescape("%5D%20value")])]);
|
|
|
return self;},
|
|
|
-source: unescape('parseExpression%3A%20aString%0A%20%20%20%20%5Eself%20parse%3A%20%27doIt%20%5E%5B%27%2C%20aString%2C%20%27%5D%20value%27%0A'),
|
|
|
+source: unescape('parseExpression%3A%20aString%0A%20%20%20%20%5Eself%20parse%3A%20%27doIt%20%5E%5B%27%2C%20aString%2C%20%27%5D%20value%27'),
|
|
|
messageSends: ["parse:", unescape("%2C")],
|
|
|
referencedClasses: []
|
|
|
}),
|
|
@@ -1497,6 +1498,21 @@ referencedClasses: []
|
|
|
}),
|
|
|
smalltalk.Compiler);
|
|
|
|
|
|
+smalltalk.addMethod(
|
|
|
+'_visitFailure_',
|
|
|
+smalltalk.method({
|
|
|
+selector: 'visitFailure:',
|
|
|
+category: 'visiting',
|
|
|
+fn: function (aFailure){
|
|
|
+var self=this;
|
|
|
+smalltalk.send(self, "_error_", [smalltalk.send(aFailure, "_asString", [])]);
|
|
|
+return self;},
|
|
|
+source: unescape('visitFailure%3A%20aFailure%0A%09self%20error%3A%20aFailure%20asString'),
|
|
|
+messageSends: ["error:", "asString"],
|
|
|
+referencedClasses: []
|
|
|
+}),
|
|
|
+smalltalk.Compiler);
|
|
|
+
|
|
|
|
|
|
smalltalk.addMethod(
|
|
|
'_recompile_',
|
|
@@ -1539,11 +1555,11 @@ selector: 'doIt',
|
|
|
category: '',
|
|
|
fn: function (){
|
|
|
var self=this;
|
|
|
-return smalltalk.send((function(){return smalltalk.send(smalltalk.send(smalltalk.ChunkExporter, "_new", []), "_exportCategory_", ["Parser"]);}), "_value", []);
|
|
|
+return smalltalk.send((function(){return smalltalk.send("abc", "_trimLeft_", ["az"]);}), "_value", []);
|
|
|
return self;},
|
|
|
-source: unescape('doIt%20%5E%5BChunkExporter%20new%20exportCategory%3A%20%27Parser%27%20%5D%20value'),
|
|
|
-messageSends: ["value", "exportCategory:", "new"],
|
|
|
-referencedClasses: [smalltalk.ChunkExporter]
|
|
|
+source: unescape('doIt%20%5E%5B%27abc%27%20trimLeft%3A%20%27az%27%5D%20value'),
|
|
|
+messageSends: ["value", "trimLeft:"],
|
|
|
+referencedClasses: []
|
|
|
}),
|
|
|
smalltalk.DoIt);
|
|
|
|