mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-11 12:32:55 +00:00
455 B
455 B
@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
"SingleClassItem" to parse an expression or class item instead of a
full program.
The code is licensed under an MIT license.