Huáng Jùnliàng
461ba2531a
refactor: add parse*Literal parser routines (#13333)
* refactor: simplify parseLiteral interface
* refactor: extract specific methods on parsing literals
* fix: avoid StringLiteral type comparison
* add test cases
* fix: remove redundant node
* Update packages/babel-parser/src/plugins/flow/index.js
Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
* update test fixtures
* fix: refine parseLiteral typings
Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
2021-05-19 16:00:24 -04:00
..
2020-03-23 20:10:29 -04:00
2020-03-23 20:10:29 -04:00
2021-04-28 18:21:31 +02:00
2021-04-28 18:21:31 +02:00
2021-04-28 18:21:31 +02:00
2020-03-23 20:10:29 -04:00
2021-05-07 16:37:20 -04:00
2020-03-23 20:10:29 -04:00
2020-03-23 20:10:29 -04:00
2021-05-19 16:00:24 -04:00
2020-03-23 20:10:29 -04:00
2021-05-19 16:00:24 -04:00
2021-04-28 18:21:31 +02:00
2020-03-23 20:10:29 -04:00
2020-07-29 16:46:29 -04:00
2021-04-28 18:21:31 +02:00
2021-04-28 18:21:31 +02:00
2018-05-19 00:03:05 -04:00