nashorn/test/script/basic/parser/ifStat.js.EXPECTED
author serb
Thu, 30 Jul 2015 15:27:02 +0300
changeset 32126 6611b32dfa58
parent 19894 195477810711
permissions -rw-r--r--
8132382: [macosx] Crash during JMC or JavaFX execution when NSApplication is controlled by SWT or JavaFX libraries Reviewed-by: kizune, alexsch

{
    "type": "Program",
    "body": [
        {
            "type": "IfStatement",
            "test": {
                "type": "Identifier",
                "name": "js"
            },
            "consequent": {
                "type": "BlockStatement",
                "body": [
                    {
                        "type": "ExpressionStatement",
                        "expression": {
                            "type": "CallExpression",
                            "callee": {
                                "type": "Identifier",
                                "name": "nashorn"
                            },
                            "arguments": []
                        }
                    }
                ]
            },
            "alternate": null
        }
    ]
}
{
    "type": "Program",
    "body": [
        {
            "type": "IfStatement",
            "test": {
                "type": "Identifier",
                "name": "js"
            },
            "consequent": {
                "type": "BlockStatement",
                "body": [
                    {
                        "type": "ExpressionStatement",
                        "expression": {
                            "type": "CallExpression",
                            "callee": {
                                "type": "Identifier",
                                "name": "nashorn"
                            },
                            "arguments": []
                        }
                    }
                ]
            },
            "alternate": {
                "type": "BlockStatement",
                "body": [
                    {
                        "type": "ExpressionStatement",
                        "expression": {
                            "type": "CallExpression",
                            "callee": {
                                "type": "Identifier",
                                "name": "java"
                            },
                            "arguments": []
                        }
                    }
                ]
            }
        }
    ]
}