Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(es/compat): Implement stage 3 decorator, without auto accessor #6950

Merged
merged 118 commits into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
a0df891
Copy tests from babel
kdy1 Feb 16, 2023
316aa79
WPI: testing system
kdy1 Feb 16, 2023
703c325
WIP: fixup
kdy1 Feb 16, 2023
b0586a7
Add module
kdy1 Feb 16, 2023
9e9f987
fixup
kdy1 Feb 16, 2023
ed3e26f
parser
kdy1 Feb 16, 2023
e70ac67
lints
kdy1 Feb 16, 2023
1defb8a
`create_pass`
kdy1 Feb 16, 2023
9af03f7
Rename
kdy1 Feb 16, 2023
86e0449
More work for options
kdy1 Feb 16, 2023
e1f738a
allow error
kdy1 Feb 16, 2023
d14d72f
Otpions
kdy1 Feb 16, 2023
0eebf0b
More option work
kdy1 Feb 16, 2023
8c87657
option
kdy1 Feb 23, 2023
7ebdc09
More json work
kdy1 Feb 23, 2023
5f6c469
json
kdy1 Feb 23, 2023
134e524
Improve test creation
kdy1 Mar 13, 2023
821d751
Support more transforms
kdy1 Mar 13, 2023
4ff3af0
Some work
kdy1 Mar 15, 2023
d9a4640
Inject init vars
kdy1 Mar 15, 2023
034f56b
empty check
kdy1 Mar 15, 2023
b49a338
Prepend vars
kdy1 Mar 15, 2023
e2c2929
Rename
kdy1 Mar 15, 2023
9de22f1
initializer of private props
kdy1 Mar 15, 2023
3a6df0f
init
kdy1 Mar 15, 2023
01fcee2
extra_stmts
kdy1 Mar 15, 2023
4fe8763
init init
kdy1 Mar 15, 2023
9327cbf
WIP: Call helper
kdy1 Mar 15, 2023
0c05db0
fixup: combined args
kdy1 Mar 15, 2023
eb430a0
sym
kdy1 Mar 15, 2023
a78e108
Fix getter
kdy1 Mar 15, 2023
5cf4c02
setter
kdy1 Mar 15, 2023
0c1e256
Visitor refactor
kdy1 Mar 15, 2023
ba67dc0
Fix init name
kdy1 Mar 15, 2023
1c73199
Preserve prop name
kdy1 Mar 15, 2023
45b7272
name
kdy1 Mar 15, 2023
0b54472
static
kdy1 Mar 15, 2023
7eca6c7
Inject initliazers for computed keys
kdy1 Mar 15, 2023
0208537
Fix computed keys
kdy1 Mar 15, 2023
d73ca22
Remove `babelHelpers.`
kdy1 Mar 15, 2023
a771084
Prefix `applyDecs2203R` with `_`
kdy1 Mar 15, 2023
5e4af74
Fix array
kdy1 Mar 15, 2023
7c736b4
Fix panic
kdy1 Mar 16, 2023
6f75c3d
WIP: class methods
kdy1 Mar 16, 2023
33b8163
Parser option
kdy1 Mar 28, 2023
00dc4f3
init_proto_args
kdy1 Mar 28, 2023
07a3470
Inject into constructor
kdy1 Mar 28, 2023
48446bc
initProto
kdy1 Mar 28, 2023
a372229
init proto
kdy1 Mar 28, 2023
687a8b9
initStatic
kdy1 Mar 28, 2023
27d72eb
More work for private methods
kdy1 Mar 31, 2023
42a59b1
fixup
kdy1 Mar 31, 2023
bdc7c70
Pure
kdy1 Mar 31, 2023
08534ca
More stateless
kdy1 Mar 31, 2023
c196b25
for_static
kdy1 Mar 31, 2023
a38c6d9
initStatic
kdy1 Mar 31, 2023
f2ee94e
init_static_args
kdy1 Mar 31, 2023
a445e5a
Fix initStatic
kdy1 Mar 31, 2023
6877f56
is_static
kdy1 Mar 31, 2023
384feb0
Update test refs
kdy1 Mar 31, 2023
ef9d6d1
Number
kdy1 Mar 31, 2023
bfbec2b
Update test refs
kdy1 Apr 3, 2023
4dc7fa9
Helper
kdy1 Apr 3, 2023
c14d3d8
Use correct helper
kdy1 Apr 3, 2023
61813e7
Rename helper
kdy1 Apr 3, 2023
d63a467
setter
kdy1 Apr 3, 2023
582cc23
Fix setter
kdy1 Apr 3, 2023
e8db07a
Use clone
kdy1 Apr 3, 2023
1e1ccc1
MethodKind
kdy1 Apr 3, 2023
4ec2ffe
Fix args
kdy1 Apr 3, 2023
08782b5
getter
kdy1 Apr 3, 2023
7818cf3
visit_mut_expr
kdy1 Apr 3, 2023
c48fb1d
Better alias name
kdy1 Apr 3, 2023
062639c
initClass
kdy1 Apr 3, 2023
4dbadc1
Declare `initClass`
kdy1 Apr 3, 2023
d814537
class decorators
kdy1 Apr 3, 2023
9c923cd
Object pat
kdy1 Apr 3, 2023
bb2ca3f
c_pat
kdy1 Apr 3, 2023
1857bda
Object pat
kdy1 Apr 3, 2023
4505c5c
remove this from initClass
kdy1 Apr 3, 2023
4d6e05f
visit_mut_class_decl
kdy1 Apr 3, 2023
fc0f09e
Helper: identity
kdy1 Apr 3, 2023
f1313e9
More work for class decorators
kdy1 Apr 3, 2023
73c84ec
extra_lets
kdy1 Apr 3, 2023
2d63c7e
Fix let/var
kdy1 Apr 3, 2023
91bdec3
Dep
kdy1 Apr 3, 2023
21bd926
lockfile
kdy1 Apr 3, 2023
70e746a
Remap
kdy1 Apr 3, 2023
b1178b5
Add `IdentRenamer`
kdy1 Apr 3, 2023
0556034
Use correct renamer
kdy1 Apr 3, 2023
167d2ee
Preserve inner class name
kdy1 Apr 3, 2023
33a628f
is_static = false
kdy1 Apr 3, 2023
afd0d38
Preserve semantics of static blocks
kdy1 Apr 3, 2023
561ed98
Move static method
kdy1 Apr 3, 2023
db658ef
Branch on static member
kdy1 Apr 3, 2023
80248de
Call `initClass`
kdy1 Apr 3, 2023
77dcfab
Rename: `preserved_class_name`
kdy1 Apr 3, 2023
4a307c0
Change order
kdy1 Apr 3, 2023
c2011da
Rename: handle_class_expr
kdy1 Apr 3, 2023
18833a4
Call `replace_ident` for class expr
kdy1 Apr 3, 2023
62650c0
Fix combined_arg based on `init_proto`
kdy1 Apr 3, 2023
863585b
Rename: pre_class_inits
kdy1 Apr 3, 2023
e3bd83a
Preserve exec order of class decorators
kdy1 Apr 3, 2023
d02dea3
Refactor: preserve_side_effect_of_decorators
kdy1 Apr 3, 2023
7b6571e
Preserve execution order of decorators
kdy1 Apr 3, 2023
3f50a94
Merge decorators
kdy1 Apr 3, 2023
f6344ec
Respect is_static
kdy1 Apr 3, 2023
29b53ee
Respect order of static members
kdy1 Apr 3, 2023
3629797
is_static = false
kdy1 Apr 3, 2023
3ee84ee
Ignore accessor tests
kdy1 Apr 3, 2023
6234cdc
Syntax: allow_super_outside_method
kdy1 Apr 3, 2023
56feb3b
Mark more expr as side-effect-free
kdy1 Apr 3, 2023
153ce3c
`old_pre_class_inits`
kdy1 Apr 3, 2023
eef3197
Don't create c_pat on static mode
kdy1 Apr 3, 2023
496edec
Ignore
kdy1 Apr 3, 2023
85cbd62
Ignore
kdy1 Apr 3, 2023
edce69f
Update test refs
kdy1 Apr 3, 2023
b74ff46
Clippy
kdy1 Apr 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading