swc/crates/swc_css_parser/tests/fixture/at-rule/document/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

36 lines
491 B
JSON

{
"432": [
{
"kind": "Block",
"span": {
"start": 419,
"end": 432,
"ctxt": 0
},
"text": "/* filter */"
}
],
"461": [
{
"kind": "Block",
"span": {
"start": 453,
"end": 461,
"ctxt": 0
},
"text": "/* a */"
}
],
"419": [
{
"kind": "Block",
"span": {
"start": 395,
"end": 419,
"ctxt": 0
},
"text": "/* near */"
}
]
}