This website works better with JavaScript.
Explore
Help
Sign In
github
/
boa
mirror of
https://github.com/boa-dev/boa.git
Watch
1
Star
0
Fork
You've already forked boa
0
Code
Issues
Releases
Wiki
Activity
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.
2976
Commits
23
Branches
25
Tags
690 MiB
Tree:
1919bc9c54
add-vhs-ci
benchmarks
control-flow-graph
expect-lints
feature/node_span
feature/snapshot
features
gh-readonly-queue/main/pr-2877-b0ddf5eed00a53281d67fc7d846233fc0d99ce9c
gh-readonly-queue/main/pr-3144-8e48cec73fae708420b9af88813d4870243c491a
main
nan-boxing
optimization/static-shapes
real_conformance
reduce-environment-allocations
refactor/interner
refactor/register-vm
release-0.20
releases/0.17
releases/0.19
semver_checks
tco
utility-crate
wasm-debugger
nightly
v0.10
v0.11
v0.12
v0.13
v0.14
v0.15
v0.16
v0.17
v0.17.1
v0.17.2
v0.17.3
v0.18
v0.19
v0.19.1
v0.2.0
v0.2.1
v0.3.0
v0.4.0
v0.5.0
v0.5.1
v0.6.0
v0.7.0
v0.8.0
v0.9.0
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '1919bc9c54'
${ noResults }
boa
/
tests
/
src
/
lib.rs
2 lines
1 B
Raw
Normal View
History
Unescape
Escape
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 46b291753039af2fee23e9390d6b64b632b703ab. * Revert "Update boa/src/syntax/parser/statement/mod.rs" This reverts commit 4c0c1238ec439a1eedc29780bd57c63a8fa6264f. * 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