강동윤
|
43d633b44d
|
Handle comments and improve codegen (#136)
swc_ecma_codegen:
- Improve codegen
- Handle comments
swc_ecma_parser:
- Handle comments
|
2019-02-08 13:00:58 +09:00 |
|
강동윤
|
ba0c7c908c
|
Improve swc_ecma_trnasforms (#127)
# swc_ecma_ast
- Add PrivateName to Expr
# swc_ecma_parser
- Fix parsing of private name
# swc_ecma_transforms
## Hygiene
- It correctly tracks `BindingIdentifer` / `IdentifierReference`
- Preserve `IdentiferReference` if it conflicts with a `BindingIdentifier`
## Block scoping
- It correctly tracks `BindingIdentifer` / `IdentifierReference`
## Fixer
- It removes useless parens.
- It removes useless `IdentiferReference`s in comma expressions.
## Classes properties
- public prooperty
- private property
## Class decorators
- implemented
|
2019-01-29 23:56:16 +09:00 |
|
강동윤
|
7b56b0bc74
|
Improve codegen (#57)
* travis: make it faster
* better codegen
* Move enable_comments field to config
|
2018-11-15 21:43:04 +09:00 |
|
강동윤
|
f9be576e02
|
Ecmascript codegen (#40)
Comment is not fully supported yet
|
2018-10-25 13:17:05 +09:00 |
|