nashorn/test/script/basic/parser/ifStat.js.EXPECTED
changeset 19894 195477810711
equal deleted inserted replaced
19893:8855a9f9f4ae 19894:195477810711
       
     1 {
       
     2     "type": "Program",
       
     3     "body": [
       
     4         {
       
     5             "type": "IfStatement",
       
     6             "test": {
       
     7                 "type": "Identifier",
       
     8                 "name": "js"
       
     9             },
       
    10             "consequent": {
       
    11                 "type": "BlockStatement",
       
    12                 "body": [
       
    13                     {
       
    14                         "type": "ExpressionStatement",
       
    15                         "expression": {
       
    16                             "type": "CallExpression",
       
    17                             "callee": {
       
    18                                 "type": "Identifier",
       
    19                                 "name": "nashorn"
       
    20                             },
       
    21                             "arguments": []
       
    22                         }
       
    23                     }
       
    24                 ]
       
    25             },
       
    26             "alternate": null
       
    27         }
       
    28     ]
       
    29 }
       
    30 {
       
    31     "type": "Program",
       
    32     "body": [
       
    33         {
       
    34             "type": "IfStatement",
       
    35             "test": {
       
    36                 "type": "Identifier",
       
    37                 "name": "js"
       
    38             },
       
    39             "consequent": {
       
    40                 "type": "BlockStatement",
       
    41                 "body": [
       
    42                     {
       
    43                         "type": "ExpressionStatement",
       
    44                         "expression": {
       
    45                             "type": "CallExpression",
       
    46                             "callee": {
       
    47                                 "type": "Identifier",
       
    48                                 "name": "nashorn"
       
    49                             },
       
    50                             "arguments": []
       
    51                         }
       
    52                     }
       
    53                 ]
       
    54             },
       
    55             "alternate": {
       
    56                 "type": "BlockStatement",
       
    57                 "body": [
       
    58                     {
       
    59                         "type": "ExpressionStatement",
       
    60                         "expression": {
       
    61                             "type": "CallExpression",
       
    62                             "callee": {
       
    63                                 "type": "Identifier",
       
    64                                 "name": "java"
       
    65                             },
       
    66                             "arguments": []
       
    67                         }
       
    68                     }
       
    69                 ]
       
    70             }
       
    71         }
       
    72     ]
       
    73 }