1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH ESPRIMA "1" "February 2026" "esprima 4.0.1" "User Commands"
.SH NAME
esprima \- high performance, standard-compliant ECMAScript parser
.SH SYNOPSIS
.B esprima
[\fI\,options\/\fR] [\fI\,file.js\/\fR]
.SH OPTIONS
.TP
\fB\-\-version\fR
show program's version number and exit
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-\-comment\fR
Gather all line and block comments in an array
.TP
\fB\-\-attachComment\fR
Attach comments to nodes
.TP
\fB\-\-loc\fR
Include line\-column location info for each syntax node
.TP
\fB\-\-range\fR
Include index\-based range for each syntax node
.TP
\fB\-\-raw\fR
Display the raw value of literals
.TP
\fB\-\-tokens\fR
List all tokens in an array
.TP
\fB\-\-tolerant\fR
Tolerate errors on a best\-effort basis (experimental)
.TP
\fB\-\-tokenize\fR
Only tokenize, do not parse.
.TP
\fB\-\-module\fR
Tolerate errors on a best\-effort basis (experimental)
|