Peeyush Kushwaha
37fa77e84f
Support decorator in decorator
...
Fixes #524
2017-06-23 18:10:16 +05:30
Daniel Tschinder
e982c0652c
Fix v8 deopts ( #581 )
2017-06-17 11:41:23 -04:00
Diego Ferreiro Val
01da62283c
Modify grammar to support Private Fields proposal: ( #260 )
...
* Modify grammar to support Private Fields proposal:
- Adding optional plugin `classPrivateProperties`
- Adding PrivateName type identifier
- Adding ClassPrivateProperty to ClassBody
- Allow PrivateName in MemberExpression
- Allow PrivateName as a reference
- Adding tests
* Remove unnecesary liberal parameter
* Guarding for plugin dependecy for future versioning
* update spec.md [skip ci]
* move comment [skip ci]
* remove unused param [skip ci]
* Refactor PrivateName to contain Identifier in name property
2017-05-22 11:33:48 -04:00
Daniel Tschinder
d605a9a4de
Fix flow errors ( #517 )
2017-05-11 00:04:43 +02:00
Andy
1773ca7457
Type-check State ( #492 )
2017-05-10 21:55:09 +02:00
Brian Ng
d33c82781a
Allow super in class properties ( #499 )
2017-05-02 14:41:10 -04:00
Kevin Gibbons
fab343e379
Add support for invalid escapes in tagged templates ( #274 )
...
Per the stage-3 TC39 proposal:
https://github.com/tc39/proposal-template-literal-revision
2017-03-21 16:50:34 -04:00
Raphael Mu
f25a2fbc78
add startLine option ( #346 )
2017-02-10 15:06:28 +01:00
greenkeeper[bot]
6773279039
Update eslint-config-babel to the latest version 🚀 ( #273 )
...
* chore(package): update eslint-config-babel to version 4.0.0
https://greenkeeper.io/
* Fix prefer-const
* Update package.json
2017-01-10 19:42:43 +01:00
Vladimir Kurchatkin
3267e5f365
Don't set inType flag when parsing property names ( #266 )
...
* Don't set inType flag when parsing property names
* Add inPropertyName type definition
* Move inPropertyName check before this.curContext()
2017-01-05 12:25:57 +01:00
Gabe Levi
643124744f
Optional names for function types and object type indexers ( #197 )
...
* Use .gitattributes to ignore files with weird newlines
* [Flow] Make parameter names in function types optional
* [Flow] Anonymous function types with single params can omit parens
* [Flow] Optional names for object indexer keys
* Add noAnonFunctionType explicitly to state
* Adjust gitattributes as files have been fixed
2016-11-09 16:22:53 +01:00
Daniel Tschinder
0d72a89df6
Fix flowtype and add inType to state ( #189 )
...
this improves the performance slightly
2016-10-17 10:45:46 -04:00
Daniel Tschinder
952d50faf9
Make exportIdentifiers and array so that base object properties are not accounted ( #137 )
2016-09-22 16:00:39 -04:00
Kai Cataldo
650e33376a
Disallow duplicate named exports ( #107 )
...
fixes #69
2016-09-22 10:20:47 -04:00
Sebastian McKenzie
cf6e0d365e
rename parser context types
2016-06-22 14:06:58 +01:00
Amjad Masad
9a180797c0
Revert "Remove flow"
...
This reverts commit 2827ff6b01dcce69e9d3c0402e96b52b3a2a47ee.
2016-03-03 14:49:20 -08:00
Sam Goldman
d6ee428857
Remove flow
2016-03-01 22:33:30 -08:00
Daniel Lo Nigro
20a483cd58
Fix Flow.
...
Removed `@flow` annotation from files that don't actually pass Flow check at the moment. These will be added back file by file once the files are properly converted to use Flow.
Closes #3064
2015-11-15 21:30:22 -08:00
Sebastian McKenzie
b909a81ab7
6.0.0
...
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00
Sebastian McKenzie
6d6ddf0bcd
type annotate babylon
2015-09-23 15:59:41 +01:00
Sebastian McKenzie
59948c6649
add babylon hasFeature util method
2015-09-15 06:15:19 +01:00
Sebastian McKenzie
ac9ee75dac
parser: don't mutate or clone state arrays when doing a lookahead - fixes #2211
2015-08-15 19:07:42 -04:00
Sebastian McKenzie
8887444cf7
fix various bugs surfaced by the esprima test suite, remove some incorrect tests
2015-08-11 16:58:20 +01:00
Sebastian McKenzie
9ccbc89653
put containsEsc on state rather than as a local variable
2015-07-31 12:44:54 +01:00
Sebastian McKenzie
c2c8b2db57
add token match method and remove more dead code
2015-07-26 04:48:42 +01:00
Sebastian McKenzie
2948108c90
finish reorganisation of babylon
2015-07-25 08:03:39 +01:00