Donny/강동윤
4d3fcb86e4
feat(es/ast): Support import attributes proposal ( #7868 )
...
**Related issue:**
- Closes #7179
2023-08-28 00:29:45 +00:00
Alexander Akait
ad95ead291
fix(es/parser): Fix parsing of JSX with ASI ( #6577 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6522 .
2022-12-06 09:50:26 +09:00
Donny/강동윤
7ee86d1d25
test: Use correct extensions for fixture tests ( #6539 )
2022-11-29 09:47:56 +00:00
Donny/강동윤
cb157215d2
feat(es/parser): Make error message helpful ( #6535 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6525 .
2022-11-29 05:57:23 +00:00
Donny/강동윤
b8fe04f720
feat(common): Add contexts to the error messages ( #6526 )
...
**Description:**
This PR makes the error reporter print contexts.
**Related issue:**
- https://github.com/swc-project/swc/issues/6525 .
2022-11-29 00:56:47 +09:00
IWANABETHATGUY
97729e5d2b
feat(es/parser): Improve jsx lexer ( #5805 )
2022-09-11 00:03:51 +09:00
Donny/강동윤
67942d5731
feat(common): Reserve BytePos(0)
for dummy spans ( #4616 )
2022-05-11 16:14:42 +00:00
Alexander Akait
f39d3aca4d
feat(es/ast): Add raw
to Num
( #4245 )
2022-04-05 12:46:35 +00:00
Alexander Akait
fcf67c4570
fix(es): Consume surrogate pairs ( #4115 )
2022-03-28 12:18:06 +00:00
Alexander Akait
634d732803
feat(es/ast): Add raw
to Str
( #4071 )
2022-03-22 07:54:08 +00:00
Donny/강동윤
565a7202ed
chore: Fix CI
2022-03-20 00:15:03 +09:00
Donny/강동윤
40b8a4e596
feat(common): Implement a pretty error reporter ( #3946 )
2022-03-13 19:07:18 +00:00
Austaras
6a9d77808b
fix(es/parser): Emit an error for non-last rest element in an object pattern ( #3675 )
2022-02-23 13:08:46 +09:00
Austaras
f58b50bea7
refactor(es/ast): Change types of member-like expressions ( #3178 )
...
swc_ecma_ast:
- Split `MemberExpr` into `MemberExpr` and `SuperPropExpr`.
- Use `Box<Expr>` for `MemberExpr.obj`.
- Use ad-hoc type for `MemberExpr.prop`.
- Use ad-hoc type for `SuperPropExpr.prop`.
- Use `Callee` instead of `ExprOrSpread` for `CallExpr`.
- Simplify types for meta property expressions.
2022-01-10 13:54:42 +00:00
David Sherret
b853d4ac95
feat(es/parser): Implement more error recovery ( #2874 )
...
swc_ecma_parser:
- Recover from unterminated string literals.
2021-11-25 23:12:40 +00:00
Donny/강동윤
2b2f6955f2
refactor: Flatten ecmascript
( #2708 )
2021-11-10 19:00:54 +09:00