jdk-24/test/nashorn/script/basic/parser/parenExpr.js.EXPECTED
2017-09-12 19:03:39 +02:00

57 lines
1.4 KiB
Plaintext

{
"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
}
}
}
]
}