This commit is contained in:
Ondřej Španěl 2017-04-20 13:25:59 +00:00 committed by GitHub
commit df4a4608d9

View File

@ -1095,6 +1095,9 @@ var AST_Class = DEFNODE("Class", "name extends properties", {
if (this.extends) { if (this.extends) {
this.extends._walk(visitor); this.extends._walk(visitor);
} }
if (this.body) {
walk_body(this, visitor)
}
this.properties.forEach(function(prop){ this.properties.forEach(function(prop){
prop._walk(visitor); prop._walk(visitor);
}); });