Sebastian McKenzie
|
25c45a1e8e
|
add support for es7 object/spread and move acorn-6to5 tests to a separate file
|
2014-11-23 21:00:15 +11:00 |
|
Sebastian McKenzie
|
9b38a4826b
|
add support for abstract references
|
2014-11-23 17:43:46 +11:00 |
|
Sebastian McKenzie
|
5e119c22d6
|
Revert "Better async/await support"
This reverts commit 89437cfd7f8bb380490fb574fd91a128a120f5b4.
|
2014-11-19 13:20:59 +11:00 |
|
Sebastian McKenzie
|
f35dad0980
|
Revert "fix up async/await"
This reverts commit f18f264a330258da521027cc4edd5852e26f8add.
|
2014-11-19 13:20:47 +11:00 |
|
Sebastian McKenzie
|
b0bf126c22
|
fix up async/await
|
2014-11-19 12:49:41 +11:00 |
|
Richard Eames
|
68acfb7cc5
|
Better async/await support
|
2014-11-18 13:08:24 -07:00 |
|
Sebastian McKenzie
|
b3c4ca26fa
|
Merge branch 'async-await' of https://github.com/sebmck/acorn
|
2014-11-13 13:17:10 +11:00 |
|
Sebastian McKenzie
|
e58be3b8bb
|
Merge branch 'master' of https://github.com/marijnh/acorn
Conflicts:
acorn.js
test/run.js
|
2014-11-13 12:48:14 +11:00 |
|
Rich Harris
|
f48a921e24
|
allow export { default } from "foo"
|
2014-11-12 17:42:55 +01:00 |
|
Ingvar Stepanyan
|
d4565fed53
|
Loose: ES6 import, export.
Removed "kind" from tests for ES6 import/export as it's
left only for backward compatibility.
|
2014-11-12 16:19:15 +01:00 |
|
Ingvar Stepanyan
|
1589a959fa
|
Loose: yield support.
|
2014-11-12 16:19:15 +01:00 |
|
Sebastian McKenzie
|
c5ca7ee32c
|
Add remaining esprima-fb async/await tests
|
2014-11-12 20:41:55 +11:00 |
|
Sebastian McKenzie
|
81f3b99251
|
Merge branch 'async-await' of https://github.com/sebmck/acorn
Conflicts:
acorn.js
|
2014-11-11 09:46:46 +11:00 |
|
Sebastian McKenzie
|
273dda04f1
|
Revert "Merge branch 'async-await' of https://github.com/sebmck/acorn"
This reverts commit 904d46ae736214d50da3a5c2b616204f0e0ae7d1, reversing
changes made to 49e421660af161af0e75c2fa066ea356d6650e69.
|
2014-11-11 09:43:15 +11:00 |
|
Sebastian McKenzie
|
211b3a6fdf
|
Implement ES7 Async/Await
|
2014-11-11 09:29:56 +11:00 |
|
Sebastian McKenzie
|
59990722e4
|
Merge branch 'async-await' of https://github.com/sebmck/acorn
Conflicts:
acorn.js
|
2014-11-11 09:18:57 +11:00 |
|
Sebastian McKenzie
|
ac42c108f4
|
Implement ES7 Async/Await
|
2014-11-11 09:13:42 +11:00 |
|
Sebastian McKenzie
|
97c06f2699
|
Revert "Merge branch 'check-lval-paren-expressions' of https://github.com/sebmck/acorn"
This reverts commit c8d701914832367e3cc6f570f8da9e6096d26eef, reversing
changes made to 0f40710d6a6c846d613764f314e9fb38c247e471.
|
2014-11-10 00:10:54 +11:00 |
|
Sebastian McKenzie
|
39e0b51d17
|
Merge branch 'check-lval-paren-expressions' of https://github.com/sebmck/acorn
|
2014-11-09 13:07:41 +11:00 |
|
Sebastian McKenzie
|
521ab6c11d
|
Support ParanthesizedExpressions in checkLval
|
2014-11-09 13:07:00 +11:00 |
|
Sebastian McKenzie
|
a18f3d1003
|
Add support for computed static mutator class methods
|
2014-11-04 11:08:36 +01:00 |
|
Sebastian McKenzie
|
4f0c37eb68
|
Add support for computed static mutator class methods
|
2014-11-04 11:40:49 +11:00 |
|
Marijn Haverbeke
|
8a799c6077
|
Remove redundant range info from tests
|
2014-10-27 10:59:16 +01:00 |
|
Ingvar Stepanyan
|
f26b656ea5
|
Remove property name clash check in ES6 as per Draft Rev 26.
See https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-06/jun-6.md#conclusionresolution-3 for details.
Conflicts:
test/tests-harmony.js
|
2014-10-27 10:56:06 +01:00 |
|
Sebastian McKenzie
|
f48503cd31
|
add unicode flag support to regex
|
2014-10-27 10:51:23 +01:00 |
|
Ingvar Stepanyan
|
fd79ac5879
|
Move comprehension support under ecmaVersion: 7 as per spec.
|
2014-10-27 10:34:53 +01:00 |
|
Max Schaefer
|
d525c45644
|
Add option for representing parenthesized expressions in the AST.
|
2014-10-13 12:19:39 +02:00 |
|
Max Schaefer
|
e9c7209f8b
|
Guard against missing elements in array patterns when checking function parameters.
|
2014-10-13 12:17:29 +02:00 |
|
Marijn Haverbeke
|
3603f7d0b1
|
Adjust start positions of parenthesized expressions to not include parentheses
Issue #136
|
2014-10-08 11:52:49 +02:00 |
|
Ingvar Stepanyan
|
daedc6fcb3
|
Fixes #129 and spaces in template quasi literals.
* Added hack to correctly handle skipped spaces after= template expressions.
* Added `null` default values for regular functions.
* Added regression tests for both.
|
2014-09-26 17:04:22 +02:00 |
|
Ingvar Stepanyan
|
ff9c3550a4
|
Allow computed class method names (as per ariya/esprima#271).
|
2014-07-29 14:41:49 +02:00 |
|
Ingvar Stepanyan
|
acbef8557f
|
Treat line ending after yield keyword as end of YieldExpression
(as per http://people.mozilla.org/~jorendorff/es6-draft.html#sec-generator-function-definitions-runtime-semantics-evaluation).
|
2014-07-29 14:41:45 +02:00 |
|
Ingvar Stepanyan
|
9d552efe45
|
Added Generator Comprehension support.
|
2014-07-29 14:41:44 +02:00 |
|
Ingvar Stepanyan
|
afefac56bf
|
Added test to represent "import x, { ... } from 'module'" case.
|
2014-07-29 14:41:44 +02:00 |
|
Ingvar Stepanyan
|
3ee9e288a2
|
Forbid spread element in sequence expressions.
|
2014-07-29 14:41:32 +02:00 |
|
Ingvar Stepanyan
|
8f96965d36
|
Added yield support (completed generators).
|
2014-07-29 14:41:32 +02:00 |
|
Ingvar Stepanyan
|
b8a3300a21
|
Added function * support (part of generators feature).
|
2014-07-29 14:41:32 +02:00 |
|
Ingvar Stepanyan
|
4f24e13fd5
|
Added template string support.
|
2014-07-29 14:41:32 +02:00 |
|
Ingvar Stepanyan
|
a8cf37fc46
|
Test fixes for imports.
|
2014-07-29 14:41:32 +02:00 |
|
Ingvar Stepanyan
|
26818e1f36
|
Removed module-related tests and implemented corresponding alternatives support.
`module ModuleName { ... }` was removed from spec in favor of separate files.
`module LocalName from '...'` is being replaced with `import * as LocalName from '...'` as per http://jsmodules.io/ and https://twitter.com/domenic/status/492735387140243456 (c) @domenic.
|
2014-07-29 14:41:29 +02:00 |
|
Ingvar Stepanyan
|
b38c15a94b
|
Added export declaration support.
See http://people.mozilla.org/~jorendorff/es6-draft.html#sec-exports, ariya/esprima#216, square/es6-module-transpiler#63 for latest decisions on `export default 42` vs `export default = 42` (first wins, so returning AST as it was in older Esprima Harmony and used by https://github.com/square/es6-module-transpiler/).
|
2014-07-29 14:41:24 +02:00 |
|
Ingvar Stepanyan
|
f2dfeff977
|
Added test for BindingPattern inside ArrayComprehension
(fails in esprima - https://code.google.com/p/esprima/issues/detail?id=570).
|
2014-07-29 14:41:18 +02:00 |
|
Ingvar Stepanyan
|
bcc97e2d52
|
Array Comprehensions as per latest ES6 drafts.
|
2014-07-29 14:41:18 +02:00 |
|
Ingvar Stepanyan
|
648f3159cc
|
Added for (..of..) support and guard against for (let var=.. in|of ..) loops.
|
2014-07-29 14:41:09 +02:00 |
|
Ingvar Stepanyan
|
8b0be7cec9
|
Improved destruction assignment guards.
|
2014-07-29 14:41:09 +02:00 |
|
Ingvar Stepanyan
|
0f56e32512
|
Object shorthand properties; small fixes to ES6 function parameters.
|
2014-07-29 14:41:09 +02:00 |
|
Ingvar Stepanyan
|
50a82135c4
|
Recursive destructuring assignment with function arguments name clash checks.
|
2014-07-29 14:41:09 +02:00 |
|
Ingvar Stepanyan
|
f7fe322490
|
Better parentheses check for arrow expression argument list.
|
2014-07-29 14:41:09 +02:00 |
|
Ingvar Stepanyan
|
1f801001cf
|
ArrowExpression rest parameter support, brackets check and test fixes.
|
2014-07-29 14:41:09 +02:00 |
|
Ingvar Stepanyan
|
5d50be1447
|
Removed dirty hack in favor of fixed expected locations for arrow and method functions (node's location should include arguments).
|
2014-07-29 14:41:09 +02:00 |
|