Sebastian McKenzie
|
a1a1ad3d1c
|
add missing semicolons
|
2015-07-12 00:36:21 +01:00 |
|
Sebastian McKenzie
|
a08c21302d
|
Merge branch 'master' into top-secret
# Conflicts:
# packages/babylon/src/options.js
# src/acorn/plugins/flow.js
# src/acorn/src/util.js
|
2015-07-11 21:04:33 +01:00 |
|
Sebastian McKenzie
|
ff6620c8ea
|
more architectural changes
|
2015-07-11 20:56:26 +01:00 |
|
Sebastian McKenzie
|
423d8c510d
|
Begin transition of Babel to a more scalable architecture, async flow to allow for RPC and better build system for multiple packages
|
2015-07-11 12:39:54 +01:00 |
|
cpojer
|
f757ca01a1
|
Add support for import typeof, fixes #1975
|
2015-07-11 01:54:25 -07:00 |
|
Sebastian McKenzie
|
04a29f8344
|
remove accidental stackTraceLimit assignment
|
2015-07-09 16:12:06 +01:00 |
|
Sebastian McKenzie
|
0da4ba4598
|
clean up inType tracking in flow parser plugin
|
2015-06-26 23:26:32 +01:00 |
|
Sebastian McKenzie
|
84c773a7ca
|
add support for trailing commas in arrow function parameter lists - fixes #1841
|
2015-06-26 00:37:33 +01:00 |
|
Sebastian McKenzie
|
030d5f7c6b
|
add labels, and inX properties to lookahead getState
|
2015-06-24 23:26:59 +01:00 |
|
Sebastian McKenzie
|
9e0cc028ed
|
add inType assignment in flow parse declare method
|
2015-06-24 23:26:48 +01:00 |
|
Sebastian McKenzie
|
a7f669e154
|
fix isKeyword flow overload
|
2015-06-24 23:18:21 +01:00 |
|
Sebastian McKenzie
|
9a39b131ea
|
acorn resync
|
2015-06-24 23:15:27 +01:00 |
|
Sebastian McKenzie
|
f5540d19a4
|
parse void as an identifier when inside a type annotation to avoid setting void keyword token - cc @DmitrySoshnikov
|
2015-06-24 23:15:00 +01:00 |
|
Sebastian McKenzie
|
5b5d27c9b8
|
resync with upstream acorn
|
2015-06-20 23:28:49 +01:00 |
|
Sebastian McKenzie
|
8ba270bde1
|
disallow line terminator after async contextual keyword - fixes #1711
|
2015-06-08 21:25:16 +01:00 |
|
Sebastian McKenzie
|
98b6effeef
|
update template literal parsing to properly handle newlines
|
2015-06-05 09:36:37 +01:00 |
|
Sebastian McKenzie
|
f268049fdc
|
check if es7.exportExtensions ie enabled in parser
|
2015-06-03 10:05:39 +01:00 |
|
Greg Hurrell
|
6f912edaab
|
Add "mixed" Flow type
"mixed" is one of the base types listed here:
http://flowtype.org/docs/base-types.html
So this commit adds support for it.
|
2015-06-02 07:15:06 -07:00 |
|
Sebastian McKenzie
|
f6e7cf4a31
|
remove DoExpression statement parsing and clear labels and set inFunction to false when parsing DoExpression body - fixes #1658
|
2015-06-01 03:36:14 +01:00 |
|
Ingvar Stepanyan
|
4001a28983
|
Fix some parsing edge cases for :: operator.
|
2015-05-14 12:47:51 +03:00 |
|
Ingvar Stepanyan
|
b026927775
|
Add experimental support for ES7 function bind. (issue #1287)
|
2015-05-13 17:58:21 +03:00 |
|
Sebastian McKenzie
|
251a31a0fc
|
sync with upstream acorn
|
2015-05-12 23:21:30 +01:00 |
|
Amjad Masad
|
f387715293
|
Allow trailing commas in methods
|
2015-05-12 13:20:36 -07:00 |
|
Sebastian McKenzie
|
0ae1943466
|
register as inside a type when parsing type aliases to avoid ambiguous jsx parsing - fixes #1378
|
2015-05-11 23:44:22 +01:00 |
|
Sebastian McKenzie
|
fe739b97dd
|
fix acorn hacky lookahead with token contexts - fixes #1349
|
2015-05-11 23:20:51 +01:00 |
|
Amjad Masad
|
49077e2e03
|
New expressions is allowed to have trailing commas in es7 proposal
|
2015-05-08 19:12:53 -07:00 |
|
Christopher Monsanto
|
4ed4baac99
|
disallow async constructors -- fixes #1454
|
2015-05-06 02:50:11 -04:00 |
|
Sebastian McKenzie
|
8039772007
|
remove embedded jsx plugin and use acorn-jsx
|
2015-05-04 04:33:46 +01:00 |
|
Christopher Monsanto
|
c263a25b54
|
support commas as obj property separators in flow
|
2015-05-01 00:09:26 -04:00 |
|
Sebastian McKenzie
|
1a53d5ca46
|
upgrade to babel 5
|
2015-04-28 14:55:28 +01:00 |
|
Sebastian McKenzie
|
562dba872d
|
fix spread properties in assignment position - fixes #1315
|
2015-04-21 16:24:34 +01:00 |
|
Sebastian McKenzie
|
5f1c3c3b8d
|
remove unnecessary csp makePredicate - fixes #1267
|
2015-04-15 15:13:12 -07:00 |
|
Sebastian McKenzie
|
8ee54e0756
|
Mark function token as able to start an expression
|
2015-04-14 08:18:06 -07:00 |
|
Sebastian McKenzie
|
28589d459d
|
make illegal LHS pattern error messages more user friendly
|
2015-04-13 16:40:13 -07:00 |
|
Sebastian McKenzie
|
075ff67aca
|
make parenthesized array patterns illegal - cc @michaelficarra
|
2015-04-13 16:16:57 -07:00 |
|
Sebastian McKenzie
|
25a3bbce91
|
only make parenthesized object patterns illegal - fixes #1254, ref jshint/jshint#2269
|
2015-04-13 15:44:54 -07:00 |
|
Sebastian McKenzie
|
eed185c4dc
|
remove useless kind on import declarations
|
2015-04-13 14:55:46 -07:00 |
|
Sebastian McKenzie
|
e15f8a79d6
|
make parsing of decorators stateless - fixes shuhei/babel-angular2-app#4
|
2015-04-13 08:26:51 -07:00 |
|
Sebastian McKenzie
|
7944e3b1fa
|
Merge pull request #1215 from AluisioASG/es7-trailing-function-commas
ES7 trailing function commas
|
2015-04-12 19:17:02 -07:00 |
|
Sebastian McKenzie
|
85f2e79f95
|
add support for object literal decorators - fixes #1154
|
2015-04-11 16:30:55 -07:00 |
|
Sebastian McKenzie
|
82384f4761
|
parse await expression as a unary instead of an assignment - fixes #1225
|
2015-04-10 15:23:11 -07:00 |
|
Sebastian McKenzie
|
4f41b7c5e5
|
set canBeArrow to true when parsing async functions
|
2015-04-10 13:51:30 -07:00 |
|
Sebastian McKenzie
|
d0bf19681a
|
update to latest acorn
|
2015-04-10 13:44:50 -07:00 |
|
Sebastian McKenzie
|
3b0b31ef9e
|
don't emit tokens when doing a lookahead
|
2015-04-09 06:44:16 -07:00 |
|
Sebastian McKenzie
|
ab40459198
|
fix order of parameter type annotation parsing - fixes #1168
|
2015-04-06 06:19:13 -07:00 |
|
Aluísio Augusto Silva Gonçalves
|
58284c5002
|
[ES7] Trailing comma in function parameter list
Currenly a stage 1 proposal.
See https://github.com/jeffmo/es-trailing-function-commas.
|
2015-04-06 09:10:44 -03:00 |
|
Sebastian McKenzie
|
a2a8ebbe95
|
fix missing this in acorn parseExprAtom
|
2015-04-05 03:26:41 +10:00 |
|
Sebastian McKenzie
|
9a3e36055d
|
fix es7 export extensions compound list
|
2015-04-01 23:21:16 +11:00 |
|
Sebastian McKenzie
|
2fffffe780
|
fix paramless async calls
|
2015-04-01 13:57:59 +11:00 |
|
Sebastian McKenzie
|
4280c2d846
|
fix incorrect interpreation of export default shorthand, update to new ast definitions - #1091
|
2015-03-30 06:08:37 +11:00 |
|