aster-parse-js

2019-09-13 admin

aster-parse-js是什么

什么是aster-parse-js,JavaScript parser for aster.

aster-parse-js使用教程帮助文档

aster-parse-js

NPM version Build Status

JavaScript parser for aster.

Usage

This is internal module and should be used as part of aster-parse or aster-src.

It uses esprima to do it’s job.

API

parseJS(options)

options.loc

Type: Boolean Default: true

Location tracking (required for source maps).

options.comments

Type: Boolean Default: false

Include comments to AST.

License

MIT License

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-75035.html

文章标题:aster-parse-js

回到顶部