nashorn/test/script/basic/parser/breakStat.js.EXPECTED
changeset 24751 ccbd9cd3f720
parent 19894 195477810711
equal deleted inserted replaced
24750:01ea334ab39a 24751:ccbd9cd3f720
    22 {
    22 {
    23     "type": "Program",
    23     "type": "Program",
    24     "body": [
    24     "body": [
    25         {
    25         {
    26             "type": "LabeledStatement",
    26             "type": "LabeledStatement",
    27             "label": {
    27             "label": "loop",
    28                 "type": "Identifier",
       
    29                 "name": "loop"
       
    30             },
       
    31             "body": {
    28             "body": {
    32                 "type": "BlockStatement",
    29                 "type": "BlockStatement",
    33                 "body": [
    30                 "body": [
    34                     {
    31                     {
    35                         "type": "WhileStatement",
    32                         "type": "WhileStatement",
    40                         "body": {
    37                         "body": {
    41                             "type": "BlockStatement",
    38                             "type": "BlockStatement",
    42                             "body": [
    39                             "body": [
    43                                 {
    40                                 {
    44                                     "type": "BreakStatement",
    41                                     "type": "BreakStatement",
    45                                     "label": {
    42                                     "label": "loop"
    46                                         "type": "Identifier",
       
    47                                         "name": "loop"
       
    48                                     }
       
    49                                 }
    43                                 }
    50                             ]
    44                             ]
    51                         }
    45                         }
    52                     }
    46                     }
    53                 ]
    47                 ]
    58 {
    52 {
    59     "type": "Program",
    53     "type": "Program",
    60     "body": [
    54     "body": [
    61         {
    55         {
    62             "type": "LabeledStatement",
    56             "type": "LabeledStatement",
    63             "label": {
    57             "label": "loop",
    64                 "type": "Identifier",
       
    65                 "name": "loop"
       
    66             },
       
    67             "body": {
    58             "body": {
    68                 "type": "BlockStatement",
    59                 "type": "BlockStatement",
    69                 "body": [
    60                 "body": [
    70                     {
    61                     {
    71                         "type": "ForStatement",
    62                         "type": "ForStatement",
    75                         "body": {
    66                         "body": {
    76                             "type": "BlockStatement",
    67                             "type": "BlockStatement",
    77                             "body": [
    68                             "body": [
    78                                 {
    69                                 {
    79                                     "type": "BreakStatement",
    70                                     "type": "BreakStatement",
    80                                     "label": {
    71                                     "label": "loop"
    81                                         "type": "Identifier",
       
    82                                         "name": "loop"
       
    83                                     }
       
    84                                 }
    72                                 }
    85                             ]
    73                             ]
    86                         }
    74                         }
    87                     }
    75                     }
    88                 ]
    76                 ]