astroll

1.0.0 • Public • Published

ASTroll

ASTroll is a barebone ast walker that keeps track of the parents

How to use:

const walker = require('astroll');

walker(node, visitors, state);

where node is an AST node, visitors is an object map of ast types to a function that accept the node, a shared state object and a parents array. look at the test folder for an example.

Readme

Keywords

Package Sidebar

Install

npm i astroll

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • kentaromiura