ordered-esprima-props

Lexical ordering of property names per Esprima AST type

MIT 2 个版本
安装
npm install ordered-esprima-props
yarn add ordered-esprima-props
pnpm add ordered-esprima-props
bun add ordered-esprima-props
README

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.

版本列表
1.1.0 2015-01-29
1.0.0 2014-05-12