This website requires JavaScript.
Explore
Help
Sign In
swc-project
/
swc
Watch
1
Star
1
Fork
0
You've already forked swc
mirror of
https://github.com/swc-project/swc.git
synced
2024-12-20 04:01:39 +03:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
ba0c7c908c
swc
/
ecmascript
/
codegen
/
tests
/
references
/
2acc83b037420689.js
7 lines
76 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Ecmascript codegen (#40) Comment is not fully supported yet
2018-10-25 07:17:05 +03:00
class
a
extends
b
{
Typescript & parser for decorators swc_atoms: - add some atoms swc_ecma_ast: - ast nodes for typescript - `ClassMethod` -> `Method`, `ClassMethodKind` -> `MethodKind` - private class method / class property - use separate type for tagged template literals - add `declare` field to `Decl`s - make function body optional swc_ecma_parser: - rename Type to TokenContext - support decorators Note: error reporting for invalid decorator is not implemented yet - merge `Config` into `Syntax` - Use DiagnosticBuilder for error type This is to make backtracking cheaper. swc_ecma_transforms: - add `strip` pass
2019-01-07 13:43:47 +03:00
constructor
(
)
{
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 17:56:16 +03:00
(
)
=>
super
(
)
;
Ecmascript codegen (#40) Comment is not fully supported yet
2018-10-25 07:17:05 +03:00
}
}
Reference in New Issue
Copy Permalink