Commit Graph

3 Commits

Author SHA1 Message Date
강동윤
4d4e4ce979
Implement object rest / spread ()
swc_ecma_parser:
 - improve parser's tests
It now shows the code failed to parse
 - allow rest pattern in catch clause
 - fix parsing of named export (semicolon)

swc_ecma_transforms:
 - implement array spread
 - add helper methods (objectWithoutProperties)
 - add some fast paths
 - make es2015::parameters handle catch clauses
 - don't show helpers when execution failed
 - export fixer
2018-12-26 17:09:48 +09:00
강동윤
7b56b0bc74
Improve codegen ()
* travis: make it faster

* better codegen

* Move enable_comments field to config
2018-11-15 21:43:04 +09:00
강동윤
f9be576e02
Ecmascript codegen ()
Comment is not fully supported yet
2018-10-25 13:17:05 +09:00