Commit Graph

25 Commits

Author SHA1 Message Date
Fábio Santos
5f511fe34f Starting out the import statement 2016-03-22 11:43:58 +02:00
Fábio Santos
c5cf25e077 Fix #931: Create arrow functions in maybe_assign so that they can be used in assignments 2016-03-22 11:43:57 +02:00
Fábio Santos
6c87242d63 Default values inside destructurings 2016-03-22 11:42:34 +02:00
Fábio Santos
752a7affc8 Destructuring parameters with defaults. function x({ foo, bar } = {}) { } 2016-03-22 11:42:34 +02:00
Fábio Santos
5b4490d82e Non-destructuring default parameters 2016-03-22 11:42:34 +02:00
Fábio Santos
7527699589 Implement new.target 2016-03-22 11:42:34 +02:00
Fábio Santos
89dfbfd46b Mangle class names correctly 2016-03-22 11:42:34 +02:00
Fábio Santos
805e027ab8 mangle class names 2016-03-22 11:42:34 +02:00
Fábio Santos
7ea3ab6b58 static properties 2016-03-22 11:41:01 +02:00
Fábio Santos
a9a38ade1d Starting ES6 classes 2016-03-22 11:41:01 +02:00
Fábio Santos
44ecbdf5f0 Accept keyword names as concise method names 2016-03-22 11:41:01 +02:00
Fábio Santos
858d763e62 Make concise methods work with propmangle 2016-03-22 11:41:01 +02:00
Fábio Santos
e4f0db47ed Just making sure that concise methods are separated by commas. When classes come, they won't be necessary. 2016-03-22 11:41:01 +02:00
Fábio Santos
8c05450ce0 start concise methods 2016-03-22 11:41:01 +02:00
Fábio Santos
5e1c89db44 Allow 'of' to be a name. 2016-03-22 11:41:01 +02:00
Fábio Santos
292c131743 Using single quotes 2016-03-22 11:41:01 +02:00
Fábio Santos
bfeb1afad0 computed properties 2016-03-22 11:41:01 +02:00
Fábio Santos
a92a14d171 Remove unused state variable in_parameters, and also remove unreachable code (try_an_object always returned an object!) 2016-03-22 11:41:00 +02:00
Fábio Santos
2a24fa8d2b prefixed template strings, like "String.rawfoo\nbar". 2016-03-22 11:41:00 +02:00
Fábio Santos
e0b78bfa5f Parse and output ES6 template strings. Yikes! 2016-03-22 11:41:00 +02:00
Fábio Santos
046e303669 s/binary/number/g 2016-03-22 11:40:44 +02:00
Fábio Santos
ebd0682376 Add new-style octal literals and make the B and the O case insensitive. 2016-03-22 11:40:44 +02:00
Fábio Santos
6f93a8d4a1 Fix evaluating the typeof an arrow function. Using evaluate on used to cause a crash. 2016-03-22 11:40:44 +02:00
Fábio Santos
df95318e8b => with destructuring arguments. Requires a lot of parser changes 2016-03-22 11:40:26 +02:00
Fábio Santos
aa127457d5 Adding arrow functions 2016-03-22 11:40:26 +02:00