swc/crates/swc_css_parser/tests/fixture/declaration/leading-comments.json
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

25 lines
320 B
JSON

{
"601": [
{
"kind": "Block",
"span": {
"start": 593,
"end": 601,
"ctxt": 0
},
"text": "/* ; */"
}
],
"527": [
{
"kind": "Block",
"span": {
"start": 519,
"end": 527,
"ctxt": 0
},
"text": "/**/"
}
]
}