jack e1a2621c78 update 2 years ago
..
LICENSE e1a2621c78 update 2 years ago
README.md e1a2621c78 update 2 years ago
ordered-esprima-props.js e1a2621c78 update 2 years ago
package.json e1a2621c78 update 2 years ago

README.md

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.