Rust编写的JavaScript引擎,该项目是一个试验性质的项目。
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Paul Lancaster
586a68970b
Async/Await parse (#836)
* Add async keyword
* Created AsyncFunctionDecl/Expr nodes
* AsyncFunctionDecl/Expr parser created (not impl)
* Add async to HoistableDeclaration
* Added expect_no_lineterminator, updated some cursor docs
* AsyncFunctionDecl parsing
* AsyncFunctionExpr parsing
* Await expression parsing
* Added some async function expr parsing tests
* Reposition declaration parsing ready to add tests
* Moved function decl tests
* Added some failing async func decl tests
* mdn/spec links@
* Function expression parsing into own folder
* Added function expression test
* Fixed async function decl parse
* Async/await run returns undefined rather than panic
* Clippy :( -> :)
* Missing docs
* Update boa/src/syntax/ast/node/declaration/async_function_decl/mod.rs
Co-authored-by: Halid Odat <halidodat@gmail.com>
* Update boa/src/syntax/ast/node/declaration/async_function_expr/mod.rs
Co-authored-by: Halid Odat <halidodat@gmail.com>
* Update boa/src/syntax/parser/statement/mod.rs
Co-authored-by: Halid Odat <halidodat@gmail.com>
* Update boa/src/syntax/parser/statement/declaration/mod.rs
Co-authored-by: Halid Odat <halidodat@gmail.com>
* Update boa/src/syntax/ast/node/await_expr/mod.rs
Co-authored-by: Halid Odat <halidodat@gmail.com>
* Revert "Update boa/src/syntax/parser/statement/declaration/mod.rs"
This reverts commit 46b2917530 .
* Revert "Update boa/src/syntax/parser/statement/mod.rs"
This reverts commit 4c0c1238ec .
* Update boa/src/syntax/parser/expression/primary/async_function_expression/mod.rs
Co-authored-by: Iban Eguia <razican@protonmail.ch>
* Update boa/src/syntax/parser/statement/declaration/hoistable/async_function_decl/mod.rs
Co-authored-by: Iban Eguia <razican@protonmail.ch>
* Addressed review comments
* Correct allow_yield parameters for async func
* Correct other usages of allow_yield
Co-authored-by: Halid Odat <halidodat@gmail.com>
Co-authored-by: Iban Eguia <razican@protonmail.ch>
|
4 years ago |
.. |
mod.rs
|
Async/Await parse (#836)
|
4 years ago |
tests.rs
|
Implementation of for...of loops (#704)
|
4 years ago |