Gurwinder Singh
|
5f261fcd5c
|
Rename Import and Export Node names (#777)
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
|
2020-05-17 19:15:31 +09:00 |
|
강동윤
|
d74f74932e
|
Support decorators on parameters (#775)
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
|
2020-05-16 22:36:52 +09:00 |
|
David Sherret
|
8b4fc59805
|
Support template literals in types (#767)
|
2020-05-16 17:19:48 +09:00 |
|
강동윤
|
6f4e534c88
|
Bump versions
|
2020-03-10 10:39:42 +09:00 |
|
David Sherret
|
1e13299540
|
Fix arrow start in conditional expression. (#712)
|
2020-03-10 10:29:34 +09:00 |
|
강동윤
|
e448a8910c
|
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 21:18:41 +09:00 |
|
강동윤
|
cb43a69e02
|
implement { Hash, Eq } for ast nodes (#684)
As NaN is`IIdent` not `Number`, we can use implement Hash and Eq for ast nodes.
|
2020-02-21 12:47:06 +09:00 |
|
David Sherret
|
4550f7e1af
|
Support type predicate "asserts" with no "is" (#667)
|
2020-02-15 10:44:02 +09:00 |
|
강동윤
|
1fc09caa2f
|
type-only import, exports (#662)
|
2020-02-13 22:56:13 +09:00 |
|
kdy1
|
82e73b1121
|
Fix bugs (#659)
- Strip out const assertions (Closes #656)
- Fix exclude of the file matcher (Closes #658)
- Automatic typescript detection (Closes #655)
|
2020-02-12 15:07:45 +00:00 |
|
강동윤
|
8afa3413ea
|
Remove dependency on lazy_static and chashmap (#617)
- `lazy_static` is replaced by `once_cell`
- `chashmap` is replaced by `dashmap`
|
2020-01-30 23:29:12 +09:00 |
|
kdy1
|
96e1dbe213
|
Improve hygiene and use JSXAttrValue (#592)
swc_ecmacript:
- use JSXAttrValue (Fixes #584)
swc_ecma_transforms:
- make hygiene pass check for exported vars (Fixes #591)
|
2020-01-17 05:45:33 +00:00 |
|
David Sherret
|
0d67d5d855
|
Fix JSX opening, closing, spread child, and expression container spans (#582)
swc_ecma_parser:
- fix opening and closing jsx spans.
- fix JSX expression.
- fix JSX spread child.
|
2020-01-14 12:37:29 +09:00 |
|
David Sherret
|
fea4c5bd63
|
TypePredicate - Parse the asserts modifier (#567)
swc_ecma_parser:
- add support for asserts modifier from typescript 3.7
|
2020-01-09 14:14:44 +09:00 |
|
dsherret
|
9676a05853
|
Import type should have type arguments rather than type params (#560)
Just found another occurrence of this. Similar to #548.
![image](https://user-images.githubusercontent.com/1609021/71735836-716b2d00-2e1d-11ea-8878-50d28da9fa5e.png)
I'm currently going through all the types right now so you might want to hold off on merging this or doing a breaking change release until I finish that.
|
2020-01-04 23:56:31 +00:00 |
|
David Sherret
|
c43bc471dd
|
Fix span for patterns with a type annotation (#558)
swc_ecma_parser:
* fix span for patterns with a type annotation.
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
|
2020-01-03 14:37:48 +09:00 |
|
David Sherret
|
5acf557e35
|
GetterProp - Add type_ann (#557)
swc_ecma_ast:
- add type_ann to GetterProp
swc_ecmascript_parser:
- parse type annotation after a getter property
|
2020-01-03 13:08:27 +09:00 |
|
David Sherret
|
288008091a
|
Typo (#550)
|
2020-01-02 10:13:47 +09:00 |
|
강동윤
|
916858ae81
|
Bugfixes (#549)
swc_ecma_ast:
- fix TsExprWithTypeArgs (closes #548)
swc_ecma_codegen:
- allow using default import with namespace import (closes #546)
swc_ecma_parser:
- parse import.meta (closes #545)
|
2020-01-01 06:57:34 +09:00 |
|
강동윤
|
b1e4122b02
|
Nullish coalescing / optional chaining / comments (#529)
swc_ecma_ast:
- rename `TsOptChain` to `OptChainExpr` (Fixes #525)
- add `BinOp::NullishCoalescing`
swc_ecma_parser:
- parse `??` (Fixes #526)
swc_ecma_transforms:
- remap comments from fixer (Fixes #528)
|
2019-12-24 17:01:32 +09:00 |
|
강동윤
|
d8541c4f63
|
Fix a bug
|
2019-12-23 14:37:25 +09:00 |
|
강동윤
|
24b5c44ba3
|
Numeric separator & Bigint (#523)
swc_ecma_ast:
- `BigInt` literal
swc_ecma_parser:
- numeric separators. (#521)
- parsing of bigint literal
|
2019-12-22 17:14:04 +09:00 |
|
강동윤
|
30af06bb70
|
Ast (#513)
swc_ecmascript:
- add `ExprStmt`.
- change type of regex.expression and regex.flags.
|
2019-12-16 18:08:21 +09:00 |
|
강동윤
|
f9a649ff7a
|
Bump version
|
2019-12-15 08:15:26 +09:00 |
|
강동윤
|
332061f44d
|
Parser: respect jsc.target (#507)
swc:
- make parser respect `jsc.target`.
|
2019-12-14 18:51:08 +09:00 |
|
kdy1
|
0df908fdb4
|
ast & parser improvement (#502)
Parser can now parse typescript source code and rxjs.
Closes #468.
|
2019-12-11 14:28:35 +00:00 |
|
kdy1
|
fa98c470d6
|
Program instead of Module (#499)
This pr adds an option to parse file as script, not module.
Related: https://github.com/swc-project/swc/issues/491
|
2019-12-11 06:07:21 +00:00 |
|
Zimon Dai
|
ec086a1dab
|
use 2018 edition syntax (#479)
|
2019-12-02 17:10:05 +09:00 |
|
강동윤
|
776e014a11
|
Fix tests (#478)
|
2019-12-01 18:11:59 +09:00 |
|
강동윤
|
51558c6c36
|
Final groundwork for plugin (#474)
swc:
- add serialization tests
ast_node:
- handle `*` tag properly
swc_ecma_ast:
- update serialization of ExprOrSpread
|
2019-11-30 11:12:34 +09:00 |
|
강동윤
|
a7a8a4a2e4
|
Plugin (#473)
swc_common:
- apply patch from rust-lang/rust#59693
swc:
- use &Options instead of Options
- configures commons::CM
- exposes `handler`
|
2019-11-29 23:46:06 +09:00 |
|
강동윤
|
41c6941dc5
|
fixup! Don't omit empty values while serializing
|
2019-11-28 17:53:03 +09:00 |
|
강동윤
|
95a59338d3
|
Don't omit empty values while serializing
|
2019-11-28 17:49:51 +09:00 |
|
강동윤
|
b46c4ec300
|
Update dependencies (#464)
|
2019-11-24 14:17:27 +09:00 |
|
강동윤
|
d074063867
|
Parser: Error recovery (#449)
Implement some error recovery logic to parser
|
2019-11-17 18:36:47 +09:00 |
|
Jasper De Sutter
|
716bfe05b2
|
Cleanup (#448)
- cargo fix
- update all crates to 2018 edition
|
2019-11-17 13:21:53 +09:00 |
|
강동윤
|
37b80dfd08
|
Optional chaining for typescript (#444)
Implement typescript 3.7's optional chaining
|
2019-11-15 14:34:48 +09:00 |
|
강동윤
|
ae3326cd9d
|
Compiler apis & .swcrc improvement (#434)
- Expose high-level compiler apis (#431)
- Support multiple entries in .swcrc (#414)
|
2019-10-25 10:11:24 +09:00 |
|
강동윤
|
4a41140854
|
Bump versions
|
2019-10-23 22:20:00 +09:00 |
|
강동윤
|
2e5c81ee8e
|
Fix parsing readonly array and tests
Closes #432
|
2019-10-23 20:20:17 +09:00 |
|
강동윤
|
c7abda95d4
|
typescript const assertion (#419)
Fixes #401.
|
2019-09-18 22:54:12 +09:00 |
|
강동윤
|
ed64a60cb3
|
Publish ast / codegen /transforms
|
2019-05-02 15:50:21 +09:00 |
|
강동윤
|
d40600fd46
|
Make span not optional
|
2019-04-26 20:33:34 +09:00 |
|
강동윤
|
248a53ce7c
|
Make deserialization faster (#324)
swc_ecma_ast:
- make deserialization faster
|
2019-03-08 11:36:23 +09:00 |
|
강동윤
|
ed100700f1
|
Make deserialization fast (#314)
swc_ecma_ast:
- add deserialization benchmark
ast_node:
- #[ast_node] on enum now implements faster deserialization
|
2019-03-05 23:16:45 +09:00 |
|
강동윤
|
a46804ab48
|
swc_ecma_ast:
- Split class member / property into separate types
|
2019-02-28 19:25:38 +09:00 |
|
강동윤
|
10cb9a4b21
|
Publish (#278)
- swc_macros_common@0.2.0
- ast_node@0.4.1
- string_enum @0.2.0
- swc_ecma_ast@0.8.0
- swc_ecma_parser_macros@0.3.0
- swc_ecma_codegen_macros@0.3.0
- swc_ecma_parser@0.9.1
- swc_ecma_parser@0.6.1
|
2019-02-27 10:42:22 +09:00 |
|
강동윤
|
a75dbdf2f2
|
Update references
|
2019-02-25 19:47:53 +09:00 |
|
강동윤
|
b6a4d1548a
|
FIx
|
2019-02-25 19:14:23 +09:00 |
|
강동윤
|
27cd169522
|
More works for ast node serialization
|
2019-02-25 19:07:20 +09:00 |
|