Sebastian McKenzie
|
ffbf5b0b47
|
convert property key to computed before checking if it's a displayName property in the react transformer builder - closes #1671
|
2015-06-02 23:08:46 +01:00 |
|
Sebastian McKenzie
|
9dcceaeb40
|
move minification.deadCodeElimination back to the builtin-setup transformer group
|
2015-06-02 17:08:49 +01:00 |
|
Sebastian McKenzie
|
556e58a4ab
|
register function declarations anyway as we may not have hit them
|
2015-06-02 17:08:31 +01:00 |
|
Sebastian McKenzie
|
b6c35743e6
|
add import types
|
2015-06-02 16:24:32 +01:00 |
|
Sebastian McKenzie
|
0abd34f7e6
|
Merge branch 'master' of github.com:babel/babel
|
2015-06-02 16:18:13 +01:00 |
|
Sebastian McKenzie
|
cafd7f8e39
|
add Infinity/NaN, string/number member expressions/calls and Math calls static evaluation
|
2015-06-02 16:18:08 +01:00 |
|
Sebastian McKenzie
|
43c0a0e65f
|
remove all non-function statements after completion statements in blocks
|
2015-06-02 16:16:36 +01:00 |
|
Sebastian McKenzie
|
7b359f46fd
|
rename minification.inlineExpressions to minification.constantFolding
|
2015-06-02 16:16:10 +01:00 |
|
Greg Hurrell
|
0c300058a3
|
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
|
d35be22f7d
|
add support for resolving array expression elements
|
2015-06-02 00:32:18 +01:00 |
|
Sebastian McKenzie
|
ff8d90061f
|
add "istanbul ignore next" auxiliary comment when using istanbul compat mode for babel/register
|
2015-06-02 00:32:07 +01:00 |
|
Sebastian McKenzie
|
1934c16f0f
|
don't use initializer property for decorators on concise methods in object literals
|
2015-06-01 22:32:04 +01:00 |
|
Sebastian McKenzie
|
012ac7d9ec
|
remove accidental console.log introduced in 80a7f1346090d1fc236b7eb6120a8236d0a0e6b9
|
2015-06-01 22:01:27 +01:00 |
|
Sebastian McKenzie
|
80a7f13460
|
register named method id as a reference to avoid collisions - fixes #1664
|
2015-06-01 21:53:34 +01:00 |
|
Sebastian McKenzie
|
8919fc22b1
|
only infer single identifier new expression callees
|
2015-06-01 21:52:54 +01:00 |
|
Sebastian McKenzie
|
b1273cb774
|
Merge pull request #1663 from pangratz/fix_for_referencesImport
Minor fix for `referencesImport`
|
2015-06-01 18:13:49 +01:00 |
|
pangratz
|
0843b8355e
|
Minor fix for referencesImport
|
2015-06-01 19:09:33 +02:00 |
|
Sebastian McKenzie
|
6457677fb4
|
add support for NewExpression and reference plain node
|
2015-06-01 17:29:02 +01:00 |
|
Sebastian McKenzie
|
f8a860bf21
|
remove unused import
|
2015-06-01 14:32:58 +01:00 |
|
Sebastian McKenzie
|
f2bed33db8
|
add type inference for ConditionalExpression, SequenceExpression, AssignmentExpression and add support for base type aliases in isTypeAnnotationGeneric method
|
2015-06-01 14:25:06 +01:00 |
|
Sebastian McKenzie
|
7d2c6525d8
|
flesh out type inferrence some more, rename some of the NodePath methods to be less ambiguous, remove dead Binding type methods
|
2015-06-01 14:01:14 +01:00 |
|
Sebastian McKenzie
|
de652dc747
|
change getBindingIdentifier keys to be just a string instead of an array
|
2015-06-01 12:06:36 +01:00 |
|
Sebastian McKenzie
|
9f1053212b
|
add EmptyStatement to t.toSequenceExpression
|
2015-06-01 12:06:16 +01:00 |
|
Sebastian McKenzie
|
76690a3deb
|
renamed Path#isPreviousType to isType
|
2015-06-01 12:05:42 +01:00 |
|
Sebastian McKenzie
|
50f2f2fc98
|
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 |
|
Sebastian McKenzie
|
5c27234d19
|
change TCO BlockStatement visitor back to enter
|
2015-06-01 00:17:44 +01:00 |
|
Sebastian McKenzie
|
6f5d16f397
|
remove TCOable check
|
2015-06-01 00:14:12 +01:00 |
|
Sebastian McKenzie
|
e42a43e3d1
|
remove unnecessary strict helper
|
2015-05-31 23:40:59 +01:00 |
|
Sebastian McKenzie
|
bfd307cd57
|
move some visitors out of deoptimising enter method
|
2015-05-31 23:40:42 +01:00 |
|
Sebastian McKenzie
|
cde871555d
|
don't pass comments in tokens to estraverse
|
2015-05-31 21:26:12 +01:00 |
|
Sebastian McKenzie
|
51b0ffa7bf
|
prepend Comment to comment node types
|
2015-05-31 20:25:26 +01:00 |
|
Sebastian McKenzie
|
255c819727
|
optimise ES6 tail call transformer to only try TOC on functions that include a call to themselves
|
2015-05-31 15:40:41 +01:00 |
|
Sebastian McKenzie
|
152ccb2ce8
|
check if ObjectExpression has any gets/sets before filtering
|
2015-05-31 15:40:07 +01:00 |
|
Sebastian McKenzie
|
bdb3adfeea
|
revert parts of 07a992e
|
2015-05-31 09:47:27 +01:00 |
|
Sebastian McKenzie
|
236086bee5
|
ignore trailing commas when inferring newlines - fixes #1304
|
2015-05-31 09:46:05 +01:00 |
|
Sebastian McKenzie
|
1436753e6d
|
fix linting errors
|
2015-05-31 09:24:12 +01:00 |
|
Sebastian McKenzie
|
eadf8ef799
|
fix syntax error in helpers/parse
|
2015-05-31 09:20:16 +01:00 |
|
Sebastian McKenzie
|
f1e20cf6ff
|
remove useless comment
|
2015-05-31 09:16:34 +01:00 |
|
Sebastian McKenzie
|
82a0851526
|
push comments to token stream to avoid having to re-sort - #1486
|
2015-05-31 09:16:27 +01:00 |
|
Sebastian McKenzie
|
07a992e6d3
|
add support for tail calls when in completion record position - fixes #1572
|
2015-05-31 09:07:44 +01:00 |
|
Sebastian McKenzie
|
f642c2baa8
|
relax key aliases for plain methods - fixes #1649
|
2015-05-30 23:53:39 -04:00 |
|
Sebastian McKenzie
|
2f7743cafb
|
optimise module metadata retrieval - #1486
|
2015-05-30 23:42:24 -04:00 |
|
Sebastian McKenzie
|
44112f2d87
|
remove unused variable
|
2015-05-30 23:18:50 -04:00 |
|
Sebastian McKenzie
|
99c4810770
|
add regeneratot transform to builtin-advanced group
|
2015-05-30 23:18:45 -04:00 |
|
Sebastian McKenzie
|
9f2ac15695
|
move jscript transformer to the builtin-trailing group and perform transform on exit - closes #1652, fixes #1651
|
2015-05-30 23:09:25 -04:00 |
|
Sebastian McKenzie
|
19c1ee157f
|
simplify scope parent alias keys
|
2015-05-30 23:08:42 -04:00 |
|
Sebastian McKenzie
|
973270772b
|
use ForX alias instead of manually listing all types
|
2015-05-30 23:08:28 -04:00 |
|
Sebastian McKenzie
|
7334326042
|
remove extra semicolon
|
2015-05-30 22:37:18 -04:00 |
|
Sebastian McKenzie
|
4043e8e8b9
|
fix destructuring transformer AssignmentExpression to properly handle completion records
|
2015-05-30 22:33:09 -04:00 |
|
Sebastian McKenzie
|
7fd403998c
|
remove dead code
|
2015-05-30 22:32:48 -04:00 |
|