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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i astroll

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • kentaromiura