test/nashorn/script/basic/parser/labelledStat.js.EXPECTED
changeset 47216 71c04702a3d5
parent 24751 ccbd9cd3f720
equal deleted inserted replaced
47215:4ebc2e2fb97c 47216:71c04702a3d5
       
     1 {
       
     2     "type": "Program",
       
     3     "body": [
       
     4         {
       
     5             "type": "LabeledStatement",
       
     6             "label": "begin",
       
     7             "body": {
       
     8                 "type": "BlockStatement",
       
     9                 "body": [
       
    10                     {
       
    11                         "type": "ForStatement",
       
    12                         "init": null,
       
    13                         "test": null,
       
    14                         "update": null,
       
    15                         "body": {
       
    16                             "type": "BlockStatement",
       
    17                             "body": [
       
    18                                 {
       
    19                                     "type": "BreakStatement",
       
    20                                     "label": "begin"
       
    21                                 }
       
    22                             ]
       
    23                         }
       
    24                     }
       
    25                 ]
       
    26             }
       
    27         }
       
    28     ]
       
    29 }
       
    30 {
       
    31     "type": "Program",
       
    32     "body": [
       
    33         {
       
    34             "type": "LabeledStatement",
       
    35             "label": "begin",
       
    36             "body": {
       
    37                 "type": "BlockStatement",
       
    38                 "body": [
       
    39                     {
       
    40                         "type": "WhileStatement",
       
    41                         "test": {
       
    42                             "type": "Literal",
       
    43                             "value": true
       
    44                         },
       
    45                         "body": {
       
    46                             "type": "BlockStatement",
       
    47                             "body": [
       
    48                                 {
       
    49                                     "type": "BreakStatement",
       
    50                                     "label": "begin"
       
    51                                 }
       
    52                             ]
       
    53                         }
       
    54                     }
       
    55                 ]
       
    56             }
       
    57         }
       
    58     ]
       
    59 }