Sebastian McKenzie
|
e4e4ae5b1d
|
fix up node inheritance
|
2014-11-09 12:07:46 +11:00 |
|
Sebastian McKenzie
|
ba04377ed8
|
add types.toIdentifier
|
2014-11-09 12:07:25 +11:00 |
|
Sebastian McKenzie
|
cd9e289dee
|
traverse: clean up scope getIds building
|
2014-11-09 12:07:14 +11:00 |
|
Sebastian McKenzie
|
0b86a2fef8
|
use acorns preserveParens
|
2014-11-09 12:06:56 +11:00 |
|
Sebastian McKenzie
|
b84cb1828b
|
generator: avoid redundant source map mappings
|
2014-11-09 12:03:47 +11:00 |
|
Sebastian McKenzie
|
aedc013ab8
|
generator: rename Whitespace methods
|
2014-11-09 12:03:31 +11:00 |
|
Sebastian McKenzie
|
ab9cd4e630
|
add support for an optional runtime - closes #129
|
2014-11-09 12:02:06 +11:00 |
|
Sebastian McKenzie
|
4cb90cb1e0
|
add precedence to generated node generation
|
2014-11-08 12:00:26 +11:00 |
|
Sebastian McKenzie
|
d0a33ab933
|
add inherits option to util.template
|
2014-11-08 12:00:12 +11:00 |
|
Sebastian McKenzie
|
9ea4431ba3
|
add alternate shallow equals option to types.is*
|
2014-11-08 11:59:54 +11:00 |
|
Sebastian McKenzie
|
5c6d57c51b
|
add transformation and generation folders
|
2014-11-08 09:17:12 +11:00 |
|
Sebastian McKenzie
|
744d1af485
|
move down propertyLiterals transformer in case classes produces any
|
2014-11-07 21:10:28 +11:00 |
|
Sebastian McKenzie
|
591b78b159
|
move property literal check to a separate transformer
|
2014-11-07 21:01:39 +11:00 |
|
Sebastian McKenzie
|
49ea641314
|
ignore computed property literals that are valid identifiers
|
2014-11-07 20:51:01 +11:00 |
|
Sebastian McKenzie
|
35b7b140da
|
fix pointless newlines after left braces
|
2014-11-07 20:47:09 +11:00 |
|
Sebastian McKenzie
|
159f5217e3
|
simplify ast transformer code
|
2014-11-07 20:46:54 +11:00 |
|
Sebastian McKenzie
|
795e38e4f4
|
add Statement node type
|
2014-11-07 20:46:43 +11:00 |
|
Sebastian McKenzie
|
f8e8cd3979
|
support SpreadElement in destructuring - fixes #128
|
2014-11-07 20:46:02 +11:00 |
|
Sebastian McKenzie
|
b3206d94a6
|
Merge branch 'master' into experimental
Conflicts:
README.md
lib/6to5/register.js
|
2014-11-07 13:54:59 +11:00 |
|
Sebastian McKenzie
|
71646f4ade
|
register: fix ignoreRegex compatibility check
|
2014-11-07 13:52:13 +11:00 |
|
Sebastian McKenzie
|
56ac964e54
|
remove newline assurance and add optional Error constructor to File::errorWithNode
|
2014-11-07 13:51:31 +11:00 |
|
Sebastian McKenzie
|
54f901f131
|
require: add missing blacklistTests, implement opts.whitelist and opts.only - closes #125
Conflicts:
lib/6to5/register.js
|
2014-11-07 13:16:26 +11:00 |
|
Sebastian McKenzie
|
99ba77bb0b
|
nicer removeProperties for comments
|
2014-11-07 12:33:22 +11:00 |
|
Sebastian McKenzie
|
346f72be05
|
ensure files end with a newline
|
2014-11-07 12:32:48 +11:00 |
|
Sebastian McKenzie
|
c0e6cda071
|
add UserWhitespacable alias to Property
|
2014-11-07 12:32:31 +11:00 |
|
Sebastian McKenzie
|
c054ff7bbb
|
better whitespace detection in generator
|
2014-11-07 12:32:15 +11:00 |
|
Sebastian McKenzie
|
771d3dc8a0
|
don't inherit from XJSAttribute in jsx transformer because it causes some weird whitespace issues
|
2014-11-07 12:31:54 +11:00 |
|
Sebastian McKenzie
|
e8d4806b45
|
combine export declaration assignments into variable declarations
|
2014-11-07 12:31:31 +11:00 |
|
Sebastian McKenzie
|
469a522300
|
better whitespace for code generation
|
2014-11-07 12:31:09 +11:00 |
|
Sebastian McKenzie
|
4068a8bf68
|
remove exposure to generator from browser build
|
2014-11-07 12:30:29 +11:00 |
|
Sebastian McKenzie
|
a04513a3c7
|
faster util.pushMutatorMap aliases
|
2014-11-07 12:28:52 +11:00 |
|
Sebastian McKenzie
|
6f0ca947a7
|
remove exposure to generate and util
|
2014-11-07 12:28:28 +11:00 |
|
Sebastian McKenzie
|
12f68b05c3
|
better Symbol polyfill existence check because the one es6-symbol uses isn't reliable
|
2014-11-07 12:27:57 +11:00 |
|
Sebastian McKenzie
|
62fe128132
|
more support to t.getIds and add t.needsWhitespaceBefore method
|
2014-11-07 12:26:48 +11:00 |
|
Sebastian McKenzie
|
bf632ca20b
|
more efficient constants collision checking
|
2014-11-07 12:26:19 +11:00 |
|
Sebastian McKenzie
|
26428cde41
|
require: add missing blacklistTests, implement opts.whitelist and opts.only - closes #125
|
2014-11-07 12:25:42 +11:00 |
|
Sebastian McKenzie
|
9bb8a16d93
|
change polyfill to monkey patch in browser comment
|
2014-11-05 15:22:17 +11:00 |
|
Sebastian McKenzie
|
765899a521
|
use push instead of _push for first backtick in template literals
|
2014-11-04 18:37:00 +11:00 |
|
Sebastian McKenzie
|
1d40cac52f
|
let ExpressionStatements handle child comments
|
2014-11-04 18:34:21 +11:00 |
|
Sebastian McKenzie
|
fb0325a4d8
|
add support for SpreadElement to types.getIds
|
2014-11-04 18:33:48 +11:00 |
|
Sebastian McKenzie
|
cfbaae456b
|
use _push instead of push on template literals end
|
2014-11-04 18:32:51 +11:00 |
|
Sebastian McKenzie
|
a535007a35
|
clean up let scoping transformer and add lots of comments
|
2014-11-04 18:06:54 +11:00 |
|
Sebastian McKenzie
|
5ff6f445b2
|
fix class computed methods
|
2014-11-04 15:53:36 +11:00 |
|
Sebastian McKenzie
|
d7ae3b506a
|
fix linting errors
|
2014-11-04 15:53:11 +11:00 |
|
Sebastian McKenzie
|
287cbbb6a1
|
implement new and improved let scoping - fixes #91, fixes #102, fixes #124
|
2014-11-04 14:59:44 +11:00 |
|
Sebastian McKenzie
|
d1088583ba
|
default generateUid scope to Program
|
2014-11-04 12:57:06 +11:00 |
|
Sebastian McKenzie
|
c967cded78
|
make id optional in t.getIds
|
2014-11-04 12:56:53 +11:00 |
|
Sebastian McKenzie
|
71d87f5b97
|
cache scope ids and limit id variable declarations to kind
|
2014-11-04 12:56:37 +11:00 |
|
Sebastian McKenzie
|
56271efada
|
pass scope to transformers
|
2014-11-04 12:48:08 +11:00 |
|
Sebastian McKenzie
|
89fbb06658
|
simplify VariableDeclaration ForStatement check
|
2014-11-04 12:47:56 +11:00 |
|