@sj1/lezer-javascript
v1.4.22
Published
lezer-based nsl grammar
Downloads
2
Readme
@lezer/javascript
This is a JavaScript grammar for the lezer parser system.
It parses ES2020, and supports a "ts"
dialect to parse
TypeScript, and a "jsx"
dialect to parse JSX.
The top
option can be set to "SingleExpression"
or
"SingleEntityItem"
to parse an expression or entity item instead of a
full program.
The code is licensed under an MIT license.