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/강동윤
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
bea6cce0c6
perf(css): Reduce size of tokens ( #6384 )
2022-11-10 01:36:53 +00:00
Alexander Akait
b65a16c7aa
feat(css/ast): Make raw
optional ( #5211 )
2022-07-15 11:22:59 +00:00
Donny/강동윤
67942d5731
feat(common): Reserve BytePos(0)
for dummy spans ( #4616 )
2022-05-11 16:14:42 +00:00
Alexander Akait
6696a93b5c
refactor(css/ast): Union all at-rules to one at-rule in AST ( #4189 )
2022-04-01 20:53:23 +09:00
Edwin Coronado
57802cfcce
fix(common): Fix the line number of errors ( #4082 )
2022-03-19 23:56:12 +09:00
Donny/강동윤
40b8a4e596
feat(common): Implement a pretty error reporter ( #3946 )
2022-03-13 19:07:18 +00:00
Alexander Akait
460f846934
refactor(css/ast): Rename types to match specification ( #3484 )
2022-02-09 19:43:15 +09:00
Alexander Akait
49564d9b5d
feat(css/ast): Improve types related to url
tokens ( #3444 )
2022-02-04 04:05:44 +00:00
Alexander Akait
7787f90da0
refactor(css/ast): Fix type definitions related to @import
at-rule ( #3351 )
2022-01-25 22:50:23 +09:00
Alexander Akait
0f4ad0f8c8
fix(css/ast): Fix type definition of @namespace
( #2919 )
2021-12-01 09:29:25 +00:00
Donny/강동윤
1d518fe381
refactor: Flatten css
( #2731 )
2021-11-12 19:37:05 +09:00