197 lines
4.5 KiB
JSON
197 lines
4.5 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 51,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 10
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 51,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 10
|
|
}
|
|
},
|
|
"sourceType": "script",
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 0,
|
|
"end": 51,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 10
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "JSXElement",
|
|
"start": 0,
|
|
"end": 51,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 10
|
|
}
|
|
},
|
|
"openingElement": {
|
|
"type": "JSXOpeningElement",
|
|
"start": 0,
|
|
"end": 32,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 23
|
|
}
|
|
},
|
|
"attributes": [
|
|
{
|
|
"type": "JSXAttribute",
|
|
"start": 11,
|
|
"end": 31,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 22
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 11,
|
|
"end": 15,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 6
|
|
}
|
|
},
|
|
"name": "test"
|
|
},
|
|
"value": {
|
|
"type": "Literal",
|
|
"start": 16,
|
|
"end": 31,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 22
|
|
}
|
|
},
|
|
"value": "&&",
|
|
"rawValue": null,
|
|
"raw": "\"&&\""
|
|
}
|
|
}
|
|
],
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 1,
|
|
"end": 8,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 1
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 8
|
|
}
|
|
},
|
|
"name": "AbC-def"
|
|
},
|
|
"selfClosing": false
|
|
},
|
|
"closingElement": {
|
|
"type": "JSXClosingElement",
|
|
"start": 41,
|
|
"end": 51,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 10
|
|
}
|
|
},
|
|
"name": {
|
|
"type": "JSXIdentifier",
|
|
"start": 43,
|
|
"end": 50,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 9
|
|
}
|
|
},
|
|
"name": "AbC-def"
|
|
}
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "Literal",
|
|
"start": 32,
|
|
"end": 41,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 0
|
|
}
|
|
},
|
|
"value": "\nbar\nbaz\n",
|
|
"rawValue": null,
|
|
"raw": "\nbar\nbaz\n"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |