Closed emilos closed 7 years ago
General purpose walk method could have other use cases than replace and remove.
walk
replace
remove
ast.walk(node => { // ... });
ast.walk((node, parent) => { // ... });
General purpose
walk
method could have other use cases thanreplace
andremove
.