esparse (1) Linux Manual Page
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
