babel/test/fixtures/jsx/regression/7/expected.json

151 lines
3.5 KiB
JSON

{
"type": "File",
"start": 0,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 17
}
},
"program": {
"type": "Program",
"start": 0,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 17
}
},
"sourceType": "script",
"body": [
{
"type": "ExpressionStatement",
"start": 0,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 17
}
},
"expression": {
"type": "JSXElement",
"start": 0,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 17
}
},
"openingElement": {
"type": "JSXOpeningElement",
"start": 0,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 3,
"column": 17
}
},
"attributes": [
{
"type": "JSXAttribute",
"start": 6,
"end": 60,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 3,
"column": 15
}
},
"name": {
"type": "JSXIdentifier",
"start": 6,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 7
}
},
"name": "d"
},
"value": {
"type": "StringLiteral",
"start": 8,
"end": 60,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 3,
"column": 15
}
},
"extra": {
"rawValue": "M230 80\n\t\tA 45 45, 0, 1, 0, 275 125\n L 275 80 Z",
"raw": "\"M230 80\n\t\tA 45 45, 0, 1, 0, 275 125\n L 275 80 Z\""
},
"value": "M230 80\n\t\tA 45 45, 0, 1, 0, 275 125\n L 275 80 Z"
}
}
],
"name": {
"type": "JSXIdentifier",
"start": 1,
"end": 5,
"loc": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 5
}
},
"name": "path"
},
"selfClosing": true
},
"closingElement": null,
"children": []
}
}
],
"directives": []
}
}