7 releases
0.19.1 | Sep 12, 2024 |
---|---|
0.19.0 | Jul 11, 2024 |
0.18.0 | Mar 7, 2024 |
0.17.3 | Sep 26, 2023 |
0.17.0 | Jul 8, 2023 |
#522 in Parser implementations
39,513 downloads per month
Used in 20 crates
(2 directly)
610KB
12K
SLoC
Boa's boa_ast
crate implements an ECMAScript abstract syntax tree.
Crate Overview
boa_ast
contains representations of Parse Nodes as defined by the ECMAScript
spec. Some Parse Node
s are not represented by Boa's AST, because a lot of grammar productions
are only used to throw Early Errors, and don't influence the evaluation of the AST
itself.
Boa's AST is mainly split in three main components: Declaration
s, Expression
s and
Statement
s, with StatementList
being the primordial Parse Node that combines
all of them to create a proper AST.
Dependencies
~3–4MB
~70K SLoC