babel/packages/babel-parser
Huáng Jùnliàng 28d7442aae Parse async do expressions (#13043)
* parse async do expressions

* add test cases

* update test fixtures

* chore: add syntax-async-do-expressions

* generater support

* fix: do not transform async do expressions

* chore: add asyncDoExpressions to missing plugin helpers

* update ast types

* add more test cases

* throw when asyncDoExpressions is enabled but not doExpressions

* avoid add parentheses for async do expressions

* address review comments

* chore: update parser typings
2021-04-28 18:26:01 +02:00
..
2021-04-28 18:26:01 +02:00
2021-04-28 18:26:01 +02:00
2021-04-28 18:26:01 +02:00
2018-05-19 00:03:05 -04:00
2018-05-19 00:03:05 -04:00
2021-04-20 11:11:32 +00:00

@babel/parser

A JavaScript parser

See our website @babel/parser for more information or the issues associated with this package.

Install

Using npm:

npm install --save-dev @babel/parser

or using yarn:

yarn add @babel/parser --dev