Skip to content

lezer-parser/javascript

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

FIX: Add support for `using` syntax.
568d51c

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
June 19, 2023 18:23
June 15, 2023 11:20
July 9, 2019 20:56
April 24, 2023 11:18
January 24, 2023 08:28
December 19, 2022 12:27
April 24, 2023 11:18
September 23, 2020 09:52

@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.