tree transformer api (WIP)
This commit is contained in:
@@ -1014,6 +1014,7 @@ function Compressor(options, false_by_default) {
|
||||
self = self.clone();
|
||||
self.expression = self.expression.squeeze(compressor);
|
||||
self.body = self.body.squeeze(compressor);
|
||||
return self;
|
||||
});
|
||||
|
||||
SQUEEZE(AST_Exit, function(self, compressor){
|
||||
@@ -1569,13 +1570,6 @@ function Compressor(options, false_by_default) {
|
||||
return self;
|
||||
});
|
||||
|
||||
SQUEEZE(AST_Assign, function(self, compressor){
|
||||
self = self.clone();
|
||||
self.left = self.left.squeeze(compressor);
|
||||
self.right = self.right.squeeze(compressor);
|
||||
return self.optimize(compressor);
|
||||
});
|
||||
|
||||
SQUEEZE(AST_SymbolRef, function(self, compressor){
|
||||
return self.optimize(compressor);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user