Sebastian McKenzie
|
bd91bbee71
|
put experimental ES7 features behind a flag --experimental and experimental option
|
2014-11-21 19:36:35 +11:00 |
|
Sebastian McKenzie
|
931b68dc5d
|
use generateUidIdentifier instead of generateUid
|
2014-11-20 21:18:11 +11:00 |
|
Sebastian McKenzie
|
0df0c696a9
|
add util.arrayify and util.regexify
|
2014-11-19 12:12:59 +11:00 |
|
Sebastian McKenzie
|
fa3b24e5b4
|
don't lazy set templates, can't even remember why i did this
|
2014-11-16 18:49:29 +11:00 |
|
Sebastian McKenzie
|
00483917f0
|
fix comments not being retained from MethodDefinition in classes
|
2014-11-16 11:30:05 +11:00 |
|
Sebastian McKenzie
|
c7b45116c4
|
fix generation of integer Literals in MemberExpression
|
2014-11-14 19:34:54 +11:00 |
|
Sebastian McKenzie
|
43e2f121a6
|
remove nodes replacing in util.template
|
2014-11-14 09:28:23 +11:00 |
|
Sebastian McKenzie
|
38396dadd5
|
remove unused nodes.inherits in util.template
|
2014-11-14 09:15:29 +11:00 |
|
Sebastian McKenzie
|
25b466a627
|
remove unused variables
|
2014-11-12 18:39:50 +11:00 |
|
Sebastian McKenzie
|
a47a7dc347
|
rename util.parseNoProperties to util.parseTemplate
|
2014-11-12 18:28:11 +11:00 |
|
Sebastian McKenzie
|
896929378e
|
add util.trimRight method - fixes #147
|
2014-11-12 12:17:26 +11:00 |
|
Sebastian McKenzie
|
79045e15c5
|
remove second canCompile declaration
|
2014-11-10 16:42:04 +11:00 |
|
Sebastian McKenzie
|
778cab33d5
|
move canCompile method to util
|
2014-11-10 12:59:24 +11:00 |
|
Sebastian McKenzie
|
e0d3e18865
|
add allowReturnOutsideFunction to util.parse and make nodes optional in util.template
|
2014-11-10 08:16:22 +11:00 |
|
Sebastian McKenzie
|
8f435d59da
|
change sebmck to new 6to5 org
|
2014-11-09 20:08:36 +11:00 |
|
Sebastian McKenzie
|
98df094e60
|
fix cached templates exporting
|
2014-11-09 16:40:37 +11:00 |
|
Sebastian McKenzie
|
83286cccd2
|
use file node builder and save parents to ast tree
|
2014-11-09 16:26:52 +11:00 |
|
Sebastian McKenzie
|
0b86a2fef8
|
use acorns preserveParens
|
2014-11-09 12:06:56 +11:00 |
|
Sebastian McKenzie
|
d0a33ab933
|
add inherits option to util.template
|
2014-11-08 12:00:12 +11:00 |
|
Sebastian McKenzie
|
a04513a3c7
|
faster util.pushMutatorMap aliases
|
2014-11-07 12:28:52 +11:00 |
|
Sebastian McKenzie
|
5ff6f445b2
|
fix class computed methods
|
2014-11-04 15:53:36 +11:00 |
|
Sebastian McKenzie
|
6519ceaa63
|
move util.getIds to types.getIds
|
2014-11-04 12:47:03 +11:00 |
|
Sebastian McKenzie
|
816c1d304b
|
remove builders and move them to automatially generated types
|
2014-11-03 21:13:35 +11:00 |
|
Sebastian McKenzie
|
620e5791af
|
use t.is* methods to nicen up code
|
2014-11-03 18:10:52 +11:00 |
|
Sebastian McKenzie
|
47ee2cc99f
|
simplify err.loc references
|
2014-11-03 17:53:08 +11:00 |
|
Sebastian McKenzie
|
95f3ca6348
|
Merge branch 'master' into code-generator
Conflicts:
lib/6to5/transformers/classes.js
test/fixtures/transformation/source-maps/class/expected.js
test/fixtures/transformation/source-maps/class/source-mappings.json
|
2014-11-03 13:38:44 +11:00 |
|
Sebastian McKenzie
|
c17878913b
|
add classProps declaration to simplify/nicen up class property defining - closes #88
|
2014-11-03 13:36:23 +11:00 |
|
Sebastian McKenzie
|
85f0f6fb14
|
add whitespace option and move util.errorWithNode to File
|
2014-11-03 11:09:58 +11:00 |
|
Sebastian McKenzie
|
1a5ee7d5da
|
change acorn-jsx to acorn-6to5
|
2014-11-01 23:07:53 +11:00 |
|
Sebastian McKenzie
|
6e41309ede
|
add err.stack test to code frame error capture
|
2014-11-01 19:28:35 +11:00 |
|
Sebastian McKenzie
|
378832d31b
|
add comments with estraverse
|
2014-10-31 11:37:17 +11:00 |
|
Sebastian McKenzie
|
e797be518f
|
move some util and traverse methods into types
|
2014-10-30 13:26:06 +11:00 |
|
Sebastian McKenzie
|
b31f3666c8
|
yank out acorn-recast and replace it with our own code generator
|
2014-10-29 20:51:52 +11:00 |
|
Sebastian McKenzie
|
a03fd0f43a
|
fix formatting
|
2014-10-28 10:52:48 +11:00 |
|
Sebastian McKenzie
|
a7d860aab4
|
fix error stack not getting updated
|
2014-10-25 13:03:44 +11:00 |
|
Sebastian McKenzie
|
5f8420f23e
|
move from ast-types and recast to acorn-ast-types and acorn-recast
|
2014-10-23 09:00:27 +11:00 |
|
Sebastian McKenzie
|
2b70df4141
|
add util.resolve
|
2014-10-22 21:43:35 +11:00 |
|
Sebastian McKenzie
|
45bab5709f
|
change require("recast").types to require("ast-types")
|
2014-10-19 17:52:41 +11:00 |
|
Sebastian McKenzie
|
e76462303e
|
add umd module formatter - closes #82
|
2014-10-19 17:39:41 +11:00 |
|
Sebastian McKenzie
|
fceff4b52f
|
add amd module formatter #82
|
2014-10-19 17:05:24 +11:00 |
|
Sebastian McKenzie
|
a75248d2d2
|
remove jsx from valid extensions since we're now using acorn
|
2014-10-19 14:21:27 +11:00 |
|
Sebastian McKenzie
|
1f274a3b95
|
monkeypatch in acorn instead of esprima - immediately fixes #38, fixes #67 @thejameskyle
|
2014-10-19 13:21:56 +11:00 |
|
Sebastian McKenzie
|
aeac003dc8
|
add util.ensureExpressionType which will change a node from a declaration to an expression
|
2014-10-17 11:48:25 +11:00 |
|
Sebastian McKenzie
|
45c8c29cdf
|
add --ignore and --extensions flag to 6to5-node to compliment require hook options
|
2014-10-16 10:02:16 +11:00 |
|
Sebastian McKenzie
|
7fb023c2b0
|
move util.generate to File::generate
|
2014-10-14 14:58:18 +11:00 |
|
Sebastian McKenzie
|
6af0ffd97e
|
nicer automatic reference variables for comptued property names and property method assignment #54
|
2014-10-14 08:50:34 +11:00 |
|
Sebastian McKenzie
|
7bb53314a8
|
move util.isPattern to traverse.isPattern
|
2014-10-13 20:12:28 +11:00 |
|
Sebastian McKenzie
|
5accf49ebf
|
fix mutatormap property bug
|
2014-10-13 16:36:07 +11:00 |
|
Sebastian McKenzie
|
8b7d58fc1f
|
add ignore to dotfile templates
|
2014-10-13 14:25:19 +11:00 |
|
Sebastian McKenzie
|
964f50bdc8
|
remove ast-types dependency and use the exported recast ast-types
|
2014-10-13 14:11:08 +11:00 |
|