33 Commits

Author SHA1 Message Date
Sebastian McKenzie
d28496006e implement Scope so we can keep track of references to avoid collisions when generating ids 2014-11-04 12:46:47 +11:00
Sebastian McKenzie
816c1d304b remove builders and move them to automatially generated types 2014-11-03 21:13:35 +11:00
Sebastian McKenzie
718e342e86 fix classes supername transformer inference 2014-11-03 18:22:57 +11:00
Sebastian McKenzie
620e5791af use t.is* methods to nicen up code 2014-11-03 18:10:52 +11:00
Sebastian McKenzie
20484c66c5 add types.inherits method that inherits loc, range, start, end etc 2014-11-03 17:52:50 +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
6838062279 move util.errorWithNode to File 2014-11-03 11:11:37 +11:00
Sebastian McKenzie
009d063790 just return constructor if only a constructor exists in classes 2014-10-30 17:37:51 +11:00
Sebastian McKenzie
ea7ac4cd2d change acorn-ast-types to internal builders 2014-10-30 13:09:12 +11:00
Sebastian McKenzie
ce4220644d abstract subclassing into declaration #88 2014-10-23 08:59:52 +11:00
Sebastian McKenzie
45bab5709f change require("recast").types to require("ast-types") 2014-10-19 17:52:41 +11:00
ahomu
9f267e54a9 fix typo writable
s/writeable/writable
2014-10-13 17:18:56 +09:00
Sebastian McKenzie
964f50bdc8 remove ast-types dependency and use the exported recast ast-types 2014-10-13 14:11:08 +11:00
Sebastian McKenzie
99d626d23f add file class to simplify transforming 2014-10-13 03:26:49 +11:00
Sebastian McKenzie
c3541a65cc remove null supername hack 2014-10-12 13:41:22 +11:00
Sebastian McKenzie
bb697c6436 fix static member expression calls, make classes more spec-compliant 2014-10-12 13:39:10 +11:00
Sebastian McKenzie
5edbb63f9a more reliable super parsing in classes - fixes #51 2014-10-12 09:39:29 +11:00
Sebastian McKenzie
a40cbc2cee make class methods unenumerable - fixes #41 2014-10-11 11:49:03 +11:00
Sebastian McKenzie
3fb17b00a6 fix spread and super resolution - fixes #42 2014-10-11 10:44:51 +11:00
Sebastian McKenzie
35522c2ef3 static method class super references - fixes #40 2014-10-11 08:58:54 +11:00
Sebastian McKenzie
fb67ab9b5d make super behaviour more spec compliant - fixes #32 2014-10-10 15:49:28 +11:00
Sebastian McKenzie
35bb0bc71d inherit super class static properties - fixes #31 2014-10-10 15:07:55 +11:00
Sebastian McKenzie
3e34bbe722 support static property on ClassMethods - fixes #28 2014-10-10 13:57:08 +11:00
Sebastian McKenzie
3cb8866fcc copy rest to class constructor - fixes #29 2014-10-10 13:51:13 +11:00
Sebastian McKenzie
9c5262baab support for non-Identifier/MemberExpression class super 2014-10-10 10:57:35 +11:00
Sebastian McKenzie
e7ef64a5ad fix es6 visitor keys 2014-10-09 18:56:24 +11:00
Sebastian McKenzie
0664ccff98 add support for member expression super classes - closes #22 2014-10-09 14:03:19 +11:00
Sebastian McKenzie
5d9fc19f76 support ClassExpression - fixes #21 2014-10-09 13:11:07 +11:00
Sebastian McKenzie
05c037d2d4 move transformers over to using ast-types when constructing new nodes 2014-10-01 11:01:49 +10:00
Sebastian McKenzie
be5ebe1758 remove dead code 2014-09-29 18:29:16 +10:00
Sebastian McKenzie
1db8afa97a fix lint errors 2014-09-29 01:34:08 +10:00
Sebastian McKenzie
c97696c224 first commit 2014-09-28 23:39:22 +10:00