jdk-24/nashorn/test/script/basic/parser/parenExpr.js.EXPECTED

57 lines
1.4 KiB
Plaintext
Raw Normal View History

{
"type": "Program",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "BinaryExpression",
"operator": "+",
"left": {
"type": "BinaryExpression",
"operator": "+",
"left": {
"type": "Literal",
"value": 2
},
"right": {
"type": "Literal",
"value": 1
}
},
"right": {
"type": "Literal",
"value": 4
}
}
}
]
}
{
"type": "Program",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "BinaryExpression",
"operator": "<<",
"left": {
"type": "BinaryExpression",
"operator": "+",
"left": {
"type": "Literal",
"value": 3
},
"right": {
"type": "Literal",
"value": 7
}
},
"right": {
"type": "Literal",
"value": 5
}
}
}
]
}