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

206 lines
5.0 KiB
JSON
Raw Normal View History

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 83,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 0,
"end": 82,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 0,
"end": 6,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 6,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 6,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 0,
"end": 6,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 1,
"end": 6,
"ctxt": 0
},
"value": "class",
"raw": "class"
}
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 7,
"end": 82,
"ctxt": 0
},
"name": "{",
"value": [
{
"type": "Declaration",
"span": {
"start": 13,
"end": 43,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 13,
"end": 26,
"ctxt": 0
},
"value": "unicode-range",
"raw": "unicode-range"
},
"value": [
{
"type": "PreservedToken",
"span": {
"start": 28,
"end": 29,
"ctxt": 0
},
"token": {
"Ident": {
"value": "U",
"raw": "U"
}
}
},
{
"type": "UnknownDimension",
"span": {
"start": 29,
"end": 43,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 29,
"end": 31,
"ctxt": 0
},
"value": 1.0,
"raw": "+1"
},
"unit": {
"type": "Ident",
"span": {
"start": 31,
"end": 43,
"ctxt": 0
},
"value": "Z1ee1-FFFFFF",
"raw": "Z1ee1-FFFFFF"
}
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 49,
"end": 79,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 49,
"end": 62,
"ctxt": 0
},
"value": "unicode-range",
"raw": "unicode-range"
},
"value": [
{
"type": "PreservedToken",
"span": {
"start": 64,
"end": 65,
"ctxt": 0
},
"token": {
"Ident": {
"value": "U",
"raw": "U"
}
}
},
{
"type": "UnknownDimension",
"span": {
"start": 65,
"end": 79,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 65,
"end": 69,
"ctxt": 0
},
"value": 10.0,
"raw": "+1e1"
},
"unit": {
"type": "Ident",
"span": {
"start": 69,
"end": 79,
"ctxt": 0
},
"value": "ee1-FFZFFF",
"raw": "ee1-FFZFFF"
}
}
],
"important": null
}
]
}
}
]
}