swc/crates/swc_css_parser/tests/line-comment/css-in-js/1/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

14 lines
166 B
JSON

{
"17": [
{
"kind": "Line",
"span": {
"start": 1,
"end": 17,
"ctxt": 0
},
"text": " Line comment\n"
}
]
}