swc/crates/swc_css_parser/tests/fixture/value/urange/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

58 lines
873 B
JSON

{
"253": [
{
"kind": "Block",
"span": {
"start": 224,
"end": 253,
"ctxt": 0
},
"text": "/* codepoint range */"
}
],
"455": [
{
"kind": "Block",
"span": {
"start": 433,
"end": 455,
"ctxt": 0
},
"text": "/* multiple values */"
}
],
"140": [
{
"kind": "Block",
"span": {
"start": 103,
"end": 140,
"ctxt": 0
},
"text": "/* single codepoint */"
}
],
"313": [
{
"kind": "Block",
"span": {
"start": 279,
"end": 313,
"ctxt": 0
},
"text": "/* wildcard range */"
}
],
"374": [
{
"kind": "Block",
"span": {
"start": 352,
"end": 374,
"ctxt": 0
},
"text": "/* multiple values */"
}
]
}