test/script/basic/NASHORN-737.js.EXPECTED

Thu, 12 Sep 2013 22:16:40 +0530

author
sundar
date
Thu, 12 Sep 2013 22:16:40 +0530
changeset 551
917b16e509bd
parent 3
da1e581c933b
child 952
6d5471a497fb
child 963
e2497b11a021
permissions
-rw-r--r--

8024693: Various minor issues with JSONWriter used by script parser API
Reviewed-by: jlaskey, hannesw

     1 {
     2     "type": "Program",
     3     "body": [
     4         {
     5             "type": "LabeledStatement",
     6             "label": {
     7                 "type": "Identifier",
     8                 "name": "label"
     9             },
    10             "body": {
    11                 "type": "BlockStatement",
    12                 "body": [
    13                     {
    14                         "type": "WhileStatement",
    15                         "test": {
    16                             "type": "Literal",
    17                             "value": true
    18                         },
    19                         "body": {
    20                             "type": "BlockStatement",
    21                             "body": [
    22                                 {
    23                                     "type": "BreakStatement",
    24                                     "label": {
    25                                         "type": "Identifier",
    26                                         "name": "label"
    27                                     }
    28                                 }
    29                             ]
    30                         }
    31                     }
    32                 ]
    33             }
    34         }
    35     ]
    36 }

mercurial