nashorn/test/script/nosecurity/treeapi/destructuring_catch.js.EXPECTED
changeset 41983 eb674141ab03
equal deleted inserted replaced
41982:d7226731ac08 41983:eb674141ab03
       
     1 [
       
     2   {
       
     3     "condition": "null",
       
     4     "endPosition": "33",
       
     5     "kind": "CATCH",
       
     6     "parameter": {
       
     7       "endPosition": "28",
       
     8       "kind": "OBJECT_LITERAL",
       
     9       "startPosition": "26",
       
    10       "properties": []
       
    11     },
       
    12     "block": {
       
    13       "endPosition": "33",
       
    14       "kind": "BLOCK",
       
    15       "statements": [],
       
    16       "startPosition": "30"
       
    17     },
       
    18     "startPosition": "20"
       
    19   },
       
    20   {
       
    21     "condition": "null",
       
    22     "endPosition": "65",
       
    23     "kind": "CATCH",
       
    24     "parameter": {
       
    25       "endPosition": "60",
       
    26       "kind": "OBJECT_LITERAL",
       
    27       "startPosition": "58",
       
    28       "properties": []
       
    29     },
       
    30     "block": {
       
    31       "endPosition": "65",
       
    32       "kind": "BLOCK",
       
    33       "statements": [],
       
    34       "startPosition": "62"
       
    35     },
       
    36     "startPosition": "51"
       
    37   },
       
    38   {
       
    39     "condition": "null",
       
    40     "endPosition": "98",
       
    41     "kind": "CATCH",
       
    42     "parameter": {
       
    43       "endPosition": "93",
       
    44       "kind": "ARRAY_LITERAL",
       
    45       "elements": [
       
    46         null
       
    47       ],
       
    48       "startPosition": "90"
       
    49     },
       
    50     "block": {
       
    51       "endPosition": "98",
       
    52       "kind": "BLOCK",
       
    53       "statements": [],
       
    54       "startPosition": "95"
       
    55     },
       
    56     "startPosition": "83"
       
    57   },
       
    58   {
       
    59     "condition": "null",
       
    60     "endPosition": "176",
       
    61     "kind": "CATCH",
       
    62     "parameter": {
       
    63       "endPosition": "171",
       
    64       "kind": "OBJECT_LITERAL",
       
    65       "startPosition": "143",
       
    66       "properties": [
       
    67         {
       
    68           "getter": "null",
       
    69           "endPosition": "169",
       
    70           "kind": "PROPERTY",
       
    71           "setter": "null",
       
    72           "value": {
       
    73             "expression": {
       
    74               "endPosition": "169",
       
    75               "kind": "ARRAY_LITERAL",
       
    76               "elements": [
       
    77                 {
       
    78                   "endPosition": "162",
       
    79                   "kind": "NUMBER_LITERAL",
       
    80                   "value": "4",
       
    81                   "startPosition": "161"
       
    82                 },
       
    83                 {
       
    84                   "endPosition": "165",
       
    85                   "kind": "NUMBER_LITERAL",
       
    86                   "value": "5",
       
    87                   "startPosition": "164"
       
    88                 },
       
    89                 {
       
    90                   "endPosition": "168",
       
    91                   "kind": "NUMBER_LITERAL",
       
    92                   "value": "6",
       
    93                   "startPosition": "167"
       
    94                 }
       
    95               ],
       
    96               "startPosition": "160"
       
    97             },
       
    98             "endPosition": "169",
       
    99             "kind": "ASSIGNMENT",
       
   100             "variable": {
       
   101               "endPosition": "157",
       
   102               "kind": "ARRAY_LITERAL",
       
   103               "elements": [
       
   104                 {
       
   105                   "endPosition": "150",
       
   106                   "kind": "IDENTIFIER",
       
   107                   "name": "x",
       
   108                   "startPosition": "149"
       
   109                 },
       
   110                 {
       
   111                   "endPosition": "153",
       
   112                   "kind": "IDENTIFIER",
       
   113                   "name": "y",
       
   114                   "startPosition": "152"
       
   115                 },
       
   116                 {
       
   117                   "endPosition": "156",
       
   118                   "kind": "IDENTIFIER",
       
   119                   "name": "z",
       
   120                   "startPosition": "155"
       
   121                 }
       
   122               ],
       
   123               "startPosition": "148"
       
   124             },
       
   125             "startPosition": "148"
       
   126           },
       
   127           "startPosition": "145",
       
   128           "key": {
       
   129             "endPosition": "146",
       
   130             "kind": "IDENTIFIER",
       
   131             "name": "w",
       
   132             "startPosition": "145"
       
   133           }
       
   134         }
       
   135       ]
       
   136     },
       
   137     "block": {
       
   138       "endPosition": "176",
       
   139       "kind": "BLOCK",
       
   140       "statements": [],
       
   141       "startPosition": "173"
       
   142     },
       
   143     "startPosition": "136"
       
   144   },
       
   145   {
       
   146     "condition": "null",
       
   147     "endPosition": "223",
       
   148     "kind": "CATCH",
       
   149     "parameter": {
       
   150       "endPosition": "218",
       
   151       "kind": "OBJECT_LITERAL",
       
   152       "startPosition": "212",
       
   153       "properties": [
       
   154         {
       
   155           "getter": "null",
       
   156           "endPosition": "214",
       
   157           "kind": "PROPERTY",
       
   158           "setter": "null",
       
   159           "value": {
       
   160             "endPosition": "214",
       
   161             "kind": "IDENTIFIER",
       
   162             "name": "a",
       
   163             "startPosition": "213"
       
   164           },
       
   165           "startPosition": "213",
       
   166           "key": {
       
   167             "endPosition": "214",
       
   168             "kind": "IDENTIFIER",
       
   169             "name": "a",
       
   170             "startPosition": "213"
       
   171           }
       
   172         },
       
   173         {
       
   174           "getter": "null",
       
   175           "endPosition": "217",
       
   176           "kind": "PROPERTY",
       
   177           "setter": "null",
       
   178           "value": {
       
   179             "endPosition": "217",
       
   180             "kind": "IDENTIFIER",
       
   181             "name": "b",
       
   182             "startPosition": "216"
       
   183           },
       
   184           "startPosition": "216",
       
   185           "key": {
       
   186             "endPosition": "217",
       
   187             "kind": "IDENTIFIER",
       
   188             "name": "b",
       
   189             "startPosition": "216"
       
   190           }
       
   191         }
       
   192       ]
       
   193     },
       
   194     "block": {
       
   195       "endPosition": "223",
       
   196       "kind": "BLOCK",
       
   197       "statements": [],
       
   198       "startPosition": "220"
       
   199     },
       
   200     "startPosition": "205"
       
   201   },
       
   202   {
       
   203     "condition": "null",
       
   204     "endPosition": "262",
       
   205     "kind": "CATCH",
       
   206     "parameter": {
       
   207       "endPosition": "257",
       
   208       "kind": "ARRAY_LITERAL",
       
   209       "elements": [
       
   210         {
       
   211           "endPosition": "256",
       
   212           "kind": "ARRAY_LITERAL",
       
   213           "elements": [
       
   214             {
       
   215               "endPosition": "255",
       
   216               "kind": "IDENTIFIER",
       
   217               "name": "x",
       
   218               "startPosition": "254"
       
   219             }
       
   220           ],
       
   221           "startPosition": "253"
       
   222         }
       
   223       ],
       
   224       "startPosition": "252"
       
   225     },
       
   226     "block": {
       
   227       "endPosition": "262",
       
   228       "kind": "BLOCK",
       
   229       "statements": [],
       
   230       "startPosition": "259"
       
   231     },
       
   232     "startPosition": "245"
       
   233   },
       
   234   {
       
   235     "condition": "null",
       
   236     "endPosition": "347",
       
   237     "kind": "CATCH",
       
   238     "parameter": {
       
   239       "endPosition": "342",
       
   240       "kind": "OBJECT_LITERAL",
       
   241       "startPosition": "301",
       
   242       "properties": [
       
   243         {
       
   244           "getter": "null",
       
   245           "endPosition": "340",
       
   246           "kind": "PROPERTY",
       
   247           "setter": "null",
       
   248           "value": {
       
   249             "expression": {
       
   250               "endPosition": "340",
       
   251               "kind": "OBJECT_LITERAL",
       
   252               "startPosition": "320",
       
   253               "properties": [
       
   254                 {
       
   255                   "getter": "null",
       
   256                   "endPosition": "326",
       
   257                   "kind": "PROPERTY",
       
   258                   "setter": "null",
       
   259                   "value": {
       
   260                     "endPosition": "326",
       
   261                     "kind": "NUMBER_LITERAL",
       
   262                     "value": "4",
       
   263                     "startPosition": "325"
       
   264                   },
       
   265                   "startPosition": "322",
       
   266                   "key": {
       
   267                     "endPosition": "323",
       
   268                     "kind": "IDENTIFIER",
       
   269                     "name": "x",
       
   270                     "startPosition": "322"
       
   271                   }
       
   272                 },
       
   273                 {
       
   274                   "getter": "null",
       
   275                   "endPosition": "332",
       
   276                   "kind": "PROPERTY",
       
   277                   "setter": "null",
       
   278                   "value": {
       
   279                     "endPosition": "332",
       
   280                     "kind": "NUMBER_LITERAL",
       
   281                     "value": "5",
       
   282                     "startPosition": "331"
       
   283                   },
       
   284                   "startPosition": "328",
       
   285                   "key": {
       
   286                     "endPosition": "329",
       
   287                     "kind": "IDENTIFIER",
       
   288                     "name": "y",
       
   289                     "startPosition": "328"
       
   290                   }
       
   291                 },
       
   292                 {
       
   293                   "getter": "null",
       
   294                   "endPosition": "338",
       
   295                   "kind": "PROPERTY",
       
   296                   "setter": "null",
       
   297                   "value": {
       
   298                     "endPosition": "338",
       
   299                     "kind": "NUMBER_LITERAL",
       
   300                     "value": "6",
       
   301                     "startPosition": "337"
       
   302                   },
       
   303                   "startPosition": "334",
       
   304                   "key": {
       
   305                     "endPosition": "335",
       
   306                     "kind": "IDENTIFIER",
       
   307                     "name": "z",
       
   308                     "startPosition": "334"
       
   309                   }
       
   310                 }
       
   311               ]
       
   312             },
       
   313             "endPosition": "340",
       
   314             "kind": "ASSIGNMENT",
       
   315             "variable": {
       
   316               "endPosition": "317",
       
   317               "kind": "OBJECT_LITERAL",
       
   318               "startPosition": "306",
       
   319               "properties": [
       
   320                 {
       
   321                   "getter": "null",
       
   322                   "endPosition": "309",
       
   323                   "kind": "PROPERTY",
       
   324                   "setter": "null",
       
   325                   "value": {
       
   326                     "endPosition": "309",
       
   327                     "kind": "IDENTIFIER",
       
   328                     "name": "x",
       
   329                     "startPosition": "308"
       
   330                   },
       
   331                   "startPosition": "308",
       
   332                   "key": {
       
   333                     "endPosition": "309",
       
   334                     "kind": "IDENTIFIER",
       
   335                     "name": "x",
       
   336                     "startPosition": "308"
       
   337                   }
       
   338                 },
       
   339                 {
       
   340                   "getter": "null",
       
   341                   "endPosition": "312",
       
   342                   "kind": "PROPERTY",
       
   343                   "setter": "null",
       
   344                   "value": {
       
   345                     "endPosition": "312",
       
   346                     "kind": "IDENTIFIER",
       
   347                     "name": "y",
       
   348                     "startPosition": "311"
       
   349                   },
       
   350                   "startPosition": "311",
       
   351                   "key": {
       
   352                     "endPosition": "312",
       
   353                     "kind": "IDENTIFIER",
       
   354                     "name": "y",
       
   355                     "startPosition": "311"
       
   356                   }
       
   357                 },
       
   358                 {
       
   359                   "getter": "null",
       
   360                   "endPosition": "315",
       
   361                   "kind": "PROPERTY",
       
   362                   "setter": "null",
       
   363                   "value": {
       
   364                     "endPosition": "315",
       
   365                     "kind": "IDENTIFIER",
       
   366                     "name": "z",
       
   367                     "startPosition": "314"
       
   368                   },
       
   369                   "startPosition": "314",
       
   370                   "key": {
       
   371                     "endPosition": "315",
       
   372                     "kind": "IDENTIFIER",
       
   373                     "name": "z",
       
   374                     "startPosition": "314"
       
   375                   }
       
   376                 }
       
   377               ]
       
   378             },
       
   379             "startPosition": "306"
       
   380           },
       
   381           "startPosition": "303",
       
   382           "key": {
       
   383             "endPosition": "304",
       
   384             "kind": "IDENTIFIER",
       
   385             "name": "w",
       
   386             "startPosition": "303"
       
   387           }
       
   388         }
       
   389       ]
       
   390     },
       
   391     "block": {
       
   392       "endPosition": "347",
       
   393       "kind": "BLOCK",
       
   394       "statements": [],
       
   395       "startPosition": "344"
       
   396     },
       
   397     "startPosition": "294"
       
   398   }
       
   399 ]