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-19 03:31:45 +03:00
Code
Issues
Actions
5
Packages
Projects
Releases
Wiki
Activity
80ed69d67d
swc
/
crates
/
swc_ecma_codegen
/
tests
/
test262
/
2acc83b037420689.js
7 lines
77 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fix bugs (#710) - The parser now supports parsing optional patterns in .d.ts files (Closes #709) - The source map is handled properly (Closes #705, Closes #707)
2020-03-09 15:18:41 +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