compressor successfully moved to TreeTransformer
This commit is contained in:
@@ -65,7 +65,7 @@ TreeTransformer.prototype = new TreeWalker;
|
||||
} else {
|
||||
x = this.clone();
|
||||
descend(x, tw);
|
||||
y = tw.after(this, in_list);
|
||||
y = tw.after(x, in_list);
|
||||
if (y !== undefined) x = y;
|
||||
}
|
||||
}
|
||||
@@ -148,6 +148,8 @@ TreeTransformer.prototype = new TreeWalker;
|
||||
|
||||
_(AST_Try, function(self, tw){
|
||||
self.body = do_list(self.body, tw);
|
||||
if (self.bcatch) self.bcatch = self.bcatch.transform(tw);
|
||||
if (self.bfinally) self.bfinally = self.bfinally.transform(tw);
|
||||
});
|
||||
|
||||
_(AST_Catch, function(self, tw){
|
||||
|
||||
Reference in New Issue
Block a user