Commit Graph

25 Commits

Author SHA1 Message Date
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
bea6cce0c6
perf(css): Reduce size of tokens (#6384) 2022-11-10 01:36:53 +00:00
Alexander Akait
e63fa28008
fix(css/ast): Fix AST types for simple block (#6131) 2022-10-13 05:31:34 +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
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
3ec45a6858
feat(css/ast): Union Value and ComponentValue (#3804) 2022-03-01 15:26:17 +00:00
Alexander Akait
e97074b6c3
feat(css/ast): Use SimpleBlock in more places (#3575) 2022-02-16 12:40:16 +09: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
dc939c65af
feat(css/ast): Add types for all dimensions (#3477) 2022-02-08 11:57:57 +00:00
Alexander Akait
cd87d965f3
refactor(css/ast): Refactor types related to selectors (#3460) 2022-02-06 04:24:51 +00:00
Alexander Akait
49564d9b5d
feat(css/ast): Improve types related to url tokens (#3444) 2022-02-04 04:05:44 +00:00
Alexander Akait
eeedd9adf5
refactor(css/ast): Rename property to name (#3410) 2022-01-31 05:02:30 +00:00
Alexander Akait
1904944bf7
refactor(css/ast): Use Dimension instead of UnitValue (#3401) 2022-01-30 12:15:05 +00:00
Alexander Akait
b31619d48e
refactor(css/ast): Refactor delimited values (#3397) 2022-01-29 12:10:29 +09:00
Alexander Akait
dfa0286aca
feat(css/ast): Add types for dashed identifiers and @color-profile at-rules (#3364) 2022-01-26 20:35:49 +09: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
c7e5faea5c
feat(css/ast): Add Ratio, which is defined by spec (#3335) 2022-01-24 14:27:10 +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