nashorn/test/script/basic/parser/parenExpr.js.EXPECTED
author hannesw
Mon, 14 Oct 2013 11:45:15 +0200
changeset 20943 183832541ef7
parent 19894 195477810711
permissions -rw-r--r--
8026016: too many relinks dominate avatar.js http benchmark Reviewed-by: sundar, jlaskey, attila

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