buxlabs / abstract-syntax-tree

A library for working with abstract syntax trees.
MIT License
110 stars 13 forks source link

ast.each method #21

Closed emilos closed 7 years ago

emilos commented 7 years ago

The method should be a noop if no nodes were found.

this.each('Literal', node => {
    // ...
});