Skip to content

OnlineBuddies/eswalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eswalk

Walks an Esprima parse tree

Example:

var eswalk = require('eswalk');

eswalk(tree, function(node, parent) {
    if (node.type == 'ExpressionStatement' &&
        node.expression.type == 'CallExpression' &&
        node.expression.callee.name == 'define') {
        doSomethingWith(node.expression);
    }
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors