Files
codeql/javascript/extractor/parser-tests/jcorn-jsx/test21.ast
2018-11-07 07:48:25 +00:00

102 lines
2.2 KiB
Plaintext

{
"type": "Program",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "BinaryExpression",
"operator": "<",
"left": {
"type": "JSXElement",
"openingElement": {
"type": "JSXOpeningElement",
"name": {
"type": "JSXIdentifier",
"name": "div",
"loc": {
"start": {
"line": 1,
"column": 2,
"offset": 2
},
"end": {
"line": 1,
"column": 5,
"offset": 5
}
}
},
"selfClosing": true,
"attributes": [],
"loc": {
"start": {
"line": 1,
"column": 1,
"offset": 1
},
"end": {
"line": 1,
"column": 8,
"offset": 8
}
}
},
"closingElement": null,
"children": [],
"loc": {
"start": {
"line": 1,
"column": 1,
"offset": 1
},
"end": {
"line": 1,
"column": 8,
"offset": 8
}
}
},
"right": {
"type": "Identifier",
"name": "x",
"loc": {
"start": {
"line": 1,
"column": 12,
"offset": 12
},
"end": {
"line": 1,
"column": 13,
"offset": 13
}
}
},
"loc": {
"start": {
"line": 1,
"column": 0,
"offset": 0
},
"end": {
"line": 1,
"column": 13,
"offset": 13
}
}
},
"loc": {
"start": {
"line": 1,
"column": 0,
"offset": 0
},
"end": {
"line": 1,
"column": 14,
"offset": 14
}
}
}
]
}