Donny/강동윤
d1097ccb59
feat(css/parser): Store lexed comments ( #8091 )
...
**Description:**
For now, we leave every comment as a leading comment. As logic for determining leading vs trailing is quite complex, I'll do it with another PR.
2023-10-10 11:42:20 +00:00
Donny/강동윤
b4eef53680
feat(css/ast): Make AST intuitive ( #6606 )
2022-12-09 02:27:19 +00:00
Donny/강동윤
7ee86d1d25
test: Use correct extensions for fixture tests ( #6539 )
2022-11-29 09:47:56 +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
Alexander Akait
e63fa28008
fix(css/ast): Fix AST types for simple block ( #6131 )
2022-10-13 05:31:34 +00:00
Alexander Akait
85b2188204
refactor(css/ast): Refactor AST types ( #6124 )
2022-10-13 04:15:29 +00:00
Alexander Akait
7f62fa6227
perf(html): Reduce memory usage ( #5867 )
2022-09-15 04:17:05 +00:00
Alexander Akait
8f81104380
fix(css/ast): Support list of component values ( #5321 )
2022-07-30 04:40:54 +00:00
Alexander Akait
1b7b4f0cb4
test(css/parser): Improve tests ( #4963 )
2022-06-13 20:27:30 +00:00
Donny/강동윤
67942d5731
feat(common): Reserve BytePos(0)
for dummy spans ( #4616 )
2022-05-11 16:14:42 +00:00
Alexander Akait
37c49e876c
refactor(css/ast): Unify SimpleBlock
and Block
completely ( #3531 )
2022-02-11 22:31:51 +09:00
Alexander Akait
460f846934
refactor(css/ast): Rename types to match specification ( #3484 )
2022-02-09 19:43:15 +09:00
Alexander Akait
cd87d965f3
refactor(css/ast): Refactor types related to selectors ( #3460 )
2022-02-06 04:24:51 +00:00
Alexander Akait
eeedd9adf5
refactor(css/ast): Rename property
to name
( #3410 )
2022-01-31 05:02:30 +00:00
Alexander Akait
8781527751
fix(css/ast): Fix type definitions related to parsing unknown at-rules ( #2922 )
...
swc_css_ast:
- Rename `FnValue` to `Function`.
2021-12-01 17:07:49 +00:00
Alexander Akait
c50cec1533
refactor(css/ast): Rename StyleRule
to QualifiedRule
( #2756 )
2021-11-17 21:27:39 +00:00
Donny/강동윤
1d518fe381
refactor: Flatten css
( #2731 )
2021-11-12 19:37:05 +09:00