npm.io
1.1.0 • Published 11 years ago

ordered-esprima-props

Licence
MIT
Version
1.1.0
Deps
0
Vulns
0
Weekly
0
Stars
3

ordered-esprima-props

A map from type (string) to an array of property names (strings) in lexical order, i.e. an AST-traversal in this order will visit nodes in increasing source code position.

Tested with Esprima but should work for any Mozilla Parser API compatible AST, see https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Parser_API

License

MIT, see LICENSE file.

Keywords