nashorn/test/script/nosecurity/treeapi/for.js.EXPECTED
author hannesw
Wed, 27 Apr 2016 15:50:33 +0200
changeset 37732 3673fec68d16
parent 29543 4d9f8f8b69a4
permissions -rw-r--r--
8134503: support ES6 parsing in Nashorn Reviewed-by: jlaskey, sundar, mhaupt Contributed-by: andreas.woess@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
29543
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     1
[
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     2
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     3
    "condition": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     4
      "endPosition": "19",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     5
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     6
      "name": "someExpr",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     7
      "startPosition": "11"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     8
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     9
    "endPosition": "24",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    10
    "kind": "FOR_LOOP",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    11
    "statement": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    12
      "endPosition": "24",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    13
      "kind": "BLOCK",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    14
      "statements": [],
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    15
      "startPosition": "22"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    16
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    17
    "update": "null",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    18
    "startPosition": "1",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    19
    "initializer": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    20
      "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    21
        "endPosition": "9",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    22
        "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    23
        "value": "0",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    24
        "startPosition": "8"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    25
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    26
      "endPosition": "9",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    27
      "kind": "ASSIGNMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    28
      "variable": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    29
        "endPosition": "7",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    30
        "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    31
        "name": "i",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    32
        "startPosition": "6"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    33
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    34
      "startPosition": "6"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    35
    }
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    36
  },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    37
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    38
    "condition": "null",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    39
    "endPosition": "34",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    40
    "kind": "FOR_LOOP",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    41
    "statement": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    42
      "endPosition": "34",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    43
      "kind": "BLOCK",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    44
      "statements": [],
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    45
      "startPosition": "32"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    46
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    47
    "update": "null",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    48
    "startPosition": "25",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    49
    "initializer": "null"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    50
  },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    51
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    52
    "condition": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    53
      "leftOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    54
        "endPosition": "49",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    55
        "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    56
        "name": "i",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    57
        "startPosition": "48"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    58
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    59
      "endPosition": "53",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    60
      "kind": "LESS_THAN",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    61
      "rightOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    62
        "endPosition": "53",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    63
        "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    64
        "value": "4",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    65
        "startPosition": "52"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    66
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    67
      "startPosition": "48"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    68
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    69
    "endPosition": "63",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    70
    "kind": "FOR_LOOP",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    71
    "statement": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    72
      "endPosition": "63",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    73
      "kind": "BLOCK",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    74
      "statements": [],
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    75
      "startPosition": "61"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    76
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    77
    "update": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    78
      "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    79
        "endPosition": "59",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    80
        "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    81
        "value": "5",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    82
        "startPosition": "58"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    83
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    84
      "endPosition": "59",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    85
      "kind": "PLUS_ASSIGNMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    86
      "variable": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    87
        "endPosition": "56",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    88
        "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    89
        "name": "i",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    90
        "startPosition": "55"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    91
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    92
      "startPosition": "55"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    93
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    94
    "startPosition": "35",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    95
    "initializer": "null"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    96
  },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    97
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    98
    "condition": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    99
      "leftOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   100
        "endPosition": "78",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   101
        "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   102
        "name": "i",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   103
        "startPosition": "77"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   104
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   105
      "endPosition": "82",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   106
      "kind": "LESS_THAN",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   107
      "rightOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   108
        "endPosition": "82",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   109
        "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   110
        "value": "4",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   111
        "startPosition": "81"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   112
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   113
      "startPosition": "77"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   114
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   115
    "endPosition": "91",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   116
    "kind": "FOR_LOOP",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   117
    "statement": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   118
      "endPosition": "91",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   119
      "kind": "BLOCK",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   120
      "statements": [],
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   121
      "startPosition": "89"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   122
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   123
    "update": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   124
      "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   125
        "endPosition": "85",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   126
        "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   127
        "name": "i",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   128
        "startPosition": "84"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   129
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   130
      "endPosition": "87",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   131
      "kind": "POSTFIX_INCREMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   132
      "startPosition": "84"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   133
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   134
    "startPosition": "64",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   135
    "initializer": "null"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   136
  },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   137
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   138
    "condition": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   139
      "leftOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   140
        "endPosition": "112",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   141
        "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   142
        "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   143
        "startPosition": "111"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   144
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   145
      "endPosition": "116",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   146
      "kind": "LESS_THAN",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   147
      "rightOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   148
        "endPosition": "116",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   149
        "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   150
        "value": "6",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   151
        "startPosition": "115"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   152
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   153
      "startPosition": "111"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   154
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   155
    "endPosition": "137",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   156
    "kind": "FOR_LOOP",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   157
    "statement": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   158
      "endPosition": "137",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   159
      "kind": "BLOCK",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   160
      "statements": [],
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   161
      "startPosition": "135"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   162
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   163
    "update": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   164
      "leftOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   165
        "leftOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   166
          "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   167
            "endPosition": "119",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   168
            "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   169
            "name": "j",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   170
            "startPosition": "118"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   171
          },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   172
          "endPosition": "121",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   173
          "kind": "POSTFIX_INCREMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   174
          "startPosition": "118"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   175
        },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   176
        "endPosition": "127",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   177
        "kind": "COMMA",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   178
        "rightOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   179
          "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   180
            "endPosition": "127",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   181
            "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   182
            "value": "2",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   183
            "startPosition": "126"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   184
          },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   185
          "endPosition": "127",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   186
          "kind": "PLUS_ASSIGNMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   187
          "variable": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   188
            "endPosition": "124",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   189
            "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   190
            "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   191
            "startPosition": "123"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   192
          },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   193
          "startPosition": "123"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   194
        },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   195
        "startPosition": "118"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   196
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   197
      "endPosition": "133",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   198
      "kind": "COMMA",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   199
      "rightOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   200
        "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   201
          "endPosition": "133",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   202
          "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   203
          "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   204
          "startPosition": "132"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   205
        },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   206
        "endPosition": "133",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   207
        "kind": "MULTIPLY_ASSIGNMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   208
        "variable": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   209
          "endPosition": "130",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   210
          "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   211
          "name": "i",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   212
          "startPosition": "129"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   213
        },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   214
        "startPosition": "129"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   215
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   216
      "startPosition": "118"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   217
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   218
    "startPosition": "92",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   219
    "initializer": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   220
      "leftOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   221
        "leftOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   222
          "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   223
            "endPosition": "99",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   224
            "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   225
            "value": "0",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   226
            "startPosition": "98"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   227
          },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   228
          "endPosition": "99",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   229
          "kind": "ASSIGNMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   230
          "variable": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   231
            "endPosition": "97",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   232
            "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   233
            "name": "i",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   234
            "startPosition": "96"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   235
          },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   236
          "startPosition": "96"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   237
        },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   238
        "endPosition": "104",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   239
        "kind": "COMMA",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   240
        "rightOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   241
          "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   242
            "endPosition": "104",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   243
            "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   244
            "value": "2",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   245
            "startPosition": "103"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   246
          },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   247
          "endPosition": "104",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   248
          "kind": "ASSIGNMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   249
          "variable": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   250
            "endPosition": "102",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   251
            "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   252
            "name": "j",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   253
            "startPosition": "101"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   254
          },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   255
          "startPosition": "101"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   256
        },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   257
        "startPosition": "96"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   258
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   259
      "endPosition": "109",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   260
      "kind": "COMMA",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   261
      "rightOperand": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   262
        "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   263
          "endPosition": "109",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   264
          "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   265
          "value": "4",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   266
          "startPosition": "108"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   267
        },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   268
        "endPosition": "109",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   269
        "kind": "ASSIGNMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   270
        "variable": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   271
          "endPosition": "107",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   272
          "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   273
          "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   274
          "startPosition": "106"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   275
        },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   276
        "startPosition": "106"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   277
      },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   278
      "startPosition": "96"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   279
    }
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   280
  }
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   281
]