nashorn/test/script/nosecurity/treeapi/destructuring_assign.js.EXPECTED
changeset 39662 e2b36a3779b9
equal deleted inserted replaced
39604:8e45018bde9d 39662:e2b36a3779b9
       
     1 [
       
     2   {
       
     3     "endPosition": "6",
       
     4     "kind": "VARIABLE",
       
     5     "binding": {
       
     6       "endPosition": "6",
       
     7       "kind": "IDENTIFIER",
       
     8       "name": "a",
       
     9       "startPosition": "5"
       
    10     },
       
    11     "startPosition": "1",
       
    12     "initializer": "null"
       
    13   },
       
    14   {
       
    15     "endPosition": "9",
       
    16     "kind": "VARIABLE",
       
    17     "binding": {
       
    18       "endPosition": "9",
       
    19       "kind": "IDENTIFIER",
       
    20       "name": "b",
       
    21       "startPosition": "8"
       
    22     },
       
    23     "startPosition": "1",
       
    24     "initializer": "null"
       
    25   },
       
    26   {
       
    27     "expression": {
       
    28       "endPosition": "26",
       
    29       "kind": "ARRAY_LITERAL",
       
    30       "elements": [
       
    31         {
       
    32           "endPosition": "22",
       
    33           "kind": "NUMBER_LITERAL",
       
    34           "value": "1",
       
    35           "startPosition": "21"
       
    36         },
       
    37         {
       
    38           "endPosition": "25",
       
    39           "kind": "NUMBER_LITERAL",
       
    40           "value": "2",
       
    41           "startPosition": "24"
       
    42         }
       
    43       ],
       
    44       "startPosition": "20"
       
    45     },
       
    46     "endPosition": "26",
       
    47     "kind": "ASSIGNMENT",
       
    48     "variable": {
       
    49       "endPosition": "17",
       
    50       "kind": "ARRAY_LITERAL",
       
    51       "elements": [
       
    52         {
       
    53           "endPosition": "13",
       
    54           "kind": "IDENTIFIER",
       
    55           "name": "a",
       
    56           "startPosition": "12"
       
    57         },
       
    58         {
       
    59           "endPosition": "16",
       
    60           "kind": "IDENTIFIER",
       
    61           "name": "b",
       
    62           "startPosition": "15"
       
    63         }
       
    64       ],
       
    65       "startPosition": "11"
       
    66     },
       
    67     "startPosition": "11"
       
    68   },
       
    69   {
       
    70     "expression": {
       
    71       "endPosition": "50",
       
    72       "kind": "OBJECT_LITERAL",
       
    73       "startPosition": "38",
       
    74       "properties": [
       
    75         {
       
    76           "getter": "null",
       
    77           "endPosition": "43",
       
    78           "kind": "PROPERTY",
       
    79           "setter": "null",
       
    80           "value": {
       
    81             "endPosition": "43",
       
    82             "kind": "NUMBER_LITERAL",
       
    83             "value": "11",
       
    84             "startPosition": "41"
       
    85           },
       
    86           "startPosition": "39",
       
    87           "key": {
       
    88             "endPosition": "40",
       
    89             "kind": "IDENTIFIER",
       
    90             "name": "a",
       
    91             "startPosition": "39"
       
    92           }
       
    93         },
       
    94         {
       
    95           "getter": "null",
       
    96           "endPosition": "49",
       
    97           "kind": "PROPERTY",
       
    98           "setter": "null",
       
    99           "value": {
       
   100             "endPosition": "49",
       
   101             "kind": "NUMBER_LITERAL",
       
   102             "value": "12",
       
   103             "startPosition": "47"
       
   104           },
       
   105           "startPosition": "45",
       
   106           "key": {
       
   107             "endPosition": "46",
       
   108             "kind": "IDENTIFIER",
       
   109             "name": "b",
       
   110             "startPosition": "45"
       
   111           }
       
   112         }
       
   113       ]
       
   114     },
       
   115     "endPosition": "50",
       
   116     "kind": "ASSIGNMENT",
       
   117     "variable": {
       
   118       "endPosition": "35",
       
   119       "kind": "OBJECT_LITERAL",
       
   120       "startPosition": "29",
       
   121       "properties": [
       
   122         {
       
   123           "getter": "null",
       
   124           "endPosition": "31",
       
   125           "kind": "PROPERTY",
       
   126           "setter": "null",
       
   127           "value": {
       
   128             "endPosition": "31",
       
   129             "kind": "IDENTIFIER",
       
   130             "name": "a",
       
   131             "startPosition": "30"
       
   132           },
       
   133           "startPosition": "30",
       
   134           "key": {
       
   135             "endPosition": "31",
       
   136             "kind": "IDENTIFIER",
       
   137             "name": "a",
       
   138             "startPosition": "30"
       
   139           }
       
   140         },
       
   141         {
       
   142           "getter": "null",
       
   143           "endPosition": "34",
       
   144           "kind": "PROPERTY",
       
   145           "setter": "null",
       
   146           "value": {
       
   147             "endPosition": "34",
       
   148             "kind": "IDENTIFIER",
       
   149             "name": "b",
       
   150             "startPosition": "33"
       
   151           },
       
   152           "startPosition": "33",
       
   153           "key": {
       
   154             "endPosition": "34",
       
   155             "kind": "IDENTIFIER",
       
   156             "name": "b",
       
   157             "startPosition": "33"
       
   158           }
       
   159         }
       
   160       ]
       
   161     },
       
   162     "startPosition": "29"
       
   163   }
       
   164 ]