swc/crates/swc_css_parser/tests/recovery/unicode-range/output.json

206 lines
5.0 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 1,
"end": 84,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 1,
"end": 83,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 1,
"end": 7,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 1,
"end": 7,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 1,
"end": 7,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 1,
"end": 7,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 2,
"end": 7,
"ctxt": 0
},
"value": "class",
"raw": "class"
}
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 8,
"end": 83,
"ctxt": 0
},
"name": "{",
"value": [
{
"type": "Declaration",
"span": {
"start": 14,
"end": 44,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 14,
"end": 27,
"ctxt": 0
},
"value": "unicode-range",
"raw": "unicode-range"
},
"value": [
{
"type": "PreservedToken",
"span": {
"start": 29,
"end": 30,
"ctxt": 0
},
"token": {
"Ident": {
"value": "U",
"raw": "U"
}
}
},
{
"type": "UnknownDimension",
"span": {
"start": 30,
"end": 44,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 30,
"end": 32,
"ctxt": 0
},
"value": 1.0,
"raw": "+1"
},
"unit": {
"type": "Ident",
"span": {
"start": 32,
"end": 44,
"ctxt": 0
},
"value": "Z1ee1-FFFFFF",
"raw": "Z1ee1-FFFFFF"
}
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 50,
"end": 80,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 50,
"end": 63,
"ctxt": 0
},
"value": "unicode-range",
"raw": "unicode-range"
},
"value": [
{
"type": "PreservedToken",
"span": {
"start": 65,
"end": 66,
"ctxt": 0
},
"token": {
"Ident": {
"value": "U",
"raw": "U"
}
}
},
{
"type": "UnknownDimension",
"span": {
"start": 66,
"end": 80,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 66,
"end": 70,
"ctxt": 0
},
"value": 10.0,
"raw": "+1e1"
},
"unit": {
"type": "Ident",
"span": {
"start": 70,
"end": 80,
"ctxt": 0
},
"value": "ee1-FFZFFF",
"raw": "ee1-FFZFFF"
}
}
],
"important": null
}
]
}
}
]
}