Nicolò Ribaudo
34937f13d5
Trailing comma after rest - The final fix ( #10491 )
...
* [parser] Track trailing commas in extras instead of state
* Update existing tests
* Update test262 whitelist
* Improve error message and location
* nit
* Use lookaheadCharCode
2019-10-08 23:08:50 +02:00
Daniel Tschinder
98ab1b6428
Refactor parsing object members ( #9607 )
...
* Refactor parsing object members
* Ensure decorators on rest don’t swallow decorators silently
* Use hasPrecedingLineBreak
* Add test for async with linebreak
* Update flow whitelist
2019-02-28 11:42:12 -08:00
Logan Smyth
79b2af5997
Format fixture JSON with Prettier. ( #8658 )
2018-09-09 17:57:52 -07:00
Logan Smyth
2058e0686e
Add support for an InterpreterDirective AST node.
2018-05-21 18:19:58 -07:00
Chaitanya Kumar Kamatham
daf0ca8680
Rename "babylon" to "@babel/parser" ( #7937 ) 🎉
2018-05-19 00:03:05 -04:00