test/script/basic/parser/continueStat.js.EXPECTED

Tue, 21 Mar 2017 13:41:57 -0700

author
asaha
date
Tue, 21 Mar 2017 13:41:57 -0700
changeset 2160
1df40fe54cd6
parent 963
e2497b11a021
permissions
-rw-r--r--

Merge

     1 {
     2     "type": "Program",
     3     "body": [
     4         {
     5             "type": "WhileStatement",
     6             "test": {
     7                 "type": "Literal",
     8                 "value": true
     9             },
    10             "body": {
    11                 "type": "BlockStatement",
    12                 "body": [
    13                     {
    14                         "type": "ContinueStatement",
    15                         "label": null
    16                     }
    17                 ]
    18             }
    19         }
    20     ]
    21 }
    22 {
    23     "type": "Program",
    24     "body": [
    25         {
    26             "type": "LabeledStatement",
    27             "label": "begin",
    28             "body": {
    29                 "type": "BlockStatement",
    30                 "body": [
    31                     {
    32                         "type": "WhileStatement",
    33                         "test": {
    34                             "type": "Literal",
    35                             "value": true
    36                         },
    37                         "body": {
    38                             "type": "BlockStatement",
    39                             "body": [
    40                                 {
    41                                     "type": "ContinueStatement",
    42                                     "label": "begin"
    43                                 }
    44                             ]
    45                         }
    46                     }
    47                 ]
    48             }
    49         }
    50     ]
    51 }
    52 {
    53     "type": "Program",
    54     "body": [
    55         {
    56             "type": "LabeledStatement",
    57             "label": "start",
    58             "body": {
    59                 "type": "BlockStatement",
    60                 "body": [
    61                     {
    62                         "type": "ForStatement",
    63                         "init": null,
    64                         "test": null,
    65                         "update": null,
    66                         "body": {
    67                             "type": "BlockStatement",
    68                             "body": [
    69                                 {
    70                                     "type": "ContinueStatement",
    71                                     "label": "start"
    72                                 }
    73                             ]
    74                         }
    75                     }
    76                 ]
    77             }
    78         }
    79     ]
    80 }

mercurial