more cleanup (dropped AST_SwitchBlock)
This commit is contained in:
@@ -332,15 +332,11 @@ var AST_Switch = DEFNODE("Switch", "body expression", {
|
||||
_walk: function(visitor) {
|
||||
return visitor._visit(this, function(){
|
||||
this.expression._walk(visitor);
|
||||
this.body._walk(visitor);
|
||||
walk_body(this, visitor);
|
||||
});
|
||||
}
|
||||
}, AST_Statement);
|
||||
|
||||
var AST_SwitchBlock = DEFNODE("SwitchBlock", null, {
|
||||
$documentation: "The switch block is somewhat special, hence a special node for it",
|
||||
}, AST_Block);
|
||||
|
||||
var AST_SwitchBranch = DEFNODE("SwitchBranch", null, {
|
||||
$documentation: "Base class for `switch` branches",
|
||||
}, AST_Block);
|
||||
|
||||
Reference in New Issue
Block a user