nashorn/test/script/basic/parser/labelledStat.js.EXPECTED
changeset 24751 ccbd9cd3f720
parent 19894 195477810711
equal deleted inserted replaced
24750:01ea334ab39a 24751:ccbd9cd3f720
     1 {
     1 {
     2     "type": "Program",
     2     "type": "Program",
     3     "body": [
     3     "body": [
     4         {
     4         {
     5             "type": "LabeledStatement",
     5             "type": "LabeledStatement",
     6             "label": {
     6             "label": "begin",
     7                 "type": "Identifier",
       
     8                 "name": "begin"
       
     9             },
       
    10             "body": {
     7             "body": {
    11                 "type": "BlockStatement",
     8                 "type": "BlockStatement",
    12                 "body": [
     9                 "body": [
    13                     {
    10                     {
    14                         "type": "ForStatement",
    11                         "type": "ForStatement",
    18                         "body": {
    15                         "body": {
    19                             "type": "BlockStatement",
    16                             "type": "BlockStatement",
    20                             "body": [
    17                             "body": [
    21                                 {
    18                                 {
    22                                     "type": "BreakStatement",
    19                                     "type": "BreakStatement",
    23                                     "label": {
    20                                     "label": "begin"
    24                                         "type": "Identifier",
       
    25                                         "name": "begin"
       
    26                                     }
       
    27                                 }
    21                                 }
    28                             ]
    22                             ]
    29                         }
    23                         }
    30                     }
    24                     }
    31                 ]
    25                 ]
    36 {
    30 {
    37     "type": "Program",
    31     "type": "Program",
    38     "body": [
    32     "body": [
    39         {
    33         {
    40             "type": "LabeledStatement",
    34             "type": "LabeledStatement",
    41             "label": {
    35             "label": "begin",
    42                 "type": "Identifier",
       
    43                 "name": "begin"
       
    44             },
       
    45             "body": {
    36             "body": {
    46                 "type": "BlockStatement",
    37                 "type": "BlockStatement",
    47                 "body": [
    38                 "body": [
    48                     {
    39                     {
    49                         "type": "WhileStatement",
    40                         "type": "WhileStatement",
    54                         "body": {
    45                         "body": {
    55                             "type": "BlockStatement",
    46                             "type": "BlockStatement",
    56                             "body": [
    47                             "body": [
    57                                 {
    48                                 {
    58                                     "type": "BreakStatement",
    49                                     "type": "BreakStatement",
    59                                     "label": {
    50                                     "label": "begin"
    60                                         "type": "Identifier",
       
    61                                         "name": "begin"
       
    62                                     }
       
    63                                 }
    51                                 }
    64                             ]
    52                             ]
    65                         }
    53                         }
    66                     }
    54                     }
    67                 ]
    55                 ]