esparse (1) - Linux Manuals
esparse: ECMAScript Parser using Esprima
NAME
esparse - ECMAScript Parser using Esprima
DESCRIPTION
Usage:
- esparse [options] file.js
Available options:
- --comment
- Gather all line and block comments in an array
- --loc
- Include line-column location info for each syntax node
- --range
- Include index-based range for each syntax node
- --raw
- Display the raw value of literals
- --tokens
- List all tokens in an array
- --tolerant
- Tolerate errors on a best-effort basis (experimental)
- -v, --version
-
Shows program version