nashorn/test/script/nosecurity/parserapi.js.EXPECTED
author sundar
Tue, 12 Jul 2016 21:18:13 +0530
changeset 39662 e2b36a3779b9
parent 37924 a78497edf9fb
child 46169 b385216af0ed
permissions -rw-r--r--
8149929: Nashorn Parser API needs to be updated for ES6 Reviewed-by: mhaupt, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
     1
[
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
     2
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
     3
  "endPosition": "1113",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
     4
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
     5
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
     6
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
     7
      "endPosition": "1123",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
     8
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
     9
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    10
        "endPosition": "1118",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    11
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    12
        "name": "x",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    13
        "startPosition": "1117"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    14
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    15
      "startPosition": "1113",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    16
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    17
        "endPosition": "1123",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    18
        "kind": "ARRAY_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    19
        "elements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    20
        "startPosition": "1121"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    21
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    22
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    23
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    24
      "endPosition": "1147",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    25
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    26
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    27
        "endPosition": "1130",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    28
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    29
        "name": "y",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    30
        "startPosition": "1129"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    31
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    32
      "startPosition": "1125",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    33
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    34
        "endPosition": "1147",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    35
        "kind": "ARRAY_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    36
        "elements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    37
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    38
            "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    39
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    40
            "value": "1",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    41
            "startPosition": "1134"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    42
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    43
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    44
            "endPosition": "1139",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    45
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    46
            "value": "43",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    47
            "startPosition": "1137"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    48
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    49
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    50
            "endPosition": "1142",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    51
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    52
            "value": "5",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    53
            "startPosition": "1141"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    54
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    55
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    56
            "endPosition": "1146",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    57
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    58
            "value": "45",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    59
            "startPosition": "1144"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    60
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    61
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    62
        "startPosition": "1133"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    63
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    64
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    65
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    66
      "endPosition": "1165",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    67
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    68
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    69
        "endPosition": "1154",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    70
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    71
        "name": "z",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    72
        "startPosition": "1153"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    73
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
    74
      "startPosition": "1149",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    75
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    76
        "endPosition": "1165",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    77
        "kind": "ARRAY_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    78
        "elements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    79
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    80
            "endPosition": "1160",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    81
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    82
            "value": "34",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    83
            "startPosition": "1158"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    84
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    85
          null,
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    86
          null,
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    87
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    88
            "endPosition": "1164",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    89
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    90
            "value": "4",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    91
            "startPosition": "1163"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    92
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    93
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    94
        "startPosition": "1157"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    95
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    96
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    97
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    98
      "endPosition": "1200",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
    99
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   100
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   101
        "endPosition": "1172",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   102
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   103
        "name": "k",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   104
        "startPosition": "1171"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   105
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   106
      "startPosition": "1167",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   107
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   108
        "endPosition": "1200",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   109
        "kind": "ARRAY_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   110
        "elements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   111
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   112
            "endPosition": "1179",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   113
            "kind": "OBJECT_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   114
            "startPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   115
            "properties": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   116
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   117
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   118
            "endPosition": "1189",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   119
            "kind": "OBJECT_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   120
            "startPosition": "1181",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   121
            "properties": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   122
              {
37732
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
   123
                "endPosition": "1187",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   124
                "kind": "PROPERTY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   125
                "value": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   126
                  "endPosition": "1187",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   127
                  "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   128
                  "value": "3",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   129
                  "startPosition": "1186"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   130
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   131
                "startPosition": "1183",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   132
                "key": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   133
                  "endPosition": "1184",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   134
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   135
                  "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   136
                  "startPosition": "1183"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   137
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   138
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   139
            ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   140
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   141
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   142
            "endPosition": "1197",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   143
            "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   144
            "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   145
            "startPosition": "1192"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   146
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   147
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   148
        "startPosition": "1175"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   149
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   150
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   151
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   152
  "sourceName": "parsertests/array_literal.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   153
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   154
  "startPosition": "1113"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   155
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   156
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   157
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   158
  "endPosition": "1126",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   159
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   160
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   161
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   162
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   163
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   164
          "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   165
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   166
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   167
          "startPosition": "1132"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   168
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   169
        "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   170
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   171
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   172
          "endPosition": "1129",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   173
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   174
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   175
          "startPosition": "1126"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   176
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   177
        "startPosition": "1126"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   178
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   179
      "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   180
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   181
      "startPosition": "1126"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   182
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   183
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   184
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   185
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   186
          "endPosition": "1147",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   187
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   188
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   189
          "startPosition": "1144"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   190
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   191
        "endPosition": "1147",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   192
        "kind": "PLUS_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   193
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   194
          "endPosition": "1140",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   195
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   196
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   197
          "startPosition": "1137"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   198
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   199
        "startPosition": "1137"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   200
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   201
      "endPosition": "1147",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   202
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   203
      "startPosition": "1137"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   204
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   205
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   206
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   207
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   208
          "endPosition": "1159",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   209
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   210
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   211
          "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   212
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   213
        "endPosition": "1159",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   214
        "kind": "MINUS_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   215
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   216
          "endPosition": "1152",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   217
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   218
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   219
          "startPosition": "1149"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   220
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   221
        "startPosition": "1149"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   222
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   223
      "endPosition": "1159",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   224
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   225
      "startPosition": "1149"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   226
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   227
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   228
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   229
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   230
          "endPosition": "1171",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   231
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   232
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   233
          "startPosition": "1168"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   234
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   235
        "endPosition": "1171",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   236
        "kind": "MULTIPLY_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   237
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   238
          "endPosition": "1164",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   239
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   240
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   241
          "startPosition": "1161"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   242
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   243
        "startPosition": "1161"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   244
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   245
      "endPosition": "1171",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   246
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   247
      "startPosition": "1161"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   248
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   249
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   250
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   251
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   252
          "endPosition": "1183",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   253
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   254
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   255
          "startPosition": "1180"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   256
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   257
        "endPosition": "1183",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   258
        "kind": "DIVIDE_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   259
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   260
          "endPosition": "1176",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   261
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   262
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   263
          "startPosition": "1173"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   264
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   265
        "startPosition": "1173"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   266
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   267
      "endPosition": "1183",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   268
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   269
      "startPosition": "1173"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   270
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   271
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   272
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   273
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   274
          "endPosition": "1195",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   275
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   276
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   277
          "startPosition": "1192"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   278
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   279
        "endPosition": "1195",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   280
        "kind": "REMAINDER_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   281
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   282
          "endPosition": "1188",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   283
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   284
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   285
          "startPosition": "1185"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   286
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   287
        "startPosition": "1185"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   288
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   289
      "endPosition": "1195",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   290
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   291
      "startPosition": "1185"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   292
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   293
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   294
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   295
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   296
          "endPosition": "1208",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   297
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   298
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   299
          "startPosition": "1205"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   300
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   301
        "endPosition": "1208",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   302
        "kind": "LEFT_SHIFT_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   303
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   304
          "endPosition": "1200",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   305
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   306
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   307
          "startPosition": "1197"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   308
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   309
        "startPosition": "1197"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   310
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   311
      "endPosition": "1208",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   312
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   313
      "startPosition": "1197"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   314
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   315
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   316
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   317
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   318
          "endPosition": "1221",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   319
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   320
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   321
          "startPosition": "1218"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   322
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   323
        "endPosition": "1221",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   324
        "kind": "RIGHT_SHIFT_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   325
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   326
          "endPosition": "1213",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   327
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   328
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   329
          "startPosition": "1210"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   330
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   331
        "startPosition": "1210"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   332
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   333
      "endPosition": "1221",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   334
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   335
      "startPosition": "1210"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   336
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   337
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   338
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   339
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   340
          "endPosition": "1235",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   341
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   342
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   343
          "startPosition": "1232"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   344
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   345
        "endPosition": "1235",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   346
        "kind": "UNSIGNED_RIGHT_SHIFT_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   347
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   348
          "endPosition": "1226",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   349
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   350
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   351
          "startPosition": "1223"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   352
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   353
        "startPosition": "1223"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   354
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   355
      "endPosition": "1235",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   356
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   357
      "startPosition": "1223"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   358
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   359
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   360
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   361
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   362
          "endPosition": "1247",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   363
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   364
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   365
          "startPosition": "1244"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   366
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   367
        "endPosition": "1247",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   368
        "kind": "AND_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   369
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   370
          "endPosition": "1240",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   371
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   372
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   373
          "startPosition": "1237"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   374
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   375
        "startPosition": "1237"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   376
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   377
      "endPosition": "1247",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   378
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   379
      "startPosition": "1237"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   380
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   381
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   382
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   383
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   384
          "endPosition": "1259",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   385
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   386
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   387
          "startPosition": "1256"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   388
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   389
        "endPosition": "1259",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   390
        "kind": "XOR_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   391
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   392
          "endPosition": "1252",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   393
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   394
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   395
          "startPosition": "1249"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   396
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   397
        "startPosition": "1249"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   398
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   399
      "endPosition": "1259",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   400
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   401
      "startPosition": "1249"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   402
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   403
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   404
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   405
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   406
          "endPosition": "1271",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   407
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   408
          "value": "314",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   409
          "startPosition": "1268"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   410
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   411
        "endPosition": "1271",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   412
        "kind": "OR_ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   413
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   414
          "endPosition": "1264",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   415
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   416
          "name": "xyz",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   417
          "startPosition": "1261"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   418
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   419
        "startPosition": "1261"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   420
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   421
      "endPosition": "1271",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   422
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   423
      "startPosition": "1261"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   424
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   425
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   426
  "sourceName": "parsertests/assignmentExpr.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   427
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   428
  "startPosition": "1126"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   429
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   430
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   431
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   432
  "endPosition": "1116",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   433
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   434
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   435
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   436
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   437
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   438
          "endPosition": "1117",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   439
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   440
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   441
          "startPosition": "1116"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   442
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   443
        "endPosition": "1121",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   444
        "kind": "MULTIPLY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   445
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   446
          "endPosition": "1121",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   447
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   448
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   449
          "startPosition": "1120"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   450
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   451
        "startPosition": "1116"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   452
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   453
      "endPosition": "1121",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   454
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   455
      "startPosition": "1116"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   456
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   457
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   458
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   459
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   460
          "endPosition": "1123",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   461
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   462
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   463
          "startPosition": "1122"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   464
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   465
        "endPosition": "1127",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   466
        "kind": "DIVIDE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   467
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   468
          "endPosition": "1127",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   469
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   470
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   471
          "startPosition": "1126"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   472
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   473
        "startPosition": "1122"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   474
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   475
      "endPosition": "1127",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   476
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   477
      "startPosition": "1122"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   478
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   479
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   480
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   481
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   482
          "endPosition": "1130",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   483
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   484
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   485
          "startPosition": "1129"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   486
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   487
        "endPosition": "1134",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   488
        "kind": "REMAINDER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   489
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   490
          "endPosition": "1134",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   491
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   492
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   493
          "startPosition": "1133"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   494
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   495
        "startPosition": "1129"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   496
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   497
      "endPosition": "1134",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   498
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   499
      "startPosition": "1129"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   500
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   501
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   502
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   503
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   504
          "endPosition": "1137",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   505
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   506
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   507
          "startPosition": "1136"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   508
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   509
        "endPosition": "1141",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   510
        "kind": "PLUS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   511
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   512
          "endPosition": "1141",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   513
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   514
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   515
          "startPosition": "1140"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   516
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   517
        "startPosition": "1136"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   518
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   519
      "endPosition": "1141",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   520
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   521
      "startPosition": "1136"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   522
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   523
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   524
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   525
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   526
          "endPosition": "1144",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   527
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   528
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   529
          "startPosition": "1143"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   530
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   531
        "endPosition": "1148",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   532
        "kind": "MINUS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   533
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   534
          "endPosition": "1148",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   535
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   536
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   537
          "startPosition": "1147"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   538
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   539
        "startPosition": "1143"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   540
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   541
      "endPosition": "1148",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   542
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   543
      "startPosition": "1143"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   544
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   545
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   546
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   547
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   548
          "endPosition": "1151",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   549
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   550
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   551
          "startPosition": "1150"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   552
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   553
        "endPosition": "1156",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   554
        "kind": "LEFT_SHIFT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   555
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   556
          "endPosition": "1156",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   557
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   558
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   559
          "startPosition": "1155"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   560
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   561
        "startPosition": "1150"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   562
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   563
      "endPosition": "1156",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   564
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   565
      "startPosition": "1150"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   566
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   567
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   568
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   569
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   570
          "endPosition": "1159",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   571
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   572
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   573
          "startPosition": "1158"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   574
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   575
        "endPosition": "1164",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   576
        "kind": "RIGHT_SHIFT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   577
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   578
          "endPosition": "1164",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   579
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   580
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   581
          "startPosition": "1163"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   582
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   583
        "startPosition": "1158"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   584
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   585
      "endPosition": "1164",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   586
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   587
      "startPosition": "1158"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   588
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   589
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   590
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   591
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   592
          "endPosition": "1167",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   593
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   594
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   595
          "startPosition": "1166"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   596
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   597
        "endPosition": "1173",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   598
        "kind": "UNSIGNED_RIGHT_SHIFT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   599
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   600
          "endPosition": "1173",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   601
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   602
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   603
          "startPosition": "1172"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   604
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   605
        "startPosition": "1166"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   606
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   607
      "endPosition": "1173",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   608
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   609
      "startPosition": "1166"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   610
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   611
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   612
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   613
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   614
          "endPosition": "1176",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   615
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   616
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   617
          "startPosition": "1175"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   618
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   619
        "endPosition": "1180",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   620
        "kind": "LESS_THAN",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   621
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   622
          "endPosition": "1180",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   623
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   624
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   625
          "startPosition": "1179"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   626
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   627
        "startPosition": "1175"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   628
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   629
      "endPosition": "1180",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   630
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   631
      "startPosition": "1175"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   632
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   633
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   634
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   635
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   636
          "endPosition": "1183",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   637
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   638
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   639
          "startPosition": "1182"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   640
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   641
        "endPosition": "1187",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   642
        "kind": "GREATER_THAN",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   643
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   644
          "endPosition": "1187",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   645
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   646
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   647
          "startPosition": "1186"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   648
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   649
        "startPosition": "1182"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   650
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   651
      "endPosition": "1187",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   652
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   653
      "startPosition": "1182"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   654
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   655
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   656
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   657
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   658
          "endPosition": "1190",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   659
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   660
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   661
          "startPosition": "1189"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   662
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   663
        "endPosition": "1195",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   664
        "kind": "LESS_THAN_EQUAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   665
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   666
          "endPosition": "1195",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   667
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   668
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   669
          "startPosition": "1194"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   670
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   671
        "startPosition": "1189"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   672
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   673
      "endPosition": "1195",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   674
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   675
      "startPosition": "1189"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   676
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   677
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   678
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   679
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   680
          "endPosition": "1198",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   681
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   682
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   683
          "startPosition": "1197"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   684
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   685
        "endPosition": "1203",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   686
        "kind": "GREATER_THAN_EQUAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   687
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   688
          "endPosition": "1203",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   689
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   690
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   691
          "startPosition": "1202"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   692
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   693
        "startPosition": "1197"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   694
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   695
      "endPosition": "1203",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   696
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   697
      "startPosition": "1197"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   698
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   699
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   700
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   701
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   702
          "endPosition": "1206",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   703
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   704
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   705
          "startPosition": "1205"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   706
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   707
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   708
          "endPosition": "1206",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   709
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   710
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   711
          "startPosition": "1205"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   712
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   713
        "endPosition": "1219",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   714
        "kind": "INSTANCE_OF",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   715
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   716
          "endPosition": "1219",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   717
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   718
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   719
          "startPosition": "1218"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   720
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   721
        "type": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   722
          "endPosition": "1219",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   723
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   724
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   725
          "startPosition": "1218"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   726
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   727
        "startPosition": "1205"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   728
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   729
      "endPosition": "1219",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   730
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   731
      "startPosition": "1205"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   732
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   733
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   734
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   735
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   736
          "endPosition": "1222",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   737
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   738
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   739
          "startPosition": "1221"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   740
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   741
        "endPosition": "1227",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   742
        "kind": "EQUAL_TO",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   743
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   744
          "endPosition": "1227",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   745
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   746
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   747
          "startPosition": "1226"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   748
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   749
        "startPosition": "1221"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   750
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   751
      "endPosition": "1227",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   752
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   753
      "startPosition": "1221"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   754
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   755
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   756
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   757
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   758
          "endPosition": "1230",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   759
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   760
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   761
          "startPosition": "1229"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   762
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   763
        "endPosition": "1235",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   764
        "kind": "NOT_EQUAL_TO",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   765
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   766
          "endPosition": "1235",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   767
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   768
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   769
          "startPosition": "1234"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   770
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   771
        "startPosition": "1229"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   772
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   773
      "endPosition": "1235",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   774
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   775
      "startPosition": "1229"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   776
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   777
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   778
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   779
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   780
          "endPosition": "1238",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   781
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   782
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   783
          "startPosition": "1237"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   784
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   785
        "endPosition": "1244",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   786
        "kind": "STRICT_EQUAL_TO",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   787
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   788
          "endPosition": "1244",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   789
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   790
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   791
          "startPosition": "1243"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   792
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   793
        "startPosition": "1237"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   794
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   795
      "endPosition": "1244",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   796
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   797
      "startPosition": "1237"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   798
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   799
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   800
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   801
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   802
          "endPosition": "1247",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   803
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   804
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   805
          "startPosition": "1246"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   806
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   807
        "endPosition": "1253",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   808
        "kind": "STRICT_NOT_EQUAL_TO",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   809
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   810
          "endPosition": "1253",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   811
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   812
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   813
          "startPosition": "1252"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   814
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   815
        "startPosition": "1246"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   816
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   817
      "endPosition": "1253",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   818
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   819
      "startPosition": "1246"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   820
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   821
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   822
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   823
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   824
          "endPosition": "1256",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   825
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   826
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   827
          "startPosition": "1255"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   828
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   829
        "endPosition": "1260",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   830
        "kind": "AND",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   831
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   832
          "endPosition": "1260",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   833
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   834
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   835
          "startPosition": "1259"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   836
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   837
        "startPosition": "1255"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   838
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   839
      "endPosition": "1260",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   840
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   841
      "startPosition": "1255"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   842
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   843
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   844
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   845
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   846
          "endPosition": "1263",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   847
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   848
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   849
          "startPosition": "1262"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   850
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   851
        "endPosition": "1267",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   852
        "kind": "XOR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   853
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   854
          "endPosition": "1267",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   855
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   856
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   857
          "startPosition": "1266"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   858
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   859
        "startPosition": "1262"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   860
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   861
      "endPosition": "1267",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   862
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   863
      "startPosition": "1262"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   864
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   865
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   866
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   867
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   868
          "endPosition": "1270",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   869
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   870
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   871
          "startPosition": "1269"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   872
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   873
        "endPosition": "1274",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   874
        "kind": "OR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   875
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   876
          "endPosition": "1274",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   877
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   878
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   879
          "startPosition": "1273"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   880
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   881
        "startPosition": "1269"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   882
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   883
      "endPosition": "1274",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   884
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   885
      "startPosition": "1269"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   886
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   887
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   888
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   889
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   890
          "endPosition": "1277",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   891
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   892
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   893
          "startPosition": "1276"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   894
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   895
        "endPosition": "1282",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   896
        "kind": "CONDITIONAL_AND",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   897
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   898
          "endPosition": "1282",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   899
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   900
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   901
          "startPosition": "1281"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   902
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   903
        "startPosition": "1276"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   904
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   905
      "endPosition": "1282",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   906
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   907
      "startPosition": "1276"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   908
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   909
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   910
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   911
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   912
          "endPosition": "1285",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   913
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   914
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   915
          "startPosition": "1284"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   916
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   917
        "endPosition": "1290",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   918
        "kind": "CONDITIONAL_OR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   919
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   920
          "endPosition": "1290",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   921
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   922
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   923
          "startPosition": "1289"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   924
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   925
        "startPosition": "1284"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   926
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   927
      "endPosition": "1290",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   928
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   929
      "startPosition": "1284"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   930
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   931
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   932
  "sourceName": "parsertests/binaryExpr.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   933
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   934
  "startPosition": "1116"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   935
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   936
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   937
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   938
  "endPosition": "1117",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   939
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   940
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   941
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   942
      "endPosition": "1119",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   943
      "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   944
      "statements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   945
      "startPosition": "1117"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   946
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   947
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   948
      "endPosition": "1139",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   949
      "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   950
      "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   951
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   952
          "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   953
            "endPosition": "1136",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   954
            "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   955
            "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   956
              "endPosition": "1127",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   957
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   958
              "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   959
              "startPosition": "1122"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   960
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   961
            "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   962
              {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   963
                "endPosition": "1134",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   964
                "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   965
                "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   966
                "startPosition": "1129"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   967
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   968
            ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   969
            "startPosition": "1122"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   970
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   971
          "endPosition": "1136",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   972
          "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   973
          "startPosition": "1122"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   974
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   975
      ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   976
      "startPosition": "1120"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   977
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   978
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   979
  "sourceName": "parsertests/block.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   980
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   981
  "startPosition": "1117"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   982
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
   983
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   984
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   985
  "endPosition": "1117",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   986
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   987
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   988
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   989
      "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   990
        "endPosition": "1128",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   991
        "kind": "BOOLEAN_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   992
        "value": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   993
        "startPosition": "1124"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   994
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   995
      "endPosition": "1140",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   996
      "kind": "WHILE_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   997
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   998
        "endPosition": "1140",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
   999
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1000
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1001
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1002
            "endPosition": "1138",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1003
            "kind": "BREAK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1004
            "startPosition": "1132"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1005
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1006
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1007
        "startPosition": "1130"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1008
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1009
      "startPosition": "1117"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1010
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1011
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1012
      "endPosition": "1179",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1013
      "kind": "LABELED_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1014
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1015
        "endPosition": "1179",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1016
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1017
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1018
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1019
            "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1020
              "endPosition": "1161",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1021
              "kind": "BOOLEAN_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1022
              "value": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1023
              "startPosition": "1157"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1024
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1025
            "endPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1026
            "kind": "WHILE_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1027
            "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1028
              "endPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1029
              "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1030
              "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1031
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1032
                  "endPosition": "1175",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1033
                  "kind": "BREAK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1034
                  "label": "loop",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1035
                  "startPosition": "1165"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1036
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1037
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1038
              "startPosition": "1163"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1039
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1040
            "startPosition": "1150"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1041
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1042
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1043
        "startPosition": "1148"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1044
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1045
      "label": "loop",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1046
      "startPosition": "1142"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1047
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1048
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1049
      "endPosition": "1214",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1050
      "kind": "LABELED_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1051
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1052
        "endPosition": "1214",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1053
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1054
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1055
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1056
            "endPosition": "1212",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1057
            "kind": "FOR_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1058
            "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1059
              "endPosition": "1212",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1060
              "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1061
              "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1062
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1063
                  "endPosition": "1210",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1064
                  "kind": "BREAK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1065
                  "label": "loop",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1066
                  "startPosition": "1200"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1067
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1068
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1069
              "startPosition": "1198"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1070
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1071
            "startPosition": "1189"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1072
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1073
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1074
        "startPosition": "1187"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1075
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1076
      "label": "loop",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1077
      "startPosition": "1181"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1078
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1079
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1080
  "sourceName": "parsertests/breakStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1081
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1082
  "startPosition": "1117"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1083
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1084
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1085
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1086
  "endPosition": "1117",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1087
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1088
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1089
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1090
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1091
        "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1092
          "endPosition": "1118",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1093
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1094
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1095
          "startPosition": "1117"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1096
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1097
        "endPosition": "1125",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1098
        "kind": "CONDITIONAL_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1099
        "trueExpression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1100
          "endPosition": "1121",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1101
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1102
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1103
          "startPosition": "1120"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1104
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1105
        "falseExpression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1106
          "endPosition": "1125",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1107
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1108
          "name": "c",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1109
          "startPosition": "1124"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1110
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1111
        "startPosition": "1118"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1112
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1113
      "endPosition": "1125",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1114
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1115
      "startPosition": "1117"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1116
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1117
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1118
  "sourceName": "parsertests/condExpr.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1119
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1120
  "startPosition": "1117"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1121
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1122
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1123
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1124
  "endPosition": "1120",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1125
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1126
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1127
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1128
      "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1129
        "endPosition": "1131",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1130
        "kind": "BOOLEAN_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1131
        "value": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1132
        "startPosition": "1127"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1133
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1134
      "endPosition": "1146",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1135
      "kind": "WHILE_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1136
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1137
        "endPosition": "1146",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1138
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1139
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1140
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1141
            "endPosition": "1144",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1142
            "kind": "CONTINUE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1143
            "startPosition": "1135"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1144
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1145
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1146
        "startPosition": "1133"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1147
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1148
      "startPosition": "1120"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1149
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1150
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1151
      "endPosition": "1191",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1152
      "kind": "LABELED_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1153
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1154
        "endPosition": "1191",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1155
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1156
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1157
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1158
            "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1159
              "endPosition": "1168",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1160
              "kind": "BOOLEAN_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1161
              "value": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1162
              "startPosition": "1164"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1163
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1164
            "endPosition": "1189",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1165
            "kind": "WHILE_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1166
            "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1167
              "endPosition": "1189",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1168
              "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1169
              "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1170
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1171
                  "endPosition": "1187",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1172
                  "kind": "CONTINUE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1173
                  "label": "begin",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1174
                  "startPosition": "1172"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1175
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1176
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1177
              "startPosition": "1170"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1178
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1179
            "startPosition": "1157"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1180
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1181
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1182
        "startPosition": "1155"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1183
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1184
      "label": "begin",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1185
      "startPosition": "1148"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1186
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1187
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1188
      "endPosition": "1231",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1189
      "kind": "LABELED_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1190
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1191
        "endPosition": "1231",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1192
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1193
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1194
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1195
            "endPosition": "1229",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1196
            "kind": "FOR_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1197
            "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1198
              "endPosition": "1229",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1199
              "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1200
              "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1201
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1202
                  "endPosition": "1227",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1203
                  "kind": "CONTINUE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1204
                  "label": "start",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1205
                  "startPosition": "1212"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1206
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1207
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1208
              "startPosition": "1210"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1209
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1210
            "startPosition": "1202"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1211
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1212
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1213
        "startPosition": "1200"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1214
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1215
      "label": "start",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1216
      "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1217
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1218
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1219
  "sourceName": "parsertests/continueStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1220
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1221
  "startPosition": "1120"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1222
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1223
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1224
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1225
  "endPosition": "1118",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1226
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1227
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1228
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1229
      "endPosition": "1127",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1230
      "kind": "DEBUGGER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1231
      "startPosition": "1118"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1232
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1233
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1234
  "sourceName": "parsertests/debuggerStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1235
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1236
  "startPosition": "1118"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1237
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1238
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1239
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1240
  "endPosition": "1137",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1241
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1242
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1243
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1244
      "endPosition": "1172",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1245
      "kind": "FUNCTION",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1246
      "name": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1247
        "endPosition": "1151",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1248
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1249
        "name": "hello",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1250
        "startPosition": "1146"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1251
      },
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1252
      "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1253
        "endPosition": "1170",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1254
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1255
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1256
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1257
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1258
              "endPosition": "1170",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1259
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1260
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1261
                "endPosition": "1161",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1262
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1263
                "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1264
                "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1265
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1266
              "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1267
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1268
                  "endPosition": "1168",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1269
                  "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1270
                  "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1271
                  "startPosition": "1163"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1272
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1273
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1274
              "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1275
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1276
            "endPosition": "1170",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1277
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1278
            "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1279
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1280
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1281
        "startPosition": "1154"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1282
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1283
      "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1284
      "startPosition": "1137",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1285
      "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1286
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1287
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1288
      "endPosition": "1203",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1289
      "kind": "FUNCTION",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1290
      "name": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1291
        "endPosition": "1187",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1292
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1293
        "name": "hello",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1294
        "startPosition": "1182"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1295
      },
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1296
      "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1297
        "endPosition": "1201",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1298
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1299
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1300
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1301
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1302
              "endPosition": "1201",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1303
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1304
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1305
                "endPosition": "1198",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1306
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1307
                "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1308
                "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1309
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1310
              "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1311
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1312
                  "endPosition": "1200",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1313
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1314
                  "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1315
                  "startPosition": "1199"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1316
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1317
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1318
              "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1319
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1320
            "endPosition": "1201",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1321
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1322
            "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1323
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1324
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1325
        "startPosition": "1191"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1326
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1327
      "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1328
      "startPosition": "1173",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1329
      "parameters": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1330
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1331
          "endPosition": "1189",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1332
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1333
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1334
          "startPosition": "1188"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1335
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1336
      ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1337
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1338
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1339
      "endPosition": "1240",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1340
      "kind": "FUNCTION",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1341
      "name": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1342
        "endPosition": "1218",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1343
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1344
        "name": "hello",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1345
        "startPosition": "1213"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1346
      },
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1347
      "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1348
        "endPosition": "1238",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1349
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1350
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1351
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1352
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1353
              "endPosition": "1238",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1354
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1355
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1356
                "endPosition": "1232",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1357
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1358
                "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1359
                "startPosition": "1227"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1360
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1361
              "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1362
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1363
                  "endPosition": "1234",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1364
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1365
                  "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1366
                  "startPosition": "1233"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1367
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1368
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1369
                  "endPosition": "1237",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1370
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1371
                  "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1372
                  "startPosition": "1236"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1373
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1374
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1375
              "startPosition": "1227"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1376
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1377
            "endPosition": "1238",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1378
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1379
            "startPosition": "1227"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1380
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1381
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1382
        "startPosition": "1225"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1383
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1384
      "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1385
      "startPosition": "1204",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1386
      "parameters": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1387
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1388
          "endPosition": "1220",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1389
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1390
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1391
          "startPosition": "1219"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1392
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1393
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1394
          "endPosition": "1223",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1395
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1396
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1397
          "startPosition": "1222"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1398
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1399
      ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1400
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1401
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1402
      "endPosition": "1282",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1403
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1404
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1405
        "endPosition": "1250",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1406
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1407
        "name": "hello",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1408
        "startPosition": "1245"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1409
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1410
      "startPosition": "1241",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1411
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1412
        "endPosition": "1264",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1413
        "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1414
        "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1415
          "endPosition": "1280",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1416
          "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1417
          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1418
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1419
              "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1420
                "endPosition": "1280",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1421
                "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1422
                "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1423
                  "endPosition": "1271",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1424
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1425
                  "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1426
                  "startPosition": "1266"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1427
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1428
                "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1429
                  {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1430
                    "endPosition": "1278",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1431
                    "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1432
                    "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1433
                    "startPosition": "1273"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1434
                  }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1435
                ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1436
                "startPosition": "1266"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1437
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1438
              "endPosition": "1280",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1439
              "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1440
              "startPosition": "1266"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1441
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1442
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1443
          "startPosition": "1264"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1444
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1445
        "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1446
        "startPosition": "1264",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1447
        "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1448
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1449
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1450
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1451
      "endPosition": "1331",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1452
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1453
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1454
        "endPosition": "1293",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1455
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1456
        "name": "hello",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1457
        "startPosition": "1288"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1458
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1459
      "startPosition": "1284",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1460
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1461
        "endPosition": "1313",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1462
        "kind": "FUNCTION_EXPRESSION",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1463
        "name": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1464
          "endPosition": "1310",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1465
          "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1466
          "name": "hello",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1467
          "startPosition": "1305"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1468
        },
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1469
        "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1470
          "endPosition": "1329",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1471
          "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1472
          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1473
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1474
              "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1475
                "endPosition": "1329",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1476
                "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1477
                "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1478
                  "endPosition": "1320",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1479
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1480
                  "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1481
                  "startPosition": "1315"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1482
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1483
                "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1484
                  {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1485
                    "endPosition": "1327",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1486
                    "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1487
                    "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1488
                    "startPosition": "1322"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1489
                  }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1490
                ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1491
                "startPosition": "1315"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1492
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1493
              "endPosition": "1329",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1494
              "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1495
              "startPosition": "1315"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1496
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1497
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1498
          "startPosition": "1313"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1499
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1500
        "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1501
        "startPosition": "1313",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1502
        "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1503
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1504
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1505
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1506
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1507
        "endPosition": "1344",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1508
        "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1509
        "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1510
          "endPosition": "1345",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1511
          "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1512
          "statements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1513
          "startPosition": "1344"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1514
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1515
        "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1516
        "startPosition": "1344",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1517
        "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1518
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1519
      "endPosition": "1347",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1520
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1521
      "startPosition": "1333"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1522
    },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1523
    {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1524
      "endPosition": "1380",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1525
      "kind": "FUNCTION",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1526
      "name": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1527
        "endPosition": "1361",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1528
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1529
        "name": "test",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1530
        "startPosition": "1357"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1531
      },
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1532
      "body": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1533
        "endPosition": "1377",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1534
        "kind": "BLOCK",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1535
        "statements": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1536
          {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1537
            "expression": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1538
              "endPosition": "1377",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1539
              "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1540
              "value": "use strict",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1541
              "startPosition": "1367"
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1542
            },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1543
            "endPosition": "1377",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1544
            "kind": "EXPRESSION_STATEMENT",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1545
            "startPosition": "1367"
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1546
          }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1547
        ],
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1548
        "startPosition": "1364"
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1549
      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1550
      "strict": "true",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1551
      "startPosition": "1348",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  1552
      "parameters": []
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1553
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1554
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1555
  "sourceName": "parsertests/functions.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1556
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1557
  "startPosition": "1137"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1558
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1559
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1560
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1561
  "endPosition": "1114",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1562
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1563
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1564
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1565
      "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1566
        "endPosition": "1120",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1567
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1568
        "name": "js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1569
        "startPosition": "1118"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1570
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1571
      "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1572
      "kind": "IF",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1573
      "startPosition": "1114",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1574
      "thenStatement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1575
        "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1576
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1577
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1578
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1579
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1580
              "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1581
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1582
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1583
                "endPosition": "1131",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1584
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1585
                "name": "nashorn",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1586
                "startPosition": "1124"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1587
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1588
              "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1589
              "startPosition": "1124"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1590
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1591
            "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1592
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1593
            "startPosition": "1124"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1594
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1595
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1596
        "startPosition": "1122"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1597
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1598
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1599
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1600
      "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1601
        "endPosition": "1143",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1602
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1603
        "name": "js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1604
        "startPosition": "1141"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1605
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1606
      "elseStatement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1607
        "endPosition": "1174",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1608
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1609
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1610
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1611
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1612
              "endPosition": "1172",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1613
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1614
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1615
                "endPosition": "1170",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1616
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1617
                "name": "java",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1618
                "startPosition": "1166"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1619
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1620
              "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1621
              "startPosition": "1166"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1622
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1623
            "endPosition": "1172",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1624
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1625
            "startPosition": "1166"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1626
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1627
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1628
        "startPosition": "1164"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1629
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1630
      "endPosition": "1174",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1631
      "kind": "IF",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1632
      "startPosition": "1137",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1633
      "thenStatement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1634
        "endPosition": "1158",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1635
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1636
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1637
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1638
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1639
              "endPosition": "1156",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1640
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1641
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1642
                "endPosition": "1154",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1643
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1644
                "name": "nashorn",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1645
                "startPosition": "1147"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1646
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1647
              "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1648
              "startPosition": "1147"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1649
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1650
            "endPosition": "1156",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1651
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1652
            "startPosition": "1147"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1653
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1654
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1655
        "startPosition": "1145"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1656
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1657
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1658
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1659
  "sourceName": "parsertests/ifStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1660
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1661
  "startPosition": "1114"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1662
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1663
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1664
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1665
  "endPosition": "1113",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1666
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1667
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1668
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1669
      "endPosition": "1144",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1670
      "kind": "LABELED_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1671
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1672
        "endPosition": "1144",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1673
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1674
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1675
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1676
            "endPosition": "1142",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1677
            "kind": "FOR_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1678
            "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1679
              "endPosition": "1142",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1680
              "kind": "BREAK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1681
              "label": "begin",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1682
              "startPosition": "1131"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1683
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1684
            "startPosition": "1122"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1685
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1686
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1687
        "startPosition": "1120"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1688
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1689
      "label": "begin",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1690
      "startPosition": "1113"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1691
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1692
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1693
      "endPosition": "1181",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1694
      "kind": "LABELED_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1695
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1696
        "endPosition": "1181",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1697
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1698
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1699
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1700
            "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1701
              "endPosition": "1166",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1702
              "kind": "BOOLEAN_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1703
              "value": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1704
              "startPosition": "1162"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1705
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1706
            "endPosition": "1179",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1707
            "kind": "WHILE_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1708
            "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1709
              "endPosition": "1179",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1710
              "kind": "BREAK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1711
              "label": "begin",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1712
              "startPosition": "1168"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1713
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1714
            "startPosition": "1155"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1715
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1716
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1717
        "startPosition": "1153"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1718
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1719
      "label": "begin",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1720
      "startPosition": "1146"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1721
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1722
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1723
  "sourceName": "parsertests/labelledStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1724
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1725
  "startPosition": "1113"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1726
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  1727
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1728
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1729
  "endPosition": "1125",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1730
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1731
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1732
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1733
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1734
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1735
          "endPosition": "1126",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1736
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1737
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1738
          "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1739
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1740
        "endPosition": "1129",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1741
        "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1742
        "index": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1743
          "endPosition": "1128",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1744
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1745
          "value": "3",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1746
          "startPosition": "1127"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1747
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1748
        "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1749
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1750
      "endPosition": "1129",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1751
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1752
      "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1753
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1754
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1755
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1756
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1757
          "endPosition": "1132",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1758
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1759
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1760
          "startPosition": "1131"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1761
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1762
        "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1763
        "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1764
        "index": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1765
          "endPosition": "1134",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1766
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1767
          "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1768
          "startPosition": "1133"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1769
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1770
        "startPosition": "1131"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1771
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1772
      "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1773
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1774
      "startPosition": "1131"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1775
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1776
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1777
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1778
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1779
          "endPosition": "1138",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1780
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1781
          "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1782
          "startPosition": "1137"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1783
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1784
        "endPosition": "1145",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1785
        "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1786
        "index": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1787
          "endPosition": "1143",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1788
          "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1789
          "value": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1790
          "startPosition": "1140"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1791
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1792
        "startPosition": "1137"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1793
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1794
      "endPosition": "1145",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1795
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1796
      "startPosition": "1137"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1797
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1798
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1799
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1800
        "identifier": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1801
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1802
          "endPosition": "1150",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1803
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1804
          "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1805
          "startPosition": "1147"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1806
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1807
        "endPosition": "1154",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1808
        "kind": "MEMBER_SELECT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1809
        "startPosition": "1147"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1810
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1811
      "endPosition": "1154",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1812
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1813
      "startPosition": "1147"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1814
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1815
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1816
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1817
        "identifier": "bar",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1818
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1819
          "identifier": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1820
          "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1821
            "endPosition": "1159",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1822
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1823
            "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1824
            "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1825
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1826
          "endPosition": "1163",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1827
          "kind": "MEMBER_SELECT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1828
          "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1829
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1830
        "endPosition": "1167",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1831
        "kind": "MEMBER_SELECT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1832
        "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1833
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1834
      "endPosition": "1167",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1835
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1836
      "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1837
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1838
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1839
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1840
        "constructorExpression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1841
          "endPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1842
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1843
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1844
            "endPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1845
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1846
            "name": "Type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1847
            "startPosition": "1173"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1848
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1849
          "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1850
          "startPosition": "1173"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1851
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1852
        "endPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1853
        "kind": "NEW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1854
        "startPosition": "1169"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1855
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1856
      "endPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1857
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1858
      "startPosition": "1169"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1859
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1860
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1861
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1862
        "constructorExpression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1863
          "endPosition": "1189",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1864
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1865
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1866
            "endPosition": "1187",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1867
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1868
            "name": "Type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1869
            "startPosition": "1183"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1870
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1871
          "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1872
          "startPosition": "1183"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1873
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1874
        "endPosition": "1189",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1875
        "kind": "NEW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1876
        "startPosition": "1179"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1877
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1878
      "endPosition": "1189",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1879
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1880
      "startPosition": "1179"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1881
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1882
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1883
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1884
        "constructorExpression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1885
          "endPosition": "1211",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1886
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1887
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1888
            "endPosition": "1199",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1889
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1890
            "name": "Type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1891
            "startPosition": "1195"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1892
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1893
          "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1894
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1895
              "endPosition": "1201",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1896
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1897
              "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1898
              "startPosition": "1200"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1899
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1900
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1901
              "endPosition": "1209",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1902
              "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1903
              "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1904
              "startPosition": "1204"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1905
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1906
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1907
          "startPosition": "1195"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1908
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1909
        "endPosition": "1211",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1910
        "kind": "NEW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1911
        "startPosition": "1191"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1912
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1913
      "endPosition": "1211",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1914
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1915
      "startPosition": "1191"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1916
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1917
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1918
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1919
        "constructorExpression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1920
          "endPosition": "1225",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1921
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1922
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1923
            "identifier": "Type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1924
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1925
              "endPosition": "1220",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1926
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1927
              "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1928
              "startPosition": "1217"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1929
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1930
            "endPosition": "1225",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1931
            "kind": "MEMBER_SELECT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1932
            "startPosition": "1217"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1933
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1934
          "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1935
          "startPosition": "1220"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1936
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1937
        "endPosition": "1225",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1938
        "kind": "NEW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1939
        "startPosition": "1213"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1940
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1941
      "endPosition": "1225",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1942
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1943
      "startPosition": "1213"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1944
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1945
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1946
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1947
        "constructorExpression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1948
          "endPosition": "1241",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1949
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1950
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1951
            "identifier": "Type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1952
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1953
              "endPosition": "1234",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1954
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1955
              "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1956
              "startPosition": "1231"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1957
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1958
            "endPosition": "1239",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1959
            "kind": "MEMBER_SELECT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1960
            "startPosition": "1231"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1961
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1962
          "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1963
          "startPosition": "1234"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1964
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1965
        "endPosition": "1241",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1966
        "kind": "NEW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1967
        "startPosition": "1227"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1968
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1969
      "endPosition": "1241",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1970
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1971
      "startPosition": "1227"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1972
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1973
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1974
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1975
        "constructorExpression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1976
          "endPosition": "1267",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1977
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1978
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1979
            "identifier": "Type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1980
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1981
              "endPosition": "1250",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1982
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1983
              "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1984
              "startPosition": "1247"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1985
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1986
            "endPosition": "1255",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1987
            "kind": "MEMBER_SELECT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1988
            "startPosition": "1247"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1989
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1990
          "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1991
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1992
              "endPosition": "1257",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1993
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1994
              "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1995
              "startPosition": "1256"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1996
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1997
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1998
              "endPosition": "1265",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  1999
              "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2000
              "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2001
              "startPosition": "1260"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2002
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2003
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2004
          "startPosition": "1250"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2005
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2006
        "endPosition": "1267",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2007
        "kind": "NEW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2008
        "startPosition": "1243"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2009
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2010
      "endPosition": "1267",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2011
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2012
      "startPosition": "1243"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2013
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2014
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2015
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2016
        "endPosition": "1274",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2017
        "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2018
        "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2019
          "endPosition": "1272",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2020
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2021
          "name": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2022
          "startPosition": "1269"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2023
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2024
        "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2025
        "startPosition": "1269"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2026
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2027
      "endPosition": "1274",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2028
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2029
      "startPosition": "1269"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2030
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2031
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2032
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2033
        "endPosition": "1284",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2034
        "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2035
        "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2036
          "identifier": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2037
          "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2038
            "endPosition": "1278",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2039
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2040
            "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2041
            "startPosition": "1275"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2042
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2043
          "endPosition": "1282",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2044
          "kind": "MEMBER_SELECT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2045
          "startPosition": "1275"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2046
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2047
        "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2048
        "startPosition": "1275"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2049
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2050
      "endPosition": "1284",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2051
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2052
      "startPosition": "1275"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2053
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2054
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2055
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2056
        "endPosition": "1294",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2057
        "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2058
        "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2059
          "endPosition": "1289",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2060
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2061
          "name": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2062
          "startPosition": "1286"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2063
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2064
        "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2065
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2066
            "endPosition": "1291",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2067
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2068
            "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2069
            "startPosition": "1290"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2070
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2071
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2072
            "endPosition": "1293",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2073
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2074
            "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2075
            "startPosition": "1292"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2076
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2077
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2078
        "startPosition": "1286"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2079
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2080
      "endPosition": "1294",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2081
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2082
      "startPosition": "1286"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2083
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2084
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2085
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2086
        "endPosition": "1309",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2087
        "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2088
        "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2089
          "identifier": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2090
          "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2091
            "endPosition": "1299",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2092
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2093
            "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2094
            "startPosition": "1296"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2095
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2096
          "endPosition": "1303",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2097
          "kind": "MEMBER_SELECT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2098
          "startPosition": "1296"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2099
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2100
        "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2101
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2102
            "endPosition": "1305",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2103
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2104
            "name": "a",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2105
            "startPosition": "1304"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2106
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2107
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2108
            "endPosition": "1308",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2109
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2110
            "name": "b",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2111
            "startPosition": "1307"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2112
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2113
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2114
        "startPosition": "1296"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2115
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2116
      "endPosition": "1309",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2117
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2118
      "startPosition": "1296"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2119
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2120
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2121
  "sourceName": "parsertests/lhsExpr.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2122
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2123
  "startPosition": "1125"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2124
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2125
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2126
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2127
  "endPosition": "1110",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2128
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2129
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2130
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2131
      "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2132
        "endPosition": "1120",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2133
        "kind": "BOOLEAN_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2134
        "value": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2135
        "startPosition": "1116"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2136
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2137
      "endPosition": "1140",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2138
      "kind": "WHILE_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2139
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2140
        "endPosition": "1140",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2141
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2142
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2143
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2144
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2145
              "endPosition": "1138",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2146
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2147
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2148
                "endPosition": "1129",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2149
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2150
                "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2151
                "startPosition": "1124"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2152
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2153
              "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2154
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2155
                  "endPosition": "1136",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2156
                  "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2157
                  "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2158
                  "startPosition": "1131"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2159
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2160
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2161
              "startPosition": "1124"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2162
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2163
            "endPosition": "1138",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2164
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2165
            "startPosition": "1124"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2166
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2167
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2168
        "startPosition": "1122"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2169
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2170
      "startPosition": "1110"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2171
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2172
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2173
      "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2174
        "endPosition": "1173",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2175
        "kind": "BOOLEAN_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2176
        "value": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2177
        "startPosition": "1169"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2178
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2179
      "endPosition": "1174",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2180
      "kind": "DO_WHILE_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2181
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2182
        "endPosition": "1162",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2183
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2184
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2185
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2186
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2187
              "endPosition": "1160",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2188
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2189
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2190
                "endPosition": "1151",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2191
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2192
                "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2193
                "startPosition": "1146"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2194
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2195
              "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2196
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2197
                  "endPosition": "1158",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2198
                  "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2199
                  "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2200
                  "startPosition": "1153"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2201
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2202
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2203
              "startPosition": "1146"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2204
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2205
            "endPosition": "1160",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2206
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2207
            "startPosition": "1146"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2208
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2209
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2210
        "startPosition": "1144"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2211
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2212
      "startPosition": "1141"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2213
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2214
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2215
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2216
        "endPosition": "1188",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2217
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2218
        "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2219
        "startPosition": "1185"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2220
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2221
      "endPosition": "1207",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2222
      "kind": "FOR_IN_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2223
      "forEach": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2224
      "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2225
        "endPosition": "1181",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2226
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2227
        "name": "i",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2228
        "startPosition": "1180"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2229
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2230
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2231
        "endPosition": "1207",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2232
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2233
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2234
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2235
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2236
              "endPosition": "1205",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2237
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2238
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2239
                "endPosition": "1197",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2240
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2241
                "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2242
                "startPosition": "1192"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2243
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2244
              "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2245
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2246
                  "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2247
                    "endPosition": "1201",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2248
                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2249
                    "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2250
                    "startPosition": "1198"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2251
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2252
                  "endPosition": "1204",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2253
                  "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2254
                  "index": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2255
                    "endPosition": "1203",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2256
                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2257
                    "name": "i",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2258
                    "startPosition": "1202"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2259
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2260
                  "startPosition": "1198"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2261
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2262
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2263
              "startPosition": "1192"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2264
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2265
            "endPosition": "1205",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2266
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2267
            "startPosition": "1192"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2268
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2269
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2270
        "startPosition": "1190"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2271
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2272
      "startPosition": "1175"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2273
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2274
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2275
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2276
        "endPosition": "1226",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2277
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2278
        "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2279
        "startPosition": "1223"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2280
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2281
      "endPosition": "1240",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2282
      "kind": "FOR_IN_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2283
      "forEach": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2284
      "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2285
        "endPosition": "1219",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2286
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2287
        "name": "i",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2288
        "startPosition": "1218"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2289
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2290
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2291
        "endPosition": "1240",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2292
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2293
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2294
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2295
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2296
              "endPosition": "1238",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2297
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2298
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2299
                "endPosition": "1235",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2300
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2301
                "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2302
                "startPosition": "1230"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2303
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2304
              "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2305
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2306
                  "endPosition": "1237",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2307
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2308
                  "name": "i",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2309
                  "startPosition": "1236"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2310
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2311
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2312
              "startPosition": "1230"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2313
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2314
            "endPosition": "1238",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2315
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2316
            "startPosition": "1230"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2317
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2318
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2319
        "startPosition": "1228"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2320
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2321
      "startPosition": "1208"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2322
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2323
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2324
      "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2325
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2326
          "endPosition": "1254",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2327
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2328
          "name": "i",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2329
          "startPosition": "1253"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2330
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2331
        "endPosition": "1259",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2332
        "kind": "LESS_THAN",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2333
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2334
          "endPosition": "1259",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2335
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2336
          "value": "10",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2337
          "startPosition": "1257"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2338
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2339
        "startPosition": "1253"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2340
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2341
      "endPosition": "1278",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2342
      "kind": "FOR_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2343
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2344
        "endPosition": "1278",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2345
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2346
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2347
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2348
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2349
              "endPosition": "1276",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2350
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2351
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2352
                "endPosition": "1273",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2353
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2354
                "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2355
                "startPosition": "1268"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2356
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2357
              "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2358
                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2359
                  "endPosition": "1275",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2360
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2361
                  "name": "i",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2362
                  "startPosition": "1274"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2363
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2364
              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2365
              "startPosition": "1268"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2366
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2367
            "endPosition": "1276",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2368
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2369
            "startPosition": "1268"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2370
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2371
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2372
        "startPosition": "1266"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2373
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2374
      "update": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2375
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2376
          "endPosition": "1262",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2377
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2378
          "name": "i",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2379
          "startPosition": "1261"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2380
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2381
        "endPosition": "1264",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2382
        "kind": "POSTFIX_INCREMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2383
        "startPosition": "1261"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2384
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2385
      "startPosition": "1241",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2386
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2387
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2388
          "endPosition": "1251",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2389
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2390
          "value": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2391
          "startPosition": "1250"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2392
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2393
        "endPosition": "1251",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2394
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2395
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2396
          "endPosition": "1247",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2397
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2398
          "name": "i",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2399
          "startPosition": "1246"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2400
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2401
        "startPosition": "1246"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2402
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2403
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2404
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2405
  "sourceName": "parsertests/loopStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2406
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2407
  "startPosition": "1110"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2408
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2409
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2410
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2411
  "endPosition": "1125",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2412
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2413
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2414
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2415
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2416
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2417
          "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2418
          "kind": "OBJECT_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2419
          "startPosition": "1131",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2420
          "properties": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2421
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2422
        "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2423
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2424
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2425
          "endPosition": "1128",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2426
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2427
          "name": "obj",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2428
          "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2429
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2430
        "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2431
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2432
      "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2433
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2434
      "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2435
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2436
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2437
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2438
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2439
          "endPosition": "1154",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2440
          "kind": "OBJECT_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2441
          "startPosition": "1139",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2442
          "properties": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2443
            {
37732
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
  2444
              "endPosition": "1146",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2445
              "kind": "PROPERTY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2446
              "value": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2447
                "endPosition": "1146",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2448
                "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2449
                "value": "10",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2450
                "startPosition": "1144"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2451
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2452
              "startPosition": "1141",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2453
              "key": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2454
                "endPosition": "1142",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2455
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2456
                "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2457
                "startPosition": "1141"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2458
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2459
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2460
            {
37732
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
  2461
              "endPosition": "1152",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2462
              "kind": "PROPERTY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2463
              "value": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2464
                "endPosition": "1152",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2465
                "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2466
                "value": "2",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2467
                "startPosition": "1151"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2468
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2469
              "startPosition": "1148",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2470
              "key": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2471
                "endPosition": "1149",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2472
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2473
                "name": "y",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2474
                "startPosition": "1148"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2475
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2476
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2477
          ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2478
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2479
        "endPosition": "1154",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2480
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2481
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2482
          "endPosition": "1136",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2483
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2484
          "name": "p",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2485
          "startPosition": "1135"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2486
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2487
        "startPosition": "1135"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2488
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2489
      "endPosition": "1154",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2490
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2491
      "startPosition": "1135"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2492
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2493
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2494
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2495
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2496
          "endPosition": "1179",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2497
          "kind": "OBJECT_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2498
          "startPosition": "1160",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2499
          "properties": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2500
            {
37732
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
  2501
              "endPosition": "1169",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2502
              "kind": "PROPERTY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2503
              "value": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2504
                "endPosition": "1169",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2505
                "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2506
                "value": "10",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2507
                "startPosition": "1167"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2508
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2509
              "startPosition": "1163",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2510
              "key": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2511
                "endPosition": "1164",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2512
                "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2513
                "value": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2514
                "startPosition": "1163"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2515
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2516
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2517
            {
37732
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
  2518
              "endPosition": "1177",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2519
              "kind": "PROPERTY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2520
              "value": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2521
                "endPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2522
                "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2523
                "value": "2",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2524
                "startPosition": "1176"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2525
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2526
              "startPosition": "1172",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2527
              "key": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2528
                "endPosition": "1173",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2529
                "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2530
                "value": "y",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2531
                "startPosition": "1172"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2532
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2533
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2534
          ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2535
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2536
        "endPosition": "1179",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2537
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2538
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2539
          "endPosition": "1157",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2540
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2541
          "name": "p",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2542
          "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2543
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2544
        "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2545
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2546
      "endPosition": "1179",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2547
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2548
      "startPosition": "1156"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2549
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2550
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2551
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2552
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2553
          "endPosition": "1241",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2554
          "kind": "OBJECT_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2555
          "startPosition": "1185",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2556
          "properties": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2557
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2558
              "getter": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2559
                "endPosition": "1195",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2560
                "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2561
                "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2562
                  "endPosition": "1210",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2563
                  "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2564
                  "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2565
                    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2566
                      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2567
                        "endPosition": "1210",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2568
                        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2569
                        "name": "xValue",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2570
                        "startPosition": "1204"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2571
                      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2572
                      "endPosition": "1210",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2573
                      "kind": "RETURN",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2574
                      "startPosition": "1197"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2575
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2576
                  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2577
                  "startPosition": "1195"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2578
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2579
                "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2580
                "startPosition": "1195",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2581
                "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2582
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2583
              "endPosition": "1212",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2584
              "kind": "PROPERTY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2585
              "startPosition": "1187",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2586
              "key": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2587
                "endPosition": "1192",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2588
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2589
                "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2590
                "startPosition": "1191"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2591
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2592
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2593
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2594
              "getter": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2595
                "endPosition": "1222",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2596
                "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2597
                "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2598
                  "endPosition": "1237",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2599
                  "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2600
                  "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2601
                    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2602
                      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2603
                        "endPosition": "1237",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2604
                        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2605
                        "name": "yValue",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2606
                        "startPosition": "1231"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2607
                      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2608
                      "endPosition": "1237",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2609
                      "kind": "RETURN",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2610
                      "startPosition": "1224"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2611
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2612
                  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2613
                  "startPosition": "1222"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2614
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2615
                "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2616
                "startPosition": "1222",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2617
                "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2618
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2619
              "endPosition": "1239",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2620
              "kind": "PROPERTY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2621
              "startPosition": "1214",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2622
              "key": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2623
                "endPosition": "1219",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2624
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2625
                "name": "y",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2626
                "startPosition": "1218"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2627
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2628
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2629
          ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2630
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2631
        "endPosition": "1241",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2632
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2633
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2634
          "endPosition": "1182",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2635
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2636
          "name": "p",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2637
          "startPosition": "1181"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2638
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2639
        "startPosition": "1181"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2640
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2641
      "endPosition": "1241",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2642
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2643
      "startPosition": "1181"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2644
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2645
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2646
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2647
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2648
          "endPosition": "1315",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2649
          "kind": "OBJECT_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2650
          "startPosition": "1247",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2651
          "properties": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2652
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2653
              "getter": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2654
                "endPosition": "1259",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2655
                "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2656
                "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2657
                  "endPosition": "1277",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2658
                  "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2659
                  "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2660
                    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2661
                      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2662
                        "identifier": "_foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2663
                        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2664
                          "endPosition": "1272",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2665
                          "kind": "IDENTIFIER",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2666
                          "this": "true",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2667
                          "name": "this",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2668
                          "startPosition": "1268"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2669
                        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2670
                        "endPosition": "1277",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2671
                        "kind": "MEMBER_SELECT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2672
                        "startPosition": "1268"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2673
                      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2674
                      "endPosition": "1277",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2675
                      "kind": "RETURN",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2676
                      "startPosition": "1261"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2677
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2678
                  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2679
                  "startPosition": "1259"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2680
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2681
                "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2682
                "startPosition": "1259",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2683
                "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2684
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2685
              "endPosition": "1279",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2686
              "kind": "PROPERTY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2687
              "setter": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2688
                "endPosition": "1294",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2689
                "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2690
                "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2691
                  "endPosition": "1311",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2692
                  "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2693
                  "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2694
                    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2695
                      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2696
                        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2697
                          "endPosition": "1311",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2698
                          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2699
                          "name": "val",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2700
                          "startPosition": "1308"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2701
                        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2702
                        "endPosition": "1311",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2703
                        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2704
                        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2705
                          "identifier": "_foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2706
                          "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2707
                            "endPosition": "1300",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2708
                            "kind": "IDENTIFIER",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2709
                            "this": "true",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2710
                            "name": "this",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2711
                            "startPosition": "1296"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2712
                          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2713
                          "endPosition": "1305",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2714
                          "kind": "MEMBER_SELECT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2715
                          "startPosition": "1296"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2716
                        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2717
                        "startPosition": "1296"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2718
                      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2719
                      "endPosition": "1311",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2720
                      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2721
                      "startPosition": "1296"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2722
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2723
                  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2724
                  "startPosition": "1294"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2725
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2726
                "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2727
                "startPosition": "1294",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2728
                "parameters": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2729
                  {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2730
                    "endPosition": "1292",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2731
                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2732
                    "name": "val",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2733
                    "startPosition": "1289"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2734
                  }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2735
                ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2736
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2737
              "startPosition": "1249",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2738
              "key": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2739
                "endPosition": "1256",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2740
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2741
                "name": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2742
                "startPosition": "1253"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2743
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2744
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2745
          ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2746
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2747
        "endPosition": "1315",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2748
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2749
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2750
          "endPosition": "1244",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2751
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2752
          "name": "p",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2753
          "startPosition": "1243"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2754
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2755
        "startPosition": "1243"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2756
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2757
      "endPosition": "1315",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2758
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2759
      "startPosition": "1243"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2760
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2761
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2762
  "sourceName": "parsertests/objectLitExpr.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2763
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2764
  "startPosition": "1125"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2765
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2766
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2767
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2768
  "endPosition": "1118",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2769
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2770
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2771
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2772
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2773
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2774
          "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2775
            "endPosition": "1120",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2776
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2777
            "value": "2",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2778
            "startPosition": "1119"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2779
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2780
          "endPosition": "1126",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2781
          "kind": "PLUS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2782
          "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2783
            "endPosition": "1126",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2784
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2785
            "value": "1",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2786
            "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2787
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2788
          "startPosition": "1119"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2789
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2790
        "endPosition": "1131",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2791
        "kind": "PLUS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2792
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2793
          "endPosition": "1131",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2794
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2795
          "value": "4",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2796
          "startPosition": "1130"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2797
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2798
        "startPosition": "1119"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2799
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2800
      "endPosition": "1131",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2801
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2802
      "startPosition": "1118"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2803
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2804
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2805
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2806
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2807
          "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2808
            "endPosition": "1134",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2809
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2810
            "value": "3",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2811
            "startPosition": "1133"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2812
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2813
          "endPosition": "1139",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2814
          "kind": "PLUS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2815
          "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2816
            "endPosition": "1139",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2817
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2818
            "value": "7",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2819
            "startPosition": "1138"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2820
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2821
          "startPosition": "1133"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2822
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2823
        "endPosition": "1146",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2824
        "kind": "LEFT_SHIFT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2825
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2826
          "endPosition": "1146",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2827
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2828
          "value": "5",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2829
          "startPosition": "1145"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2830
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2831
        "startPosition": "1133"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2832
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2833
      "endPosition": "1147",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2834
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2835
      "startPosition": "1133"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2836
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2837
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2838
  "sourceName": "parsertests/parenExpr.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2839
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2840
  "startPosition": "1118"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2841
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2842
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2843
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2844
  "endPosition": "1119",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2845
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2846
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2847
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2848
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2849
        "endPosition": "1123",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2850
        "kind": "IDENTIFIER",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  2851
        "this": "true",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2852
        "name": "this",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2853
        "startPosition": "1119"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2854
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2855
      "endPosition": "1123",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2856
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2857
      "startPosition": "1119"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2858
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2859
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2860
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2861
        "endPosition": "1128",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2862
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2863
        "name": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2864
        "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2865
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2866
      "endPosition": "1128",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2867
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2868
      "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2869
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2870
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2871
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2872
        "endPosition": "1134",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2873
        "kind": "NULL_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2874
        "startPosition": "1130"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2875
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2876
      "endPosition": "1134",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2877
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2878
      "startPosition": "1130"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2879
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2880
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2881
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2882
        "endPosition": "1140",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2883
        "kind": "BOOLEAN_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2884
        "value": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2885
        "startPosition": "1136"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2886
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2887
      "endPosition": "1140",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2888
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2889
      "startPosition": "1136"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2890
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2891
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2892
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2893
        "endPosition": "1147",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2894
        "kind": "BOOLEAN_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2895
        "value": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2896
        "startPosition": "1142"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2897
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2898
      "endPosition": "1147",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2899
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2900
      "startPosition": "1142"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2901
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2902
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2903
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2904
        "endPosition": "1151",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2905
        "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2906
        "value": "33",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2907
        "startPosition": "1149"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2908
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2909
      "endPosition": "1151",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2910
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2911
      "startPosition": "1149"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2912
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2913
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2914
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2915
        "endPosition": "1157",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2916
        "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2917
        "value": "3.14",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2918
        "startPosition": "1153"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2919
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2920
      "endPosition": "1157",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2921
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2922
      "startPosition": "1153"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2923
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2924
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2925
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2926
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2927
          "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2928
            "endPosition": "1162",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2929
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2930
            "value": "10",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2931
            "startPosition": "1160"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2932
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2933
          "endPosition": "1166",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2934
          "kind": "PLUS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2935
          "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2936
            "endPosition": "1166",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2937
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2938
            "value": "3",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2939
            "startPosition": "1165"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2940
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2941
          "startPosition": "1160"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2942
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2943
        "endPosition": "1169",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2944
        "kind": "MULTIPLY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2945
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2946
          "endPosition": "1169",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2947
          "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2948
          "value": "2",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2949
          "startPosition": "1168"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2950
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2951
        "startPosition": "1160"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2952
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2953
      "endPosition": "1169",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2954
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2955
      "startPosition": "1159"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2956
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2957
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2958
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2959
        "endPosition": "1174",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2960
        "kind": "OBJECT_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2961
        "startPosition": "1172",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2962
        "properties": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2963
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2964
      "endPosition": "1175",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2965
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2966
      "startPosition": "1171"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2967
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2968
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2969
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2970
        "endPosition": "1186",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2971
        "kind": "OBJECT_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2972
        "startPosition": "1178",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2973
        "properties": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2974
          {
37732
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
  2975
            "endPosition": "1184",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2976
            "kind": "PROPERTY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2977
            "value": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2978
              "endPosition": "1184",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2979
              "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2980
              "value": "3",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2981
              "startPosition": "1183"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2982
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2983
            "startPosition": "1180",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2984
            "key": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2985
              "endPosition": "1181",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2986
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2987
              "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2988
              "startPosition": "1180"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2989
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2990
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2991
        ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2992
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2993
      "endPosition": "1187",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2994
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2995
      "startPosition": "1177"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2996
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2997
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2998
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  2999
        "endPosition": "1191",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3000
        "kind": "ARRAY_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3001
        "elements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3002
        "startPosition": "1189"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3003
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3004
      "endPosition": "1191",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3005
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3006
      "startPosition": "1189"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3007
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3008
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3009
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3010
        "endPosition": "1197",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3011
        "kind": "ARRAY_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3012
        "elements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3013
          null,
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3014
          null
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3015
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3016
        "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3017
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3018
      "endPosition": "1197",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3019
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3020
      "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3021
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3022
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3023
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3024
        "endPosition": "1208",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3025
        "kind": "ARRAY_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3026
        "elements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3027
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3028
            "endPosition": "1201",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3029
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3030
            "value": "4",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3031
            "startPosition": "1200"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3032
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3033
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3034
            "endPosition": "1204",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3035
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3036
            "value": "5",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3037
            "startPosition": "1203"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3038
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3039
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3040
            "endPosition": "1207",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3041
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3042
            "value": "5",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3043
            "startPosition": "1206"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3044
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3045
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3046
        "startPosition": "1199"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3047
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3048
      "endPosition": "1208",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3049
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3050
      "startPosition": "1199"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3051
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3052
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3053
  "sourceName": "parsertests/primaryExpr.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3054
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3055
  "startPosition": "1119"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3056
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3057
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3058
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3059
  "endPosition": "1114",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3060
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3061
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3062
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3063
      "endPosition": "1127",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3064
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3065
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3066
        "endPosition": "1119",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3067
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3068
        "name": "x",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3069
        "startPosition": "1118"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3070
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3071
      "startPosition": "1114",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3072
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3073
        "endPosition": "1127",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3074
        "kind": "REGEXP_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3075
        "options": "",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3076
        "pattern": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3077
        "startPosition": "1122"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3078
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3079
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3080
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3081
      "endPosition": "1143",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3082
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3083
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3084
        "endPosition": "1134",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3085
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3086
        "name": "y",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3087
        "startPosition": "1133"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3088
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3089
      "startPosition": "1129",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3090
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3091
        "endPosition": "1143",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3092
        "kind": "REGEXP_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3093
        "options": "g",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3094
        "pattern": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3095
        "startPosition": "1137"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3096
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3097
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3098
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3099
      "endPosition": "1168",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3100
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3101
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3102
        "endPosition": "1150",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3103
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3104
        "name": "z",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3105
        "startPosition": "1149"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3106
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3107
      "startPosition": "1145",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3108
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3109
        "endPosition": "1168",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3110
        "kind": "REGEXP_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3111
        "options": "",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3112
        "pattern": "[a-z]*[1-10]?",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3113
        "startPosition": "1153"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3114
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3115
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3116
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3117
  "sourceName": "parsertests/regexp_literal.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3118
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3119
  "startPosition": "1114"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3120
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3121
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3122
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3123
  "endPosition": "1118",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3124
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3125
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3126
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3127
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3128
        "endPosition": "1130",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3129
        "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3130
        "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3131
          "endPosition": "1138",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3132
          "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3133
          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3134
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3135
              "endPosition": "1138",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3136
              "kind": "RETURN",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3137
              "startPosition": "1132"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3138
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3139
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3140
          "startPosition": "1130"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3141
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3142
        "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3143
        "startPosition": "1130",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3144
        "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3145
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3146
      "endPosition": "1141",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3147
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3148
      "startPosition": "1118"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3149
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3150
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3151
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3152
        "endPosition": "1155",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3153
        "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3154
        "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3155
          "endPosition": "1167",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3156
          "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3157
          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3158
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3159
              "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3160
                "endPosition": "1167",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3161
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3162
                "name": "res",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3163
                "startPosition": "1164"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3164
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3165
              "endPosition": "1167",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3166
              "kind": "RETURN",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3167
              "startPosition": "1157"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3168
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3169
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3170
          "startPosition": "1155"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3171
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3172
        "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3173
        "startPosition": "1155",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3174
        "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3175
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3176
      "endPosition": "1170",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3177
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3178
      "startPosition": "1143"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3179
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3180
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3181
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3182
        "endPosition": "1184",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3183
        "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3184
        "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3185
          "endPosition": "1198",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3186
          "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3187
          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3188
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3189
              "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3190
                "endPosition": "1198",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3191
                "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3192
                "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3193
                  "endPosition": "1196",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3194
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3195
                  "name": "foo",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3196
                  "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3197
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3198
                "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3199
                "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3200
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3201
              "endPosition": "1198",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3202
              "kind": "RETURN",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3203
              "startPosition": "1186"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3204
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3205
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3206
          "startPosition": "1184"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3207
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3208
        "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3209
        "startPosition": "1184",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3210
        "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3211
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3212
      "endPosition": "1201",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3213
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3214
      "startPosition": "1172"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3215
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3216
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3217
  "sourceName": "parsertests/returnStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3218
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3219
  "startPosition": "1118"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3220
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3221
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3222
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3223
  "endPosition": "1111",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3224
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3225
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3226
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3227
      "cases": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3228
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3229
        "endPosition": "1122",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3230
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3231
        "name": "key",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3232
        "startPosition": "1119"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3233
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3234
      "endPosition": "1126",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3235
      "kind": "SWITCH",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3236
      "startPosition": "1111"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3237
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3238
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3239
      "cases": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3240
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3241
          "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3242
            "endPosition": "1149",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3243
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3244
            "value": "2",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3245
            "startPosition": "1148"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3246
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3247
          "endPosition": "1166",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3248
          "kind": "CASE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3249
          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3250
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3251
              "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3252
                "endPosition": "1158",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3253
                "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3254
                "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3255
                  "endPosition": "1156",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3256
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3257
                  "name": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3258
                  "startPosition": "1151"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3259
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3260
                "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3261
                "startPosition": "1151"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3262
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3263
              "endPosition": "1158",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3264
              "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3265
              "startPosition": "1151"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3266
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3267
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3268
              "endPosition": "1166",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3269
              "kind": "BREAK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3270
              "startPosition": "1160"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3271
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3272
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3273
          "startPosition": "1143"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3274
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3275
      ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3276
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3277
        "endPosition": "1139",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3278
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3279
        "name": "key",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3280
        "startPosition": "1136"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3281
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3282
      "endPosition": "1168",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3283
      "kind": "SWITCH",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3284
      "startPosition": "1128"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3285
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3286
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3287
      "cases": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3288
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3289
          "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3290
            "endPosition": "1191",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3291
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3292
            "value": "4",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3293
            "startPosition": "1190"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3294
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3295
          "endPosition": "1208",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3296
          "kind": "CASE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3297
          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3298
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3299
              "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3300
                "endPosition": "1200",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3301
                "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3302
                "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3303
                  "endPosition": "1198",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3304
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3305
                  "name": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3306
                  "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3307
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3308
                "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3309
                "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3310
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3311
              "endPosition": "1200",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3312
              "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3313
              "startPosition": "1193"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3314
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3315
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3316
              "endPosition": "1208",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3317
              "kind": "BREAK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3318
              "startPosition": "1202"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3319
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3320
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3321
          "startPosition": "1185"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3322
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3323
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3324
          "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3325
            "endPosition": "1215",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3326
            "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3327
            "value": "2",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3328
            "startPosition": "1214"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3329
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3330
          "endPosition": "1232",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3331
          "kind": "CASE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3332
          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3333
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3334
              "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3335
                "endPosition": "1224",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3336
                "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3337
                "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3338
                  "endPosition": "1222",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3339
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3340
                  "name": "world",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3341
                  "startPosition": "1217"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3342
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3343
                "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3344
                "startPosition": "1217"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3345
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3346
              "endPosition": "1224",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3347
              "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3348
              "startPosition": "1217"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3349
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3350
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3351
              "endPosition": "1232",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3352
              "kind": "BREAK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3353
              "startPosition": "1226"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3354
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3355
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3356
          "startPosition": "1209"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3357
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3358
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3359
          "endPosition": "1247",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3360
          "kind": "CASE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3361
          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3362
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3363
              "endPosition": "1247",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3364
              "kind": "BREAK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3365
              "startPosition": "1242"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3366
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3367
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3368
          "startPosition": "1233"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3369
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3370
      ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3371
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3372
        "endPosition": "1181",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3373
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3374
        "name": "key",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3375
        "startPosition": "1178"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3376
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3377
      "endPosition": "1249",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3378
      "kind": "SWITCH",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3379
      "startPosition": "1170"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3380
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3381
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3382
  "sourceName": "parsertests/switchStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3383
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3384
  "startPosition": "1111"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3385
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3386
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3387
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3388
  "endPosition": "1110",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3389
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3390
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3391
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3392
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3393
        "endPosition": "1119",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3394
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3395
        "name": "err",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3396
        "startPosition": "1116"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3397
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3398
      "endPosition": "1120",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3399
      "kind": "THROW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3400
      "startPosition": "1110"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3401
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3402
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3403
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3404
        "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3405
        "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3406
        "value": "wrong",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3407
        "startPosition": "1128"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3408
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3409
      "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3410
      "kind": "THROW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3411
      "startPosition": "1121"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3412
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3413
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3414
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3415
        "constructorExpression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3416
          "endPosition": "1155",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3417
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3418
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3419
            "endPosition": "1155",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3420
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3421
            "name": "TypeError",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3422
            "startPosition": "1146"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3423
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3424
          "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3425
          "startPosition": "1146"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3426
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3427
        "endPosition": "1155",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3428
        "kind": "NEW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3429
        "startPosition": "1142"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3430
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3431
      "endPosition": "1156",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3432
      "kind": "THROW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3433
      "startPosition": "1136"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3434
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3435
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3436
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3437
        "constructorExpression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3438
          "endPosition": "1192",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3439
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3440
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3441
            "endPosition": "1176",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3442
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3443
            "name": "TypeError",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3444
            "startPosition": "1167"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3445
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3446
          "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3447
            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3448
              "endPosition": "1190",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3449
              "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3450
              "value": "not an array",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3451
              "startPosition": "1178"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3452
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3453
          ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3454
          "startPosition": "1167"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3455
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3456
        "endPosition": "1192",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3457
        "kind": "NEW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3458
        "startPosition": "1163"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3459
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3460
      "endPosition": "1193",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3461
      "kind": "THROW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3462
      "startPosition": "1157"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3463
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3464
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3465
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3466
        "endPosition": "1217",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3467
        "kind": "OBJECT_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3468
        "startPosition": "1200",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3469
        "properties": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3470
          {
37732
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
  3471
            "endPosition": "1214",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3472
            "kind": "PROPERTY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3473
            "value": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3474
              "endPosition": "1214",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3475
              "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3476
              "value": "wrong!",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3477
              "startPosition": "1208"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3478
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3479
            "startPosition": "1202",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3480
            "key": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3481
              "endPosition": "1205",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3482
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3483
              "name": "msg",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3484
              "startPosition": "1202"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3485
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3486
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3487
        ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3488
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3489
      "endPosition": "1218",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3490
      "kind": "THROW",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3491
      "startPosition": "1194"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3492
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3493
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3494
  "sourceName": "parsertests/throwStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3495
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3496
  "startPosition": "1110"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3497
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3498
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3499
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3500
  "endPosition": "1121",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3501
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3502
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3503
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3504
      "endPosition": "1142",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3505
      "kind": "TRY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3506
      "catches": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3507
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3508
          "endPosition": "1142",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3509
          "kind": "CATCH",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3510
          "parameter": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3511
            "endPosition": "1137",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3512
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3513
            "name": "e",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3514
            "startPosition": "1136"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3515
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3516
          "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3517
            "endPosition": "1142",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3518
            "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3519
            "statements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3520
            "startPosition": "1139"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3521
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3522
          "startPosition": "1129"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3523
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3524
      ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3525
      "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3526
        "endPosition": "1128",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3527
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3528
        "statements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3529
        "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3530
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3531
      "startPosition": "1121"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3532
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3533
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3534
      "endPosition": "1175",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3535
      "kind": "TRY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3536
      "catches": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3537
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3538
          "endPosition": "1164",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3539
          "kind": "CATCH",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3540
          "parameter": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3541
            "endPosition": "1159",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3542
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3543
            "name": "e",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3544
            "startPosition": "1158"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3545
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3546
          "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3547
            "endPosition": "1164",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3548
            "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3549
            "statements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3550
            "startPosition": "1161"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3551
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3552
          "startPosition": "1151"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3553
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3554
      ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3555
      "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3556
        "endPosition": "1150",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3557
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3558
        "statements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3559
        "startPosition": "1147"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3560
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3561
      "finallyBlock": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3562
        "endPosition": "1175",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3563
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3564
        "statements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3565
        "startPosition": "1173"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3566
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3567
      "startPosition": "1143"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3568
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3569
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3570
      "endPosition": "1194",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3571
      "kind": "TRY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3572
      "catches": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3573
      "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3574
        "endPosition": "1183",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3575
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3576
        "statements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3577
        "startPosition": "1180"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3578
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3579
      "finallyBlock": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3580
        "endPosition": "1194",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3581
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3582
        "statements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3583
        "startPosition": "1192"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3584
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3585
      "startPosition": "1176"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3586
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3587
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3588
      "endPosition": "1225",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3589
      "kind": "TRY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3590
      "catches": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3591
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3592
          "endPosition": "1225",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3593
          "kind": "CATCH",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3594
          "parameter": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3595
            "endPosition": "1211",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3596
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3597
            "name": "e",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3598
            "startPosition": "1210"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3599
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3600
          "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3601
            "endPosition": "1225",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3602
            "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3603
            "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3604
              {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3605
                "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3606
                  "endPosition": "1223",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3607
                  "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3608
                  "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3609
                    "endPosition": "1221",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3610
                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3611
                    "name": "handle",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3612
                    "startPosition": "1215"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3613
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3614
                  "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3615
                  "startPosition": "1215"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3616
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3617
                "endPosition": "1223",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3618
                "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3619
                "startPosition": "1215"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3620
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3621
            ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3622
            "startPosition": "1213"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3623
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3624
          "startPosition": "1203"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3625
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3626
      ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3627
      "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3628
        "endPosition": "1202",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3629
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3630
        "statements": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3631
        "startPosition": "1199"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3632
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3633
      "startPosition": "1195"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3634
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3635
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3636
      "endPosition": "1283",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3637
      "kind": "TRY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3638
      "catches": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3639
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3640
          "endPosition": "1263",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3641
          "kind": "CATCH",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3642
          "parameter": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3643
            "endPosition": "1249",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3644
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3645
            "name": "e",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3646
            "startPosition": "1248"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3647
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3648
          "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3649
            "endPosition": "1263",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3650
            "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3651
            "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3652
              {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3653
                "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3654
                  "endPosition": "1261",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3655
                  "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3656
                  "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3657
                    "endPosition": "1259",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3658
                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3659
                    "name": "handle",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3660
                    "startPosition": "1253"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3661
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3662
                  "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3663
                  "startPosition": "1253"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3664
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3665
                "endPosition": "1261",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3666
                "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3667
                "startPosition": "1253"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3668
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3669
            ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3670
            "startPosition": "1251"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3671
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3672
          "startPosition": "1241"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3673
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3674
      ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3675
      "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3676
        "endPosition": "1240",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3677
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3678
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3679
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3680
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3681
              "endPosition": "1238",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3682
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3683
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3684
                "endPosition": "1236",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3685
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3686
                "name": "that",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3687
                "startPosition": "1232"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3688
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3689
              "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3690
              "startPosition": "1232"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3691
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3692
            "endPosition": "1238",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3693
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3694
            "startPosition": "1232"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3695
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3696
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3697
        "startPosition": "1230"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3698
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3699
      "finallyBlock": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3700
        "endPosition": "1283",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3701
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3702
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3703
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3704
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3705
              "endPosition": "1281",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3706
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3707
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3708
                "endPosition": "1279",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3709
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3710
                "name": "clean",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3711
                "startPosition": "1274"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3712
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3713
              "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3714
              "startPosition": "1274"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3715
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3716
            "endPosition": "1281",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3717
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3718
            "startPosition": "1274"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3719
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3720
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3721
        "startPosition": "1272"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3722
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3723
      "startPosition": "1226"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3724
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3725
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3726
      "endPosition": "1368",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3727
      "kind": "TRY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3728
      "catches": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3729
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3730
          "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3731
            "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3732
              "endPosition": "1312",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3733
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3734
              "name": "e",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3735
              "startPosition": "1311"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3736
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3737
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3738
              "endPosition": "1312",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3739
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3740
              "name": "e",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3741
              "startPosition": "1311"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3742
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3743
            "endPosition": "1333",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3744
            "kind": "INSTANCE_OF",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3745
            "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3746
              "endPosition": "1333",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3747
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3748
              "name": "TypeError",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3749
              "startPosition": "1324"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3750
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3751
            "type": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3752
              "endPosition": "1333",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3753
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3754
              "name": "TypeError",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3755
              "startPosition": "1324"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3756
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3757
            "startPosition": "1311"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3758
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3759
          "endPosition": "1347",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3760
          "kind": "CATCH",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3761
          "parameter": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3762
            "endPosition": "1307",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3763
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3764
            "name": "e",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3765
            "startPosition": "1306"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3766
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3767
          "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3768
            "endPosition": "1347",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3769
            "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3770
            "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3771
              {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3772
                "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3773
                  "endPosition": "1345",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3774
                  "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3775
                  "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3776
                    "endPosition": "1343",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3777
                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3778
                    "name": "handle",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3779
                    "startPosition": "1337"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3780
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3781
                  "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3782
                  "startPosition": "1337"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3783
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3784
                "endPosition": "1345",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3785
                "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3786
                "startPosition": "1337"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3787
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3788
            ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3789
            "startPosition": "1335"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3790
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3791
          "startPosition": "1299"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3792
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3793
        {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3794
          "endPosition": "1368",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3795
          "kind": "CATCH",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3796
          "parameter": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3797
            "endPosition": "1356",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3798
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3799
            "name": "e",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3800
            "startPosition": "1355"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3801
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3802
          "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3803
            "endPosition": "1368",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3804
            "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3805
            "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3806
              {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3807
                "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3808
                  "endPosition": "1366",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3809
                  "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3810
                  "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3811
                    "endPosition": "1364",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3812
                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3813
                    "name": "rest",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3814
                    "startPosition": "1360"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3815
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3816
                  "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3817
                  "startPosition": "1360"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3818
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3819
                "endPosition": "1366",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3820
                "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3821
                "startPosition": "1360"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3822
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3823
            ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3824
            "startPosition": "1358"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3825
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3826
          "startPosition": "1348"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3827
        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3828
      ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3829
      "block": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3830
        "endPosition": "1298",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3831
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3832
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3833
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3834
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3835
              "endPosition": "1296",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3836
              "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3837
              "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3838
                "endPosition": "1294",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3839
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3840
                "name": "that",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3841
                "startPosition": "1290"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3842
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3843
              "arguments": [],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3844
              "startPosition": "1290"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3845
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3846
            "endPosition": "1296",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3847
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3848
            "startPosition": "1290"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3849
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3850
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3851
        "startPosition": "1288"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3852
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3853
      "startPosition": "1284"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3854
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3855
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3856
  "sourceName": "parsertests/tryCatchStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3857
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3858
  "startPosition": "1121"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3859
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  3860
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3861
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3862
  "endPosition": "1115",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3863
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3864
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3865
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3866
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3867
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3868
          "endPosition": "1116",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3869
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3870
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3871
          "startPosition": "1115"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3872
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3873
        "endPosition": "1118",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3874
        "kind": "POSTFIX_INCREMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3875
        "startPosition": "1115"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3876
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3877
      "endPosition": "1118",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3878
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3879
      "startPosition": "1115"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3880
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3881
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3882
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3883
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3884
          "endPosition": "1121",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3885
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3886
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3887
          "startPosition": "1120"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3888
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3889
        "endPosition": "1123",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3890
        "kind": "POSTFIX_DECREMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3891
        "startPosition": "1120"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3892
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3893
      "endPosition": "1123",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3894
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3895
      "startPosition": "1120"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3896
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3897
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3898
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3899
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3900
          "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3901
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3902
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3903
          "startPosition": "1132"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3904
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3905
        "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3906
        "kind": "DELETE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3907
        "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3908
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3909
      "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3910
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3911
      "startPosition": "1125"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3912
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3913
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3914
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3915
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3916
          "endPosition": "1141",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3917
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3918
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3919
          "startPosition": "1140"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3920
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3921
        "endPosition": "1141",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3922
        "kind": "VOID",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3923
        "startPosition": "1135"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3924
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3925
      "endPosition": "1141",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3926
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3927
      "startPosition": "1135"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3928
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3929
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3930
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3931
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3932
          "endPosition": "1151",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3933
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3934
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3935
          "startPosition": "1150"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3936
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3937
        "endPosition": "1151",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3938
        "kind": "TYPEOF",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3939
        "startPosition": "1143"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3940
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3941
      "endPosition": "1151",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3942
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3943
      "startPosition": "1143"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3944
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3945
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3946
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3947
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3948
          "endPosition": "1156",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3949
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3950
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3951
          "startPosition": "1155"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3952
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3953
        "endPosition": "1156",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3954
        "kind": "PREFIX_INCREMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3955
        "startPosition": "1153"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3956
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3957
      "endPosition": "1156",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3958
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3959
      "startPosition": "1153"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3960
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3961
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3962
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3963
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3964
          "endPosition": "1161",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3965
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3966
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3967
          "startPosition": "1160"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3968
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3969
        "endPosition": "1161",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3970
        "kind": "PREFIX_DECREMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3971
        "startPosition": "1158"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3972
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3973
      "endPosition": "1161",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3974
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3975
      "startPosition": "1158"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3976
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3977
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3978
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3979
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3980
          "endPosition": "1165",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3981
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3982
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3983
          "startPosition": "1164"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3984
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3985
        "endPosition": "1165",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3986
        "kind": "PLUS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3987
        "startPosition": "1163"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3988
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3989
      "endPosition": "1165",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3990
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3991
      "startPosition": "1163"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3992
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3993
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3994
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3995
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3996
          "endPosition": "1169",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3997
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3998
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  3999
          "startPosition": "1168"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4000
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4001
        "endPosition": "1169",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4002
        "kind": "MINUS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4003
        "startPosition": "1167"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4004
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4005
      "endPosition": "1169",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4006
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4007
      "startPosition": "1167"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4008
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4009
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4010
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4011
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4012
          "endPosition": "1173",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4013
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4014
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4015
          "startPosition": "1172"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4016
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4017
        "endPosition": "1173",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4018
        "kind": "BITWISE_COMPLEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4019
        "startPosition": "1171"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4020
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4021
      "endPosition": "1173",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4022
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4023
      "startPosition": "1171"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4024
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4025
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4026
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4027
        "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4028
          "endPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4029
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4030
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4031
          "startPosition": "1176"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4032
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4033
        "endPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4034
        "kind": "LOGICAL_COMPLEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4035
        "startPosition": "1175"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4036
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4037
      "endPosition": "1177",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4038
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4039
      "startPosition": "1175"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4040
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4041
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4042
  "sourceName": "parsertests/unaryExpr.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4043
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4044
  "startPosition": "1115"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4045
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4046
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4047
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4048
  "endPosition": "1122",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4049
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4050
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4051
    {
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4052
      "expression": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4053
        "endPosition": "1133",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4054
        "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4055
        "value": "use strict",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4056
        "startPosition": "1123"
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4057
      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4058
      "endPosition": "1133",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4059
      "kind": "EXPRESSION_STATEMENT",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4060
      "startPosition": "1123"
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4061
    },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  4062
    {
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4063
      "endPosition": "1165",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4064
      "kind": "FUNCTION",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4065
      "name": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4066
        "endPosition": "1146",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4067
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4068
        "name": "f",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4069
        "startPosition": "1145"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4070
      },
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4071
      "body": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4072
        "endPosition": "1162",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4073
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4074
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4075
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4076
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4077
              "endPosition": "1162",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4078
              "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4079
              "value": "use strict",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4080
              "startPosition": "1152"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4081
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4082
            "endPosition": "1162",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4083
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4084
            "startPosition": "1152"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4085
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4086
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4087
        "startPosition": "1149"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4088
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4089
      "strict": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4090
      "startPosition": "1136",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4091
      "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4092
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4093
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4094
  "sourceName": "parsertests/useStrict.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4095
  "strict": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4096
  "startPosition": "1122"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4097
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4098
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4099
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4100
  "endPosition": "1143",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4101
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4102
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4103
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4104
      "endPosition": "1148",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4105
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4106
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4107
        "endPosition": "1148",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4108
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4109
        "name": "a",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4110
        "startPosition": "1147"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4111
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4112
      "startPosition": "1143"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4113
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4114
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4115
      "endPosition": "1155",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4116
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4117
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4118
        "endPosition": "1155",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4119
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4120
        "name": "a",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4121
        "startPosition": "1154"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4122
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4123
      "startPosition": "1150"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4124
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4125
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4126
      "endPosition": "1158",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4127
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4128
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4129
        "endPosition": "1158",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4130
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4131
        "name": "b",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4132
        "startPosition": "1157"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4133
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4134
      "startPosition": "1150"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4135
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4136
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4137
      "endPosition": "1200",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4138
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4139
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4140
        "endPosition": "1191",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4141
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4142
        "name": "a",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4143
        "startPosition": "1190"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4144
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4145
      "startPosition": "1186",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4146
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4147
        "endPosition": "1200",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4148
        "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4149
        "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4150
        "startPosition": "1195"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4151
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4152
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4153
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4154
      "endPosition": "1212",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4155
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4156
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4157
        "endPosition": "1208",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4158
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4159
        "name": "a",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4160
        "startPosition": "1207"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4161
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4162
      "startPosition": "1203",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4163
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4164
        "endPosition": "1212",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4165
        "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4166
        "value": "1",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4167
        "startPosition": "1211"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4168
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4169
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4170
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4171
      "endPosition": "1219",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4172
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4173
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4174
        "endPosition": "1215",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4175
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4176
        "name": "b",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4177
        "startPosition": "1214"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4178
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4179
      "startPosition": "1203",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4180
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4181
        "endPosition": "1219",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4182
        "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4183
        "value": "2",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4184
        "startPosition": "1218"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4185
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4186
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4187
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4188
      "endPosition": "1226",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4189
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4190
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4191
        "endPosition": "1222",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4192
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4193
        "name": "c",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4194
        "startPosition": "1221"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4195
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4196
      "startPosition": "1203",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4197
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4198
        "endPosition": "1226",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4199
        "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4200
        "value": "3",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4201
        "startPosition": "1225"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4202
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4203
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4204
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4205
  "sourceName": "parsertests/varDecl.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4206
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4207
  "startPosition": "1143"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4208
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4209
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4210
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4211
  "endPosition": "1111",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4212
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4213
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4214
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4215
      "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4216
      "kind": "WITH",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4217
      "scope": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4218
        "endPosition": "1122",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4219
        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4220
        "name": "scope",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4221
        "startPosition": "1117"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4222
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4223
      "statement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4224
        "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4225
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4226
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4227
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4228
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4229
              "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4230
                "endPosition": "1131",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4231
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4232
                "name": "y",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4233
                "startPosition": "1130"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4234
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4235
              "endPosition": "1131",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4236
              "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4237
              "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4238
                "endPosition": "1127",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4239
                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4240
                "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4241
                "startPosition": "1126"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4242
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4243
              "startPosition": "1126"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4244
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4245
            "endPosition": "1131",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4246
            "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4247
            "startPosition": "1126"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4248
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4249
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4250
        "startPosition": "1124"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4251
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4252
      "startPosition": "1111"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4253
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4254
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4255
  "sourceName": "parsertests/withStat.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4256
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4257
  "startPosition": "1111"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4258
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4259
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4260
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4261
  "fileName": "parsernegativetests/caseoutofswitch.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4262
  "code": "case (1090, 4)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4263
  "columnNumber": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4264
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4265
  "position": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4266
  "message": "parsernegativetests/caseoutofswitch.js:29:0 Expected an operand but found case\ncase 23:\n^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4267
  "lineNumber": "29"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4268
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4269
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4270
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4271
  "fileName": "parsernegativetests/caseoutofswitch.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4272
  "code": "default (1112, 7)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4273
  "columnNumber": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4274
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4275
  "position": "1112",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4276
  "message": "parsernegativetests/caseoutofswitch.js:31:0 Expected an operand but found default\ndefault:\n^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4277
  "lineNumber": "31"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4278
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4279
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4280
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4281
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4282
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4283
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4284
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4285
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4286
        "endPosition": "1098",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4287
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4288
        "startPosition": "1090"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4289
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4290
      "endPosition": "1098",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4291
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4292
      "startPosition": "1090"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4293
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4294
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4295
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4296
        "endPosition": "1110",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4297
        "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4298
        "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4299
          "endPosition": "1104",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4300
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4301
          "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4302
          "startPosition": "1099"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4303
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4304
        "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4305
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4306
            "endPosition": "1108",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4307
            "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4308
            "value": "23",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4309
            "startPosition": "1106"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4310
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4311
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4312
        "startPosition": "1099"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4313
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4314
      "endPosition": "1110",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4315
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4316
      "startPosition": "1099"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4317
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4318
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4319
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4320
        "endPosition": "1120",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4321
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4322
        "startPosition": "1112"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4323
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4324
      "endPosition": "1120",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4325
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4326
      "startPosition": "1112"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4327
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4328
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4329
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4330
        "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4331
        "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4332
        "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4333
          "endPosition": "1126",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4334
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4335
          "name": "print",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4336
          "startPosition": "1121"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4337
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4338
        "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4339
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4340
            "endPosition": "1133",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4341
            "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4342
            "value": "hello",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4343
            "startPosition": "1128"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4344
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4345
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4346
        "startPosition": "1121"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4347
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4348
      "endPosition": "1135",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4349
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4350
      "startPosition": "1121"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4351
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4352
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4353
  "sourceName": "parsernegativetests/caseoutofswitch.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4354
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4355
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4356
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4357
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4358
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4359
  "fileName": "parsernegativetests/illegalbreak.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4360
  "code": "break (1090, 5)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4361
  "columnNumber": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4362
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4363
  "position": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4364
  "message": "parsernegativetests/illegalbreak.js:29:0 Illegal break statement\nbreak;\n^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4365
  "lineNumber": "29"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4366
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4367
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4368
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4369
  "fileName": "parsernegativetests/illegalbreak.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4370
  "code": "ident (1103, 3)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4371
  "columnNumber": "6",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4372
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4373
  "position": "1103",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4374
  "message": "parsernegativetests/illegalbreak.js:30:6 Undefined Label \"foo\"\nbreak foo;\n      ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4375
  "lineNumber": "30"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4376
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4377
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4378
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4379
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4380
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4381
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4382
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4383
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4384
        "endPosition": "1096",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4385
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4386
        "startPosition": "1095"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4387
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4388
      "endPosition": "1096",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4389
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4390
      "startPosition": "1095"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4391
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4392
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4393
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4394
        "endPosition": "1107",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4395
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4396
        "startPosition": "1106"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4397
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4398
      "endPosition": "1107",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4399
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4400
      "startPosition": "1106"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4401
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4402
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4403
  "sourceName": "parsernegativetests/illegalbreak.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4404
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4405
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4406
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4407
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4408
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4409
  "fileName": "parsernegativetests/illegalcontinue.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4410
  "code": "continue (1090, 8)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4411
  "columnNumber": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4412
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4413
  "position": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4414
  "message": "parsernegativetests/illegalcontinue.js:29:0 Illegal continue statement\ncontinue;\n^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4415
  "lineNumber": "29"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4416
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4417
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4418
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4419
  "fileName": "parsernegativetests/illegalcontinue.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4420
  "code": "ident (1109, 3)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4421
  "columnNumber": "9",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4422
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4423
  "position": "1109",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4424
  "message": "parsernegativetests/illegalcontinue.js:30:9 Undefined Label \"foo\"\ncontinue foo;\n         ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4425
  "lineNumber": "30"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4426
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4427
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4428
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4429
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4430
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4431
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4432
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4433
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4434
        "endPosition": "1099",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4435
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4436
        "startPosition": "1098"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4437
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4438
      "endPosition": "1099",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4439
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4440
      "startPosition": "1098"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4441
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4442
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4443
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4444
        "endPosition": "1113",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4445
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4446
        "startPosition": "1112"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4447
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4448
      "endPosition": "1113",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4449
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4450
      "startPosition": "1112"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4451
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4452
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4453
  "sourceName": "parsernegativetests/illegalcontinue.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4454
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4455
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4456
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4457
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4458
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4459
  "fileName": "parsernegativetests/illegallvalue.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4460
  "code": "decimal (1090, 2)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4461
  "columnNumber": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4462
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4463
  "position": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4464
  "message": "parsernegativetests/illegallvalue.js:29:0 Invalid left hand side for assignment\n44 = 54;\n^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4465
  "lineNumber": "29"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4466
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4467
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4468
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4469
  "fileName": "parsernegativetests/illegallvalue.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4470
  "code": "decimal (1099, 3)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4471
  "columnNumber": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4472
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4473
  "position": "1099",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4474
  "message": "parsernegativetests/illegallvalue.js:30:0 Invalid left hand side for assignment\n233 += 33;\n^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4475
  "lineNumber": "30"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4476
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4477
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4478
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4479
  "fileName": "parsernegativetests/illegallvalue.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4480
  "code": "decimal (1110, 4)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4481
  "columnNumber": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4482
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4483
  "position": "1110",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4484
  "message": "parsernegativetests/illegallvalue.js:31:0 Invalid left hand side for assignment\n3423 -= 234;\n^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4485
  "lineNumber": "31"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4486
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4487
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4488
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4489
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4490
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4491
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4492
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4493
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4494
        "endPosition": "1098",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4495
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4496
        "startPosition": "1097"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4497
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4498
      "endPosition": "1098",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4499
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4500
      "startPosition": "1097"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4501
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4502
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4503
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4504
        "endPosition": "1109",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4505
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4506
        "startPosition": "1108"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4507
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4508
      "endPosition": "1109",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4509
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4510
      "startPosition": "1108"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4511
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4512
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4513
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4514
        "endPosition": "1122",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4515
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4516
        "startPosition": "1121"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4517
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4518
      "endPosition": "1122",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4519
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4520
      "startPosition": "1121"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4521
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4522
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4523
  "sourceName": "parsernegativetests/illegallvalue.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4524
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4525
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4526
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4527
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4528
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4529
  "fileName": "parsernegativetests/illegaloperator.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4530
  "code": "* (1093, 1)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4531
  "columnNumber": "3",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4532
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4533
  "position": "1093",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4534
  "message": "parsernegativetests/illegaloperator.js:29:3 Expected an operand but found *\nx ** y\n   ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4535
  "lineNumber": "29"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4536
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4537
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4538
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4539
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4540
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4541
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4542
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4543
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4544
        "endPosition": "1096",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4545
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4546
        "startPosition": "1093"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4547
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4548
      "endPosition": "1096",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4549
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4550
      "startPosition": "1093"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4551
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4552
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4553
  "sourceName": "parsernegativetests/illegaloperator.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4554
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4555
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4556
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4557
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4558
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4559
  "fileName": "parsernegativetests/keywordident.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4560
  "code": "var (1094, 3)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4561
  "columnNumber": "4",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4562
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4563
  "position": "1094",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4564
  "message": "parsernegativetests/keywordident.js:29:4 Expected ident but found var\nvar var = 23;\n    ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4565
  "lineNumber": "29"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4566
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4567
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4568
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4569
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4570
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4571
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4572
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4573
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4574
        "endPosition": "1103",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4575
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4576
        "startPosition": "1094"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4577
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4578
      "endPosition": "1103",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4579
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4580
      "startPosition": "1094"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4581
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4582
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4583
      "endPosition": "1115",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4584
      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4585
      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4586
        "endPosition": "1109",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4587
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4588
        "name": "x",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4589
        "startPosition": "1108"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4590
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4591
      "startPosition": "1104",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4592
      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4593
        "endPosition": "1115",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4594
        "kind": "NUMBER_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4595
        "value": "223",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4596
        "startPosition": "1112"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4597
      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4598
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4599
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4600
  "sourceName": "parsernegativetests/keywordident.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4601
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4602
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4603
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4604
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4605
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4606
  "fileName": "parsernegativetests/parenmissing.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4607
  "code": "; (1096, 1)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4608
  "columnNumber": "6",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4609
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4610
  "position": "1096",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4611
  "message": "parsernegativetests/parenmissing.js:29:6 Expected ) but found ;\n(1 + 2;\n      ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4612
  "lineNumber": "29"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4613
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4614
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4615
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4616
  "fileName": "parsernegativetests/parenmissing.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4617
  "code": ") (1103, 1)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4618
  "columnNumber": "5",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4619
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4620
  "position": "1103",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4621
  "message": "parsernegativetests/parenmissing.js:30:5 Expected ; but found )\nx * y);\n     ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4622
  "lineNumber": "30"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4623
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4624
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4625
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4626
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4627
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4628
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4629
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4630
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4631
        "endPosition": "1097",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4632
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4633
        "startPosition": "1096"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4634
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4635
      "endPosition": "1097",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4636
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4637
      "startPosition": "1096"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4638
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4639
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4640
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4641
        "leftOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4642
          "endPosition": "1099",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4643
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4644
          "name": "x",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4645
          "startPosition": "1098"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4646
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4647
        "endPosition": "1103",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4648
        "kind": "MULTIPLY",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4649
        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4650
          "endPosition": "1103",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4651
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4652
          "name": "y",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4653
          "startPosition": "1102"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4654
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4655
        "startPosition": "1098"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4656
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4657
      "endPosition": "1103",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4658
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4659
      "startPosition": "1098"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4660
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4661
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4662
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4663
        "endPosition": "1105",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4664
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4665
        "startPosition": "1103"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4666
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4667
      "endPosition": "1105",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4668
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4669
      "startPosition": "1103"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4670
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4671
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4672
  "sourceName": "parsernegativetests/parenmissing.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4673
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4674
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4675
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4676
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4677
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4678
  "fileName": "parsernegativetests/repeatedproperty.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4679
  "code": "ident (1111, 3)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4680
  "columnNumber": "21",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4681
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4682
  "position": "1111",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4683
  "message": "parsernegativetests/repeatedproperty.js:29:21 Property \"foo\" already defined\nvar obj = { foo: 34, get foo() { return 'hello' } };\n                     ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4684
  "lineNumber": "29"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4685
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4686
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4687
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4688
  "fileName": "parsernegativetests/repeatedproperty.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4689
  "code": "ident (1165, 3)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4690
  "columnNumber": "22",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4691
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4692
  "position": "1165",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4693
  "message": "parsernegativetests/repeatedproperty.js:30:22 Property \"foo\" already defined\nvar obj1 = { foo: 34, set foo(x) { } };\n                      ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4694
  "lineNumber": "30"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4695
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4696
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4697
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4698
  "fileName": "parsernegativetests/repeatedproperty.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4699
  "code": "ident (1205, 3)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4700
  "columnNumber": "22",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4701
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4702
  "position": "1205",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4703
  "message": "parsernegativetests/repeatedproperty.js:31:22 Property \"foo\" already defined\nvar obj2 = { foo: 34, set foo(x) { } };\n                      ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4704
  "lineNumber": "31"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4705
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4706
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4707
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4708
  "fileName": "parsernegativetests/repeatedproperty.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4709
  "code": "ident (1251, 3)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4710
  "columnNumber": "28",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4711
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4712
  "position": "1251",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4713
  "message": "parsernegativetests/repeatedproperty.js:32:28 Property \"bar\" already defined\nvar obj3 = { get bar() { }, get bar() {} };\n                            ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4714
  "lineNumber": "32"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4715
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4716
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4717
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4718
  "fileName": "parsernegativetests/repeatedproperty.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4719
  "code": "ident (1296, 3)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4720
  "columnNumber": "29",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4721
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4722
  "position": "1296",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4723
  "message": "parsernegativetests/repeatedproperty.js:33:29 Property \"bar\" already defined\nvar obj4 = { set bar(x) { }, set bar(x) {} };\n                             ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4724
  "lineNumber": "33"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4725
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4726
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4727
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4728
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4729
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4730
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4731
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4732
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4733
        "endPosition": "1141",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4734
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4735
        "startPosition": "1140"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4736
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4737
      "endPosition": "1141",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4738
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4739
      "startPosition": "1140"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4740
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4741
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4742
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4743
        "endPosition": "1181",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4744
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4745
        "startPosition": "1180"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4746
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4747
      "endPosition": "1181",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4748
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4749
      "startPosition": "1180"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4750
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4751
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4752
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4753
        "endPosition": "1221",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4754
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4755
        "startPosition": "1220"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4756
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4757
      "endPosition": "1221",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4758
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4759
      "startPosition": "1220"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4760
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4761
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4762
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4763
        "endPosition": "1265",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4764
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4765
        "startPosition": "1264"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4766
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4767
      "endPosition": "1265",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4768
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4769
      "startPosition": "1264"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4770
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4771
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4772
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4773
        "endPosition": "1311",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4774
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4775
        "startPosition": "1310"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4776
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4777
      "endPosition": "1311",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4778
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4779
      "startPosition": "1310"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4780
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4781
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4782
  "sourceName": "parsernegativetests/repeatedproperty.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4783
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4784
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4785
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4786
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4787
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4788
  "fileName": "parsernegativetests/strict_repeatedproperty.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4789
  "code": "ident (1126, 3)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4790
  "columnNumber": "21",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4791
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4792
  "position": "1126",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4793
  "message": "parsernegativetests/strict_repeatedproperty.js:31:21 Property \"foo\" already defined\nvar obj = { foo: 34, foo: 'hello' };\n                     ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4794
  "lineNumber": "31"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4795
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4796
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4797
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4798
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4799
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4800
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4801
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4802
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4803
        "endPosition": "1101",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4804
        "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4805
        "value": "use strict",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4806
        "startPosition": "1091"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4807
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4808
      "endPosition": "1101",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4809
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4810
      "startPosition": "1091"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4811
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4812
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4813
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4814
        "endPosition": "1140",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4815
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4816
        "startPosition": "1139"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4817
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4818
      "endPosition": "1140",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4819
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4820
      "startPosition": "1139"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4821
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4822
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4823
  "sourceName": "parsernegativetests/strict_repeatedproperty.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4824
  "strict": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4825
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4826
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4827
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4828
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4829
  "fileName": "parsernegativetests/strict_repeatparam.js",
37732
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
  4830
  "code": "ident (1122, 1)",
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
  4831
  "columnNumber": "17",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4832
  "kind": "ERROR",
37732
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
  4833
  "position": "1122",
3673fec68d16 8134503: support ES6 parsing in Nashorn
hannesw
parents: 34974
diff changeset
  4834
  "message": "parsernegativetests/strict_repeatparam.js:31:17 strict mode function cannot have duplicate parameter name \"x\"\nfunction func(x, x) {}\n                 ^",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4835
  "lineNumber": "31"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4836
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4837
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4838
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4839
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4840
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4841
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4842
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4843
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4844
        "endPosition": "1101",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4845
        "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4846
        "value": "use strict",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4847
        "startPosition": "1091"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4848
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4849
      "endPosition": "1101",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4850
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4851
      "startPosition": "1091"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4852
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4853
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4854
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4855
        "endPosition": "1127",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4856
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4857
        "startPosition": "1128"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4858
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4859
      "endPosition": "1127",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4860
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4861
      "startPosition": "1128"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4862
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4863
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4864
  "sourceName": "parsernegativetests/strict_repeatparam.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4865
  "strict": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4866
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4867
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4868
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4869
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4870
  "fileName": "parsernegativetests/strict_with.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4871
  "code": "with (1105, 4)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4872
  "columnNumber": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4873
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4874
  "position": "1105",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4875
  "message": "parsernegativetests/strict_with.js:31:0 \"with\" statement cannot be used in strict mode\nwith({}) {}\n^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4876
  "lineNumber": "31"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4877
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4878
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4879
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4880
  "fileName": "parsernegativetests/strict_with.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4881
  "code": ") (1112, 1)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4882
  "columnNumber": "7",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4883
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4884
  "position": "1112",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4885
  "message": "parsernegativetests/strict_with.js:31:7 Expected ; but found )\nwith({}) {}\n       ^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4886
  "lineNumber": "31"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4887
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4888
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4889
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4890
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4891
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4892
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4893
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4894
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4895
        "endPosition": "1101",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4896
        "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4897
        "value": "use strict",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4898
        "startPosition": "1091"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4899
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4900
      "endPosition": "1101",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4901
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4902
      "startPosition": "1091"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4903
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4904
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4905
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4906
        "endPosition": "1112",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4907
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4908
        "startPosition": "1109"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4909
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4910
      "endPosition": "1112",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4911
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4912
      "startPosition": "1109"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4913
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4914
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4915
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4916
        "endPosition": "1116",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4917
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4918
        "startPosition": "1112"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4919
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4920
      "endPosition": "1116",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4921
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4922
      "startPosition": "1112"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4923
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4924
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4925
  "sourceName": "parsernegativetests/strict_with.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4926
  "strict": "true",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4927
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4928
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4929
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4930
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4931
  "fileName": "parsernegativetests/toplevelreturn.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4932
  "code": "return (1090, 6)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4933
  "columnNumber": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4934
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4935
  "position": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4936
  "message": "parsernegativetests/toplevelreturn.js:29:0 Invalid return statement\nreturn;\n^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4937
  "lineNumber": "29"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4938
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4939
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4940
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4941
  "fileName": "parsernegativetests/toplevelreturn.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4942
  "code": "return (1098, 6)",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4943
  "columnNumber": "0",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4944
  "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4945
  "position": "1098",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4946
  "message": "parsernegativetests/toplevelreturn.js:30:0 Invalid return statement\nreturn 23;\n^",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4947
  "lineNumber": "30"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4948
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4949
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4950
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4951
  "endPosition": "1090",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4952
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4953
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4954
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4955
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4956
        "endPosition": "1097",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4957
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4958
        "startPosition": "1090"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4959
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4960
      "endPosition": "1097",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4961
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4962
      "startPosition": "1090"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4963
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4964
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4965
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4966
        "endPosition": "1108",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4967
        "kind": "ERROR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4968
        "startPosition": "1098"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4969
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4970
      "endPosition": "1108",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4971
      "kind": "EXPRESSION_STATEMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4972
      "startPosition": "1098"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4973
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4974
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4975
  "sourceName": "parsernegativetests/toplevelreturn.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4976
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4977
  "startPosition": "1090"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4978
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4979
,
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4980
{
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4981
  "endPosition": "1136",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4982
  "kind": "COMPILATION_UNIT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4983
  "sourceElements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4984
    {
37924
a78497edf9fb 8156714: Parsing issue with automatic semicolon insertion
hannesw
parents: 37732
diff changeset
  4985
      "endPosition": "1222",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4986
      "kind": "FUNCTION",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4987
      "name": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4988
        "endPosition": "1151",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4989
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4990
        "name": "Parser",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4991
        "startPosition": "1145"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  4992
      },
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4993
      "body": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  4994
        "endPosition": "1220",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4995
        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4996
        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4997
          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4998
            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  4999
              "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5000
                "endPosition": "1219",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5001
                "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5002
                "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5003
                  "identifier": "create",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5004
                  "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5005
                    "endPosition": "1210",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5006
                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5007
                    "name": "Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5008
                    "startPosition": "1204"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5009
                  },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5010
                  "endPosition": "1217",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5011
                  "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5012
                  "startPosition": "1204"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5013
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5014
                "arguments": [],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5015
                "startPosition": "1204"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5016
              },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5017
              "endPosition": "1219",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5018
              "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5019
              "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5020
                "identifier": "_parser",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5021
                "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5022
                  "endPosition": "1193",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5023
                  "kind": "IDENTIFIER",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5024
                  "this": "true",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5025
                  "name": "this",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5026
                  "startPosition": "1189"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5027
                },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5028
                "endPosition": "1201",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5029
                "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5030
                "startPosition": "1189"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5031
              },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5032
              "startPosition": "1189"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5033
            },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5034
            "endPosition": "1219",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5035
            "kind": "EXPRESSION_STATEMENT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5036
            "startPosition": "1189"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5037
          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5038
        ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5039
        "startPosition": "1154"
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5040
      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5041
      "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5042
      "startPosition": "1136",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5043
      "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5044
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5045
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5046
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5047
        "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5048
          "endPosition": "1307",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5049
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5050
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5051
            "identifier": "type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5052
            "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5053
              "endPosition": "1267",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5054
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5055
              "name": "Java",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5056
              "startPosition": "1263"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5057
            },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5058
            "endPosition": "1272",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5059
            "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5060
            "startPosition": "1263"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5061
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5062
          "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5063
            {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5064
              "endPosition": "1305",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5065
              "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5066
              "value": "jdk.nashorn.api.tree.Diagnostic",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5067
              "startPosition": "1274"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5068
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5069
          ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5070
          "startPosition": "1263"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5071
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5072
        "endPosition": "1307",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5073
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5074
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5075
          "identifier": "Diagnostic",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5076
          "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5077
            "endPosition": "1249",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5078
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5079
            "name": "Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5080
            "startPosition": "1243"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5081
          },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5082
          "endPosition": "1260",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5083
          "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5084
          "startPosition": "1243"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5085
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5086
        "startPosition": "1243"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5087
      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5088
      "endPosition": "1307",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5089
      "kind": "EXPRESSION_STATEMENT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5090
      "startPosition": "1243"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5091
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5092
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5093
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5094
        "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5095
          "endPosition": "1392",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5096
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5097
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5098
            "identifier": "type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5099
            "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5100
              "endPosition": "1340",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5101
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5102
              "name": "Java",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5103
              "startPosition": "1336"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5104
            },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5105
            "endPosition": "1345",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5106
            "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5107
            "startPosition": "1336"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5108
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5109
          "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5110
            {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5111
              "endPosition": "1390",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5112
              "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5113
              "value": "jdk.nashorn.api.tree.SimpleTreeVisitorES5_1",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5114
              "startPosition": "1347"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5115
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5116
          ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5117
          "startPosition": "1336"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5118
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5119
        "endPosition": "1392",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5120
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5121
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5122
          "identifier": "SimpleTreeVisitor",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5123
          "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5124
            "endPosition": "1315",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5125
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5126
            "name": "Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5127
            "startPosition": "1309"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5128
          },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5129
          "endPosition": "1333",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5130
          "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5131
          "startPosition": "1309"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5132
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5133
        "startPosition": "1309"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5134
      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5135
      "endPosition": "1392",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5136
      "kind": "EXPRESSION_STATEMENT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5137
      "startPosition": "1309"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5138
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5139
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5140
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5141
        "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5142
          "endPosition": "1446",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5143
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5144
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5145
            "identifier": "type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5146
            "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5147
              "endPosition": "1412",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5148
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5149
              "name": "Java",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5150
              "startPosition": "1408"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5151
            },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5152
            "endPosition": "1417",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5153
            "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5154
            "startPosition": "1408"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5155
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5156
          "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5157
            {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5158
              "endPosition": "1444",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5159
              "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5160
              "value": "jdk.nashorn.api.tree.Tree",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5161
              "startPosition": "1419"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5162
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5163
          ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5164
          "startPosition": "1408"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5165
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5166
        "endPosition": "1446",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5167
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5168
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5169
          "identifier": "Tree",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5170
          "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5171
            "endPosition": "1400",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5172
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5173
            "name": "Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5174
            "startPosition": "1394"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5175
          },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5176
          "endPosition": "1405",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5177
          "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5178
          "startPosition": "1394"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5179
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5180
        "startPosition": "1394"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5181
      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5182
      "endPosition": "1446",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5183
      "kind": "EXPRESSION_STATEMENT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5184
      "startPosition": "1394"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5185
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5186
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5187
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5188
        "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5189
          "endPosition": "1489",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5190
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5191
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5192
            "identifier": "type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5193
            "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5194
              "endPosition": "1466",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5195
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5196
              "name": "Java",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5197
              "startPosition": "1462"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5198
            },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5199
            "endPosition": "1471",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5200
            "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5201
            "startPosition": "1462"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5202
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5203
          "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5204
            {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5205
              "endPosition": "1487",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5206
              "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5207
              "value": "java.util.List",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5208
              "startPosition": "1473"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5209
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5210
          ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5211
          "startPosition": "1462"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5212
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5213
        "endPosition": "1489",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5214
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5215
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5216
          "identifier": "List",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5217
          "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5218
            "endPosition": "1454",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5219
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5220
            "name": "Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5221
            "startPosition": "1448"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5222
          },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5223
          "endPosition": "1459",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5224
          "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5225
          "startPosition": "1448"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5226
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5227
        "startPosition": "1448"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5228
      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5229
      "endPosition": "1489",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5230
      "kind": "EXPRESSION_STATEMENT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5231
      "startPosition": "1448"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5232
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5233
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5234
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5235
        "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5236
          "endPosition": "1532",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5237
          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5238
          "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5239
            "identifier": "type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5240
            "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5241
              "endPosition": "1509",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5242
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5243
              "name": "Java",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5244
              "startPosition": "1505"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5245
            },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5246
            "endPosition": "1514",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5247
            "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5248
            "startPosition": "1505"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5249
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5250
          "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5251
            {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5252
              "endPosition": "1530",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5253
              "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5254
              "value": "java.lang.Enum",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5255
              "startPosition": "1516"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5256
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5257
          ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5258
          "startPosition": "1505"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5259
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5260
        "endPosition": "1532",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5261
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5262
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5263
          "identifier": "Enum",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5264
          "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5265
            "endPosition": "1497",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5266
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5267
            "name": "Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5268
            "startPosition": "1491"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5269
          },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5270
          "endPosition": "1502",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5271
          "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5272
          "startPosition": "1491"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5273
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5274
        "startPosition": "1491"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5275
      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5276
      "endPosition": "1532",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5277
      "kind": "EXPRESSION_STATEMENT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5278
      "startPosition": "1491"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5279
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5280
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5281
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5282
        "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5283
          "endPosition": "1659",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5284
          "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5285
          "body": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5286
            "endPosition": "1805",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5287
            "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5288
            "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5289
              {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5290
                "endPosition": "1718",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5291
                "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5292
                "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5293
                  "endPosition": "1673",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5294
                  "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5295
                  "name": "tree",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5296
                  "startPosition": "1669"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5297
                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5298
                "startPosition": "1665",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5299
                "initializer": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5300
                  "endPosition": "1718",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5301
                  "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5302
                  "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5303
                    "identifier": "parse",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5304
                    "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5305
                      "identifier": "_parser",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5306
                      "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5307
                        "endPosition": "1680",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5308
                        "kind": "IDENTIFIER",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5309
                        "this": "true",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5310
                        "name": "this",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5311
                        "startPosition": "1676"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5312
                      },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5313
                      "endPosition": "1688",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5314
                      "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5315
                      "startPosition": "1676"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5316
                    },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5317
                    "endPosition": "1694",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5318
                    "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5319
                    "startPosition": "1676"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5320
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5321
                  "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5322
                    {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5323
                      "endPosition": "1699",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5324
                      "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5325
                      "name": "name",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5326
                      "startPosition": "1695"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5327
                    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5328
                    {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5329
                      "endPosition": "1707",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5330
                      "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5331
                      "name": "script",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5332
                      "startPosition": "1701"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5333
                    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5334
                    {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5335
                      "endPosition": "1717",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5336
                      "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5337
                      "name": "listener",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5338
                      "startPosition": "1709"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5339
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5340
                  ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5341
                  "startPosition": "1676"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5342
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5343
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5344
              {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5345
                "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5346
                  "endPosition": "1773",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5347
                  "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5348
                  "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5349
                    "identifier": "accept",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5350
                    "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5351
                      "endPosition": "1728",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5352
                      "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5353
                      "name": "tree",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5354
                      "startPosition": "1724"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5355
                    },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5356
                    "endPosition": "1735",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5357
                    "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5358
                    "startPosition": "1724"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5359
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5360
                  "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5361
                    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5362
                      "constructorExpression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5363
                        "endPosition": "1766",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5364
                        "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5365
                        "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5366
                          "identifier": "SimpleTreeVisitor",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5367
                          "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5368
                            "endPosition": "1746",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5369
                            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5370
                            "name": "Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5371
                            "startPosition": "1740"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5372
                          },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5373
                          "endPosition": "1764",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5374
                          "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5375
                          "startPosition": "1740"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5376
                        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5377
                        "arguments": [],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5378
                        "startPosition": "1746"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5379
                      },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5380
                      "endPosition": "1766",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5381
                      "kind": "NEW",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5382
                      "startPosition": "1736"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5383
                    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5384
                    {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5385
                      "endPosition": "1772",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5386
                      "kind": "NULL_LITERAL",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5387
                      "startPosition": "1768"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5388
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5389
                  ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5390
                  "startPosition": "1724"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5391
                },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5392
                "endPosition": "1773",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5393
                "kind": "EXPRESSION_STATEMENT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5394
                "startPosition": "1724"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5395
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5396
              {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5397
                "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5398
                  "endPosition": "1804",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5399
                  "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5400
                  "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5401
                    "identifier": "convert",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5402
                    "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5403
                      "endPosition": "1790",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5404
                      "kind": "IDENTIFIER",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5405
                      "this": "true",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5406
                      "name": "this",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5407
                      "startPosition": "1786"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5408
                    },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5409
                    "endPosition": "1798",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5410
                    "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5411
                    "startPosition": "1786"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5412
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5413
                  "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5414
                    {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5415
                      "endPosition": "1803",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5416
                      "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5417
                      "name": "tree",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5418
                      "startPosition": "1799"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5419
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5420
                  ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5421
                  "startPosition": "1786"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5422
                },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5423
                "endPosition": "1805",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5424
                "kind": "RETURN",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5425
                "startPosition": "1779"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5426
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5427
            ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5428
            "startPosition": "1659"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5429
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5430
          "strict": "false",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5431
          "startPosition": "1659",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5432
          "parameters": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5433
            {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5434
              "endPosition": "1639",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5435
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5436
              "name": "name",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5437
              "startPosition": "1635"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5438
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5439
            {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5440
              "endPosition": "1647",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5441
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5442
              "name": "script",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5443
              "startPosition": "1641"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5444
            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5445
            {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5446
              "endPosition": "1657",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5447
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5448
              "name": "listener",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5449
              "startPosition": "1649"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5450
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5451
          ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5452
        },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5453
        "endPosition": "1659",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5454
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5455
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5456
          "identifier": "parse",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5457
          "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5458
            "identifier": "prototype",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5459
            "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5460
              "endPosition": "1607",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5461
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5462
              "name": "Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5463
              "startPosition": "1601"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5464
            },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5465
            "endPosition": "1617",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5466
            "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5467
            "startPosition": "1601"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5468
          },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5469
          "endPosition": "1623",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5470
          "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5471
          "startPosition": "1601"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5472
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5473
        "startPosition": "1601"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5474
      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5475
      "endPosition": "1807",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5476
      "kind": "EXPRESSION_STATEMENT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5477
      "startPosition": "1601"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5478
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5479
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5480
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5481
        "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5482
          "endPosition": "1836",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5483
          "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5484
          "body": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5485
            "endPosition": "1899",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5486
            "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5487
            "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5488
              {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5489
                "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5490
                  "endPosition": "1898",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5491
                  "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5492
                  "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5493
                    "identifier": "create",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5494
                    "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5495
                      "endPosition": "1889",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5496
                      "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5497
                      "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5498
                        "identifier": "type",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5499
                        "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5500
                          "endPosition": "1853",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5501
                          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5502
                          "name": "Java",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5503
                          "startPosition": "1849"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5504
                        },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5505
                        "endPosition": "1858",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5506
                        "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5507
                        "startPosition": "1849"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5508
                      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5509
                      "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5510
                        {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5511
                          "endPosition": "1887",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5512
                          "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5513
                          "value": "jdk.nashorn.api.tree.Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5514
                          "startPosition": "1860"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5515
                        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5516
                      ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5517
                      "startPosition": "1849"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5518
                    },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5519
                    "endPosition": "1896",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5520
                    "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5521
                    "startPosition": "1849"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5522
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5523
                  "arguments": [],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5524
                  "startPosition": "1896"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5525
                },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5526
                "endPosition": "1899",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5527
                "kind": "RETURN",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5528
                "startPosition": "1842"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5529
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5530
            ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5531
            "startPosition": "1836"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5532
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5533
          "strict": "false",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5534
          "startPosition": "1836",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5535
          "parameters": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5536
        },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5537
        "endPosition": "1836",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5538
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5539
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5540
          "identifier": "create",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5541
          "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5542
            "endPosition": "1815",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5543
            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5544
            "name": "Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5545
            "startPosition": "1809"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5546
          },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5547
          "endPosition": "1822",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5548
          "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5549
          "startPosition": "1809"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5550
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5551
        "startPosition": "1809"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5552
      },
37924
a78497edf9fb 8156714: Parsing issue with automatic semicolon insertion
hannesw
parents: 37732
diff changeset
  5553
      "endPosition": "1901",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5554
      "kind": "EXPRESSION_STATEMENT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5555
      "startPosition": "1809"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5556
    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5557
    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5558
      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5559
        "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5560
          "endPosition": "2016",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5561
          "kind": "FUNCTION_EXPRESSION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5562
          "body": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5563
            "endPosition": "3634",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5564
            "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5565
            "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5566
              {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5567
                "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5568
                  "leftOperand": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5569
                    "leftOperand": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5570
                      "expression": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5571
                        "endPosition": "2031",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5572
                        "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5573
                        "name": "tree",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5574
                        "startPosition": "2027"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5575
                      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5576
                      "endPosition": "2031",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5577
                      "kind": "LOGICAL_COMPLEMENT",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5578
                      "startPosition": "2026"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5579
                    },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5580
                    "endPosition": "2057",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5581
                    "kind": "CONDITIONAL_OR",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5582
                    "rightOperand": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5583
                      "leftOperand": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5584
                        "expression": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5585
                          "endPosition": "2046",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5586
                          "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5587
                          "name": "tree",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5588
                          "startPosition": "2042"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5589
                        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5590
                        "endPosition": "2046",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5591
                        "kind": "TYPEOF",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5592
                        "startPosition": "2035"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5593
                      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5594
                      "endPosition": "2057",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5595
                      "kind": "NOT_EQUAL_TO",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5596
                      "rightOperand": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5597
                        "endPosition": "2057",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5598
                        "kind": "STRING_LITERAL",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5599
                        "value": "object",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5600
                        "startPosition": "2051"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5601
                      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5602
                      "startPosition": "2035"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5603
                    },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5604
                    "startPosition": "2026"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5605
                  },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5606
                  "endPosition": "2092",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5607
                  "kind": "CONDITIONAL_OR",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5608
                  "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5609
                    "leftOperand": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5610
                      "endPosition": "2066",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5611
                      "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5612
                      "name": "tree",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5613
                      "startPosition": "2062"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5614
                    },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5615
                    "expression": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5616
                      "endPosition": "2066",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5617
                      "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5618
                      "name": "tree",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5619
                      "startPosition": "2062"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5620
                    },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5621
                    "endPosition": "2092",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5622
                    "kind": "INSTANCE_OF",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5623
                    "rightOperand": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5624
                      "identifier": "Long",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5625
                      "expression": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5626
                        "identifier": "lang",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5627
                        "expression": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5628
                          "endPosition": "2082",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5629
                          "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5630
                          "name": "java",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5631
                          "startPosition": "2078"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5632
                        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5633
                        "endPosition": "2087",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5634
                        "kind": "MEMBER_SELECT",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5635
                        "startPosition": "2078"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5636
                      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5637
                      "endPosition": "2092",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5638
                      "kind": "MEMBER_SELECT",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5639
                      "startPosition": "2078"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5640
                    },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5641
                    "type": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5642
                      "identifier": "Long",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5643
                      "expression": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5644
                        "identifier": "lang",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5645
                        "expression": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5646
                          "endPosition": "2082",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5647
                          "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5648
                          "name": "java",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5649
                          "startPosition": "2078"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5650
                        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5651
                        "endPosition": "2087",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5652
                        "kind": "MEMBER_SELECT",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5653
                        "startPosition": "2078"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5654
                      },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5655
                      "endPosition": "2092",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5656
                      "kind": "MEMBER_SELECT",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5657
                      "startPosition": "2078"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5658
                    },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5659
                    "startPosition": "2062"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5660
                  },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5661
                  "startPosition": "2026"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5662
                },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5663
                "endPosition": "2122",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5664
                "kind": "IF",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5665
                "startPosition": "2022",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5666
                "thenStatement": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5667
                  "endPosition": "2122",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5668
                  "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5669
                  "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5670
                    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5671
                      "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5672
                        "endPosition": "2115",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5673
                        "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5674
                        "name": "tree",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5675
                        "startPosition": "2111"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5676
                      },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5677
                      "endPosition": "2116",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5678
                      "kind": "RETURN",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5679
                      "startPosition": "2104"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5680
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5681
                  ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5682
                  "startPosition": "2094"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5683
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5684
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5685
              {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5686
                "endPosition": "2169",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5687
                "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5688
                "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5689
                  "endPosition": "2135",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5690
                  "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5691
                  "name": "obj",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5692
                  "startPosition": "2132"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5693
                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5694
                "startPosition": "2128",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5695
                "initializer": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5696
                  "endPosition": "2169",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5697
                  "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5698
                  "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5699
                    "identifier": "bindProperties",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5700
                    "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5701
                      "endPosition": "2144",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5702
                      "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5703
                      "name": "Object",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5704
                      "startPosition": "2138"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5705
                    },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5706
                    "endPosition": "2159",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5707
                    "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5708
                    "startPosition": "2138"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5709
                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5710
                  "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5711
                    {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5712
                      "endPosition": "2162",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5713
                      "kind": "OBJECT_LITERAL",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5714
                      "startPosition": "2160",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5715
                      "properties": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5716
                    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5717
                    {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5718
                      "endPosition": "2168",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5719
                      "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5720
                      "name": "tree",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5721
                      "startPosition": "2164"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5722
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5723
                  ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5724
                  "startPosition": "2138"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5725
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5726
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5727
              {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5728
                "endPosition": "2190",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5729
                "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5730
                "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5731
                  "endPosition": "2185",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5732
                  "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5733
                  "name": "result",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5734
                  "startPosition": "2179"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5735
                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5736
                "startPosition": "2175",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5737
                "initializer": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5738
                  "endPosition": "2190",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5739
                  "kind": "OBJECT_LITERAL",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5740
                  "startPosition": "2188",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5741
                  "properties": []
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5742
                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5743
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5744
              {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5745
                "endPosition": "2206",
29539
b2a8fb583979 8075448: nashorn parser API returns init variable tree object of a for loop after for loop statement tree object
sundar
parents: 29536
diff changeset
  5746
                "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5747
                "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5748
                  "endPosition": "2206",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5749
                  "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5750
                  "name": "i",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5751
                  "startPosition": "2205"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5752
                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5753
                "startPosition": "2201"
29539
b2a8fb583979 8075448: nashorn parser API returns init variable tree object of a for loop after for loop statement tree object
sundar
parents: 29536
diff changeset
  5754
              },
b2a8fb583979 8075448: nashorn parser API returns init variable tree object of a for loop after for loop statement tree object
sundar
parents: 29536
diff changeset
  5755
              {
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5756
                "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5757
                  "endPosition": "2213",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5758
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5759
                  "name": "obj",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5760
                  "startPosition": "2210"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5761
                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5762
                "endPosition": "3615",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5763
                "kind": "FOR_IN_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5764
                "forEach": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5765
                "variable": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5766
                  "endPosition": "2206",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5767
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5768
                  "name": "i",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5769
                  "startPosition": "2205"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5770
                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5771
                "statement": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5772
                  "endPosition": "3615",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5773
                  "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5774
                  "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5775
                    {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5776
                      "endPosition": "2241",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5777
                      "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5778
                      "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5779
                        "endPosition": "2232",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5780
                        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5781
                        "name": "val",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5782
                        "startPosition": "2229"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5783
                      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5784
                      "startPosition": "2225",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5785
                      "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5786
                        "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5787
                          "endPosition": "2238",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5788
                          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5789
                          "name": "obj",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5790
                          "startPosition": "2235"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5791
                        },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5792
                        "endPosition": "2241",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5793
                        "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5794
                        "index": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5795
                          "endPosition": "2240",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5796
                          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5797
                          "name": "i",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5798
                          "startPosition": "2239"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5799
                        },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  5800
                        "startPosition": "2235"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5801
                      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5802
                    },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5803
                    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5804
                      "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  5805
                        "leftOperand": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5806
                          "leftOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5807
                            "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5808
                              "endPosition": "2384",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5809
                              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5810
                              "name": "val",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5811
                              "startPosition": "2381"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5812
                            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5813
                            "endPosition": "2384",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5814
                            "kind": "TYPEOF",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5815
                            "startPosition": "2374"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5816
                          },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5817
                          "endPosition": "2397",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5818
                          "kind": "EQUAL_TO",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5819
                          "rightOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5820
                            "endPosition": "2397",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5821
                            "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5822
                            "value": "boolean",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5823
                            "startPosition": "2390"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5824
                          },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5825
                          "startPosition": "2374"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5826
                        },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5827
                        "endPosition": "2414",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5828
                        "kind": "CONDITIONAL_AND",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5829
                        "rightOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5830
                          "leftOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5831
                            "endPosition": "2405",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5832
                            "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5833
                            "name": "val",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5834
                            "startPosition": "2402"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5835
                          },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5836
                          "endPosition": "2414",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5837
                          "kind": "EQUAL_TO",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5838
                          "rightOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5839
                            "endPosition": "2414",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5840
                            "kind": "BOOLEAN_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5841
                            "value": "false",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5842
                            "startPosition": "2409"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5843
                          },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5844
                          "startPosition": "2402"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5845
                        },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5846
                        "startPosition": "2374"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5847
                      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5848
                      "endPosition": "2881",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5849
                      "kind": "IF",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5850
                      "startPosition": "2370",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5851
                      "thenStatement": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5852
                        "endPosition": "2881",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5853
                        "kind": "BLOCK",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5854
                        "statements": [
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5855
                          {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5856
                            "cases": [
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5857
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5858
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5859
                                  "endPosition": "2473",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5860
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5861
                                  "value": "computed",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5862
                                  "startPosition": "2465"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5863
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5864
                                "endPosition": "2475",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5865
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5866
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5867
                                "startPosition": "2459"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5868
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5869
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5870
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5871
                                  "endPosition": "2504",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5872
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5873
                                  "value": "static",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5874
                                  "startPosition": "2498"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5875
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5876
                                "endPosition": "2506",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5877
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5878
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5879
                                "startPosition": "2492"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5880
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5881
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5882
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5883
                                  "endPosition": "2542",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5884
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5885
                                  "value": "restParameter",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5886
                                  "startPosition": "2529"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5887
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5888
                                "endPosition": "2544",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5889
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5890
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5891
                                "startPosition": "2523"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5892
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5893
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5894
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5895
                                  "endPosition": "2571",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5896
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5897
                                  "value": "this",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5898
                                  "startPosition": "2567"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5899
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5900
                                "endPosition": "2573",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5901
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5902
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5903
                                "startPosition": "2561"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5904
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5905
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5906
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5907
                                  "endPosition": "2601",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5908
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5909
                                  "value": "super",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5910
                                  "startPosition": "2596"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5911
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5912
                                "endPosition": "2603",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5913
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5914
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5915
                                "startPosition": "2590"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5916
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5917
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5918
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5919
                                  "endPosition": "2630",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5920
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5921
                                  "value": "star",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5922
                                  "startPosition": "2626"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5923
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5924
                                "endPosition": "2632",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5925
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5926
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5927
                                "startPosition": "2620"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5928
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5929
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5930
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5931
                                  "endPosition": "2662",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5932
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5933
                                  "value": "default",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5934
                                  "startPosition": "2655"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5935
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5936
                                "endPosition": "2664",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5937
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5938
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5939
                                "startPosition": "2649"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5940
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5941
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5942
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5943
                                  "endPosition": "2702",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5944
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5945
                                  "value": "starDefaultStar",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5946
                                  "startPosition": "2687"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5947
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5948
                                "endPosition": "2704",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5949
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5950
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5951
                                "startPosition": "2681"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5952
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5953
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5954
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5955
                                  "endPosition": "2732",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5956
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5957
                                  "value": "arrow",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5958
                                  "startPosition": "2727"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5959
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5960
                                "endPosition": "2734",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5961
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5962
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5963
                                "startPosition": "2721"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5964
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5965
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5966
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5967
                                  "endPosition": "2766",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5968
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5969
                                  "value": "generator",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5970
                                  "startPosition": "2757"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5971
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5972
                                "endPosition": "2768",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5973
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5974
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5975
                                "startPosition": "2751"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5976
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5977
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5978
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5979
                                  "endPosition": "2794",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5980
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5981
                                  "value": "let",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5982
                                  "startPosition": "2791"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5983
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5984
                                "endPosition": "2796",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5985
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5986
                                "statements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5987
                                "startPosition": "2785"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5988
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5989
                              {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5990
                                "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5991
                                  "endPosition": "2824",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5992
                                  "kind": "STRING_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5993
                                  "value": "const",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5994
                                  "startPosition": "2819"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5995
                                },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5996
                                "endPosition": "2856",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5997
                                "kind": "CASE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5998
                                "statements": [
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  5999
                                  {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6000
                                    "endPosition": "2856",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6001
                                    "kind": "CONTINUE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6002
                                    "startPosition": "2847"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6003
                                  }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6004
                                ],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6005
                                "startPosition": "2813"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6006
                              }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6007
                            ],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6008
                            "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6009
                              "endPosition": "2439",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6010
                              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6011
                              "name": "i",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6012
                              "startPosition": "2438"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6013
                            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6014
                            "endPosition": "2871",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6015
                            "kind": "SWITCH",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6016
                            "startPosition": "2430"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6017
                          }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6018
                        ],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6019
                        "startPosition": "2416"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6020
                      }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6021
                    },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6022
                    {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6023
                      "condition": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6024
                        "leftOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6025
                          "endPosition": "2898",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6026
                          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6027
                          "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6028
                          "startPosition": "2895"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6029
                        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6030
                        "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6031
                          "endPosition": "2898",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6032
                          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6033
                          "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6034
                          "startPosition": "2895"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6035
                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6036
                        "endPosition": "2921",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6037
                        "kind": "INSTANCE_OF",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6038
                        "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6039
                          "identifier": "Tree",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6040
                          "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6041
                            "endPosition": "2916",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6042
                            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6043
                            "name": "Parser",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6044
                            "startPosition": "2910"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6045
                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6046
                          "endPosition": "2921",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6047
                          "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6048
                          "startPosition": "2910"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6049
                        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6050
                        "type": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6051
                          "identifier": "Tree",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6052
                          "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6053
                            "endPosition": "2916",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6054
                            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6055
                            "name": "Parser",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6056
                            "startPosition": "2910"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6057
                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6058
                          "endPosition": "2921",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6059
                          "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6060
                          "startPosition": "2910"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6061
                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6062
                        "startPosition": "2895"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6063
                      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6064
                      "elseStatement": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6065
                        "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6066
                          "leftOperand": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6067
                            "endPosition": "2990",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6068
                            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6069
                            "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6070
                            "startPosition": "2987"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6071
                          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6072
                          "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6073
                            "endPosition": "2990",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6074
                            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6075
                            "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6076
                            "startPosition": "2987"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6077
                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6078
                          "endPosition": "3013",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6079
                          "kind": "INSTANCE_OF",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6080
                          "rightOperand": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6081
                            "identifier": "List",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6082
                            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6083
                              "endPosition": "3008",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6084
                              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6085
                              "name": "Parser",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6086
                              "startPosition": "3002"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6087
                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6088
                            "endPosition": "3013",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6089
                            "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6090
                            "startPosition": "3002"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6091
                          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6092
                          "type": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6093
                            "identifier": "List",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6094
                            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6095
                              "endPosition": "3008",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6096
                              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6097
                              "name": "Parser",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6098
                              "startPosition": "3002"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6099
                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6100
                            "endPosition": "3013",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6101
                            "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6102
                            "startPosition": "3002"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6103
                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6104
                          "startPosition": "2987"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6105
                        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6106
                        "elseStatement": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6107
                          "endPosition": "3609",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6108
                          "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6109
                          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6110
                            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6111
                              "cases": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6112
                                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6113
                                  "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6114
                                    "endPosition": "3265",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6115
                                    "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6116
                                    "value": "number",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6117
                                    "startPosition": "3259"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6118
                                  },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6119
                                  "endPosition": "3267",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6120
                                  "kind": "CASE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6121
                                  "statements": [],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6122
                                  "startPosition": "3253"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6123
                                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6124
                                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6125
                                  "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6126
                                    "endPosition": "3296",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6127
                                    "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6128
                                    "value": "string",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6129
                                    "startPosition": "3290"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6130
                                  },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6131
                                  "endPosition": "3298",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6132
                                  "kind": "CASE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6133
                                  "statements": [],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6134
                                  "startPosition": "3284"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6135
                                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6136
                                {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6137
                                  "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6138
                                    "endPosition": "3328",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6139
                                    "kind": "STRING_LITERAL",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6140
                                    "value": "boolean",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6141
                                    "startPosition": "3321"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6142
                                  },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6143
                                  "endPosition": "3402",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6144
                                  "kind": "CASE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6145
                                  "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6146
                                    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6147
                                      "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6148
                                        "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6149
                                          "endPosition": "3374",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6150
                                          "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6151
                                          "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6152
                                            "endPosition": "3369",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6153
                                            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6154
                                            "name": "String",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6155
                                            "startPosition": "3363"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6156
                                          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6157
                                          "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6158
                                            {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6159
                                              "endPosition": "3373",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6160
                                              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6161
                                              "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6162
                                              "startPosition": "3370"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6163
                                            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6164
                                          ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6165
                                          "startPosition": "3363"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6166
                                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6167
                                        "endPosition": "3374",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6168
                                        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6169
                                        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6170
                                          "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6171
                                            "endPosition": "3357",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6172
                                            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6173
                                            "name": "result",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6174
                                            "startPosition": "3351"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6175
                                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6176
                                          "endPosition": "3360",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6177
                                          "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6178
                                          "index": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6179
                                            "endPosition": "3359",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6180
                                            "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6181
                                            "name": "i",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6182
                                            "startPosition": "3358"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6183
                                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6184
                                          "startPosition": "3351"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6185
                                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6186
                                        "startPosition": "3351"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6187
                                      },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6188
                                      "endPosition": "3374",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6189
                                      "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6190
                                      "startPosition": "3351"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6191
                                    },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6192
                                    {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6193
                                      "endPosition": "3402",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6194
                                      "kind": "BREAK",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6195
                                      "startPosition": "3396"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6196
                                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6197
                                  ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6198
                                  "startPosition": "3315"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6199
                                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6200
                                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6201
                                  "endPosition": "3585",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6202
                                  "kind": "CASE",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6203
                                  "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6204
                                    {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6205
                                      "condition": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6206
                                        "leftOperand": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6207
                                          "leftOperand": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6208
                                            "endPosition": "3455",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6209
                                            "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6210
                                            "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6211
                                            "startPosition": "3452"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6212
                                          },
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6213
                                          "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6214
                                            "endPosition": "3455",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6215
                                            "kind": "IDENTIFIER",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6216
                                            "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6217
                                            "startPosition": "3452"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6218
                                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6219
                                          "endPosition": "3481",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6220
                                          "kind": "INSTANCE_OF",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6221
                                          "rightOperand": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6222
                                            "identifier": "Long",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6223
                                            "expression": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6224
                                              "identifier": "lang",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6225
                                              "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6226
                                                "endPosition": "3471",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6227
                                                "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6228
                                                "name": "java",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6229
                                                "startPosition": "3467"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6230
                                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6231
                                              "endPosition": "3476",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6232
                                              "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6233
                                              "startPosition": "3467"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6234
                                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6235
                                            "endPosition": "3481",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6236
                                            "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6237
                                            "startPosition": "3467"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6238
                                          },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6239
                                          "type": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6240
                                            "identifier": "Long",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6241
                                            "expression": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6242
                                              "identifier": "lang",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6243
                                              "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6244
                                                "endPosition": "3471",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6245
                                                "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6246
                                                "name": "java",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6247
                                                "startPosition": "3467"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6248
                                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6249
                                              "endPosition": "3476",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6250
                                              "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6251
                                              "startPosition": "3467"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6252
                                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6253
                                            "endPosition": "3481",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6254
                                            "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6255
                                            "startPosition": "3467"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6256
                                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6257
                                          "startPosition": "3452"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6258
                                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6259
                                        "endPosition": "3511",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6260
                                        "kind": "CONDITIONAL_OR",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6261
                                        "rightOperand": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6262
                                          "leftOperand": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6263
                                            "endPosition": "3488",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6264
                                            "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6265
                                            "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6266
                                            "startPosition": "3485"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6267
                                          },
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6268
                                          "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6269
                                            "endPosition": "3488",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6270
                                            "kind": "IDENTIFIER",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6271
                                            "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6272
                                            "startPosition": "3485"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6273
                                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6274
                                          "endPosition": "3511",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6275
                                          "kind": "INSTANCE_OF",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6276
                                          "rightOperand": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6277
                                            "identifier": "Enum",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6278
                                            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6279
                                              "endPosition": "3506",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6280
                                              "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6281
                                              "name": "Parser",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6282
                                              "startPosition": "3500"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6283
                                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6284
                                            "endPosition": "3511",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6285
                                            "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6286
                                            "startPosition": "3500"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6287
                                          },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6288
                                          "type": {
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6289
                                            "identifier": "Enum",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6290
                                            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6291
                                              "endPosition": "3506",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6292
                                              "kind": "IDENTIFIER",
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6293
                                              "name": "Parser",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6294
                                              "startPosition": "3500"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6295
                                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6296
                                            "endPosition": "3511",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6297
                                            "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6298
                                            "startPosition": "3500"
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6299
                                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6300
                                          "startPosition": "3485"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6301
                                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6302
                                        "startPosition": "3452"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6303
                                      },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6304
                                      "endPosition": "3585",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6305
                                      "kind": "IF",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6306
                                      "startPosition": "3448",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6307
                                      "thenStatement": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6308
                                        "endPosition": "3585",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6309
                                        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6310
                                        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6311
                                          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6312
                                            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6313
                                              "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6314
                                                "endPosition": "3562",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6315
                                                "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6316
                                                "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6317
                                                  "endPosition": "3557",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6318
                                                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6319
                                                  "name": "String",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6320
                                                  "startPosition": "3551"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6321
                                                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6322
                                                "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6323
                                                  {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6324
                                                    "endPosition": "3561",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6325
                                                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6326
                                                    "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6327
                                                    "startPosition": "3558"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6328
                                                  }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6329
                                                ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6330
                                                "startPosition": "3551"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6331
                                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6332
                                              "endPosition": "3562",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6333
                                              "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6334
                                              "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6335
                                                "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6336
                                                  "endPosition": "3545",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6337
                                                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6338
                                                  "name": "result",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6339
                                                  "startPosition": "3539"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6340
                                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6341
                                                "endPosition": "3548",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6342
                                                "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6343
                                                "index": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6344
                                                  "endPosition": "3547",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6345
                                                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6346
                                                  "name": "i",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6347
                                                  "startPosition": "3546"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6348
                                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6349
                                                "startPosition": "3539"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6350
                                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6351
                                              "startPosition": "3539"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6352
                                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6353
                                            "endPosition": "3562",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6354
                                            "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6355
                                            "startPosition": "3539"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6356
                                          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6357
                                        ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6358
                                        "startPosition": "3513"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6359
                                      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6360
                                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6361
                                  ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6362
                                  "startPosition": "3419"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6363
                                }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6364
                              ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6365
                              "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6366
                                "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6367
                                  "endPosition": "3233",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6368
                                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6369
                                  "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6370
                                  "startPosition": "3230"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6371
                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6372
                                "endPosition": "3233",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6373
                                "kind": "TYPEOF",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6374
                                "startPosition": "3223"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6375
                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6376
                              "endPosition": "3599",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6377
                              "kind": "SWITCH",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6378
                              "startPosition": "3215"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6379
                            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6380
                          ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6381
                          "startPosition": "3201"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6382
                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6383
                        "endPosition": "3609",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6384
                        "kind": "IF",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6385
                        "startPosition": "2983",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6386
                        "thenStatement": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6387
                          "endPosition": "3195",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6388
                          "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6389
                          "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6390
                            {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6391
                              "endPosition": "3060",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6392
                              "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6393
                              "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6394
                                "endPosition": "3036",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6395
                                "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6396
                                "name": "arr",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6397
                                "startPosition": "3033"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6398
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6399
                              "startPosition": "3029",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6400
                              "initializer": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6401
                                "constructorExpression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6402
                                  "endPosition": "3060",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6403
                                  "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6404
                                  "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6405
                                    "endPosition": "3048",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6406
                                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6407
                                    "name": "Array",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6408
                                    "startPosition": "3043"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6409
                                  },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6410
                                  "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6411
                                    {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6412
                                      "endPosition": "3059",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6413
                                      "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6414
                                      "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6415
                                        "identifier": "size",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6416
                                        "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6417
                                          "endPosition": "3052",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6418
                                          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6419
                                          "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6420
                                          "startPosition": "3049"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6421
                                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6422
                                        "endPosition": "3057",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6423
                                        "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6424
                                        "startPosition": "3049"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6425
                                      },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6426
                                      "arguments": [],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6427
                                      "startPosition": "3049"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6428
                                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6429
                                  ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6430
                                  "startPosition": "3043"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6431
                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6432
                                "endPosition": "3060",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6433
                                "kind": "NEW",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6434
                                "startPosition": "3039"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6435
                              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6436
                            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6437
                            {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6438
                              "endPosition": "3084",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6439
                              "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6440
                              "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6441
                                "endPosition": "3084",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6442
                                "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6443
                                "name": "j",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6444
                                "startPosition": "3083"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6445
                              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6446
                              "startPosition": "3079"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6447
                            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6448
                            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6449
                              "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6450
                                "endPosition": "3091",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6451
                                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6452
                                "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6453
                                "startPosition": "3088"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6454
                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6455
                              "endPosition": "3155",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6456
                              "kind": "FOR_IN_LOOP",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6457
                              "forEach": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6458
                              "variable": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6459
                                "endPosition": "3084",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6460
                                "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6461
                                "name": "j",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6462
                                "startPosition": "3083"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6463
                              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6464
                              "statement": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6465
                                "endPosition": "3155",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6466
                                "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6467
                                "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6468
                                  {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6469
                                    "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6470
                                      "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6471
                                        "endPosition": "3140",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6472
                                        "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6473
                                        "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6474
                                          "identifier": "convert",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6475
                                          "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6476
                                            "endPosition": "3124",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6477
                                            "kind": "IDENTIFIER",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6478
                                            "this": "true",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6479
                                            "name": "this",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6480
                                            "startPosition": "3120"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6481
                                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6482
                                          "endPosition": "3132",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6483
                                          "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6484
                                          "startPosition": "3120"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6485
                                        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6486
                                        "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6487
                                          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6488
                                            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6489
                                              "endPosition": "3136",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6490
                                              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6491
                                              "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6492
                                              "startPosition": "3133"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6493
                                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6494
                                            "endPosition": "3139",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6495
                                            "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6496
                                            "index": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6497
                                              "endPosition": "3138",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6498
                                              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6499
                                              "name": "j",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6500
                                              "startPosition": "3137"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6501
                                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6502
                                            "startPosition": "3133"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6503
                                          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6504
                                        ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6505
                                        "startPosition": "3120"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6506
                                      },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6507
                                      "endPosition": "3140",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6508
                                      "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6509
                                      "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6510
                                        "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6511
                                          "endPosition": "3114",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6512
                                          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6513
                                          "name": "arr",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6514
                                          "startPosition": "3111"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6515
                                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6516
                                        "endPosition": "3117",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6517
                                        "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6518
                                        "index": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6519
                                          "endPosition": "3116",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6520
                                          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6521
                                          "name": "j",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6522
                                          "startPosition": "3115"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6523
                                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6524
                                        "startPosition": "3111"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6525
                                      },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6526
                                      "startPosition": "3111"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6527
                                    },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6528
                                    "endPosition": "3140",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6529
                                    "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6530
                                    "startPosition": "3111"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6531
                                  }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6532
                                ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6533
                                "startPosition": "3093"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6534
                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6535
                              "startPosition": "3074"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6536
                            },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6537
                            {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6538
                              "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6539
                                "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6540
                                  "endPosition": "3184",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6541
                                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6542
                                  "name": "arr",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6543
                                  "startPosition": "3181"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6544
                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6545
                                "endPosition": "3184",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6546
                                "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6547
                                "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6548
                                  "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6549
                                    "endPosition": "3175",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6550
                                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6551
                                    "name": "result",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6552
                                    "startPosition": "3169"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6553
                                  },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6554
                                  "endPosition": "3178",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6555
                                  "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6556
                                  "index": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6557
                                    "endPosition": "3177",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6558
                                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6559
                                    "name": "i",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6560
                                    "startPosition": "3176"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6561
                                  },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6562
                                  "startPosition": "3169"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6563
                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6564
                                "startPosition": "3169"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6565
                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6566
                              "endPosition": "3184",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6567
                              "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6568
                              "startPosition": "3169"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6569
                            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6570
                          ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6571
                          "startPosition": "3015"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6572
                        }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6573
                      },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6574
                      "endPosition": "3609",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6575
                      "kind": "IF",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6576
                      "startPosition": "2891",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6577
                      "thenStatement": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6578
                        "endPosition": "2977",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6579
                        "kind": "BLOCK",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6580
                        "statements": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6581
                          {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6582
                            "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6583
                              "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6584
                                "endPosition": "2966",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6585
                                "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6586
                                "functionSelect": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6587
                                  "identifier": "convert",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6588
                                  "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6589
                                    "endPosition": "2953",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6590
                                    "kind": "IDENTIFIER",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6591
                                    "this": "true",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6592
                                    "name": "this",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6593
                                    "startPosition": "2949"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6594
                                  },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6595
                                  "endPosition": "2961",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6596
                                  "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6597
                                  "startPosition": "2949"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6598
                                },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6599
                                "arguments": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6600
                                  {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6601
                                    "endPosition": "2965",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6602
                                    "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6603
                                    "name": "val",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6604
                                    "startPosition": "2962"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6605
                                  }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6606
                                ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6607
                                "startPosition": "2949"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6608
                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6609
                              "endPosition": "2966",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6610
                              "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6611
                              "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6612
                                "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6613
                                  "endPosition": "2943",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6614
                                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6615
                                  "name": "result",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6616
                                  "startPosition": "2937"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6617
                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6618
                                "endPosition": "2946",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6619
                                "kind": "ARRAY_ACCESS",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6620
                                "index": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6621
                                  "endPosition": "2945",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6622
                                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6623
                                  "name": "i",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6624
                                  "startPosition": "2944"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6625
                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6626
                                "startPosition": "2937"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6627
                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6628
                              "startPosition": "2937"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6629
                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6630
                            "endPosition": "2966",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6631
                            "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6632
                            "startPosition": "2937"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6633
                          }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6634
                        ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6635
                        "startPosition": "2923"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6636
                      }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6637
                    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6638
                  ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6639
                  "startPosition": "2215"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6640
                },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6641
                "startPosition": "2196"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6642
              },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6643
              {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6644
                "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6645
                  "endPosition": "3633",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6646
                  "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6647
                  "name": "result",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6648
                  "startPosition": "3627"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6649
                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6650
                "endPosition": "3634",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6651
                "kind": "RETURN",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6652
                "startPosition": "3620"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6653
              }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6654
            ],
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6655
            "startPosition": "2016"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6656
          },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6657
          "strict": "false",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6658
          "startPosition": "2016",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6659
          "parameters": [
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6660
            {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6661
              "endPosition": "2014",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6662
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6663
              "name": "tree",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6664
              "startPosition": "2010"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6665
            }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6666
          ]
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6667
        },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6668
        "endPosition": "2016",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6669
        "kind": "ASSIGNMENT",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6670
        "variable": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6671
          "identifier": "convert",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6672
          "expression": {
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6673
            "identifier": "prototype",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6674
            "expression": {
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6675
              "endPosition": "1980",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6676
              "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6677
              "name": "Parser",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6678
              "startPosition": "1974"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6679
            },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6680
            "endPosition": "1990",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6681
            "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6682
            "startPosition": "1974"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6683
          },
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6684
          "endPosition": "1998",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6685
          "kind": "MEMBER_SELECT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6686
          "startPosition": "1974"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6687
        },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6688
        "startPosition": "1974"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6689
      },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6690
      "endPosition": "3636",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  6691
      "kind": "EXPRESSION_STATEMENT",
34974
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6692
      "startPosition": "1974"
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6693
    },
94a13629c390 8143896: java.lang.Long is implicitly converted to double
hannesw
parents: 29626
diff changeset
  6694
    {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6695
      "endPosition": "4366",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6696
      "kind": "FUNCTION",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6697
      "name": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6698
        "endPosition": "3659",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6699
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6700
        "name": "processFiles",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6701
        "startPosition": "3647"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6702
      },
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6703
      "body": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6704
        "endPosition": "4364",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6705
        "kind": "BLOCK",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6706
        "statements": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6707
          {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6708
            "endPosition": "3710",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6709
            "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6710
            "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6711
              "endPosition": "3682",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6712
              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6713
              "name": "File",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6714
              "startPosition": "3678"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6715
            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6716
            "startPosition": "3674",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6717
            "initializer": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6718
              "endPosition": "3710",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6719
              "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6720
              "functionSelect": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6721
                "identifier": "type",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6722
                "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6723
                  "endPosition": "3689",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6724
                  "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6725
                  "name": "Java",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6726
                  "startPosition": "3685"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6727
                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6728
                "endPosition": "3694",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6729
                "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6730
                "startPosition": "3685"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6731
              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6732
              "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6733
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6734
                  "endPosition": "3708",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6735
                  "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6736
                  "value": "java.io.File",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6737
                  "startPosition": "3696"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6738
                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6739
              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6740
              "startPosition": "3685"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6741
            }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6742
          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6743
          {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6744
            "endPosition": "3766",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6745
            "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6746
            "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6747
              "endPosition": "3725",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6748
              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6749
              "name": "files",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6750
              "startPosition": "3720"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6751
            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6752
            "startPosition": "3716",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6753
            "initializer": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6754
              "endPosition": "3766",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6755
              "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6756
              "functionSelect": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6757
                "identifier": "listFiles",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6758
                "expression": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6759
                  "constructorExpression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6760
                    "endPosition": "3754",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6761
                    "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6762
                    "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6763
                      "endPosition": "3736",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6764
                      "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6765
                      "name": "File",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6766
                      "startPosition": "3732"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6767
                    },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6768
                    "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6769
                      {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6770
                        "leftOperand": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6771
                          "endPosition": "3744",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6772
                          "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6773
                          "name": "__DIR__",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6774
                          "startPosition": "3737"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6775
                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6776
                        "endPosition": "3753",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6777
                        "kind": "PLUS",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6778
                        "rightOperand": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6779
                          "endPosition": "3753",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6780
                          "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6781
                          "name": "subdir",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6782
                          "startPosition": "3747"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6783
                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6784
                        "startPosition": "3737"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6785
                      }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6786
                    ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6787
                    "startPosition": "3732"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6788
                  },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6789
                  "endPosition": "3754",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6790
                  "kind": "NEW",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6791
                  "startPosition": "3728"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6792
                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6793
                "endPosition": "3764",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6794
                "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6795
                "startPosition": "3728"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6796
              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6797
              "arguments": [],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6798
              "startPosition": "3728"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6799
            }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6800
          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6801
          {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6802
            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6803
              "endPosition": "3800",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6804
              "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6805
              "functionSelect": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6806
                "identifier": "sort",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6807
                "expression": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6808
                  "identifier": "Arrays",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6809
                  "expression": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6810
                    "identifier": "util",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6811
                    "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6812
                      "endPosition": "3776",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6813
                      "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6814
                      "name": "java",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6815
                      "startPosition": "3772"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6816
                    },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6817
                    "endPosition": "3781",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6818
                    "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6819
                    "startPosition": "3772"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6820
                  },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6821
                  "endPosition": "3788",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6822
                  "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6823
                  "startPosition": "3772"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6824
                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6825
                "endPosition": "3793",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6826
                "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6827
                "startPosition": "3772"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6828
              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6829
              "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6830
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6831
                  "endPosition": "3799",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6832
                  "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6833
                  "name": "files",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6834
                  "startPosition": "3794"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6835
                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6836
              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6837
              "startPosition": "3772"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6838
            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6839
            "endPosition": "3800",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6840
            "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6841
            "startPosition": "3772"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6842
          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6843
          {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6844
            "endPosition": "3824",
29539
b2a8fb583979 8075448: nashorn parser API returns init variable tree object of a for loop after for loop statement tree object
sundar
parents: 29536
diff changeset
  6845
            "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6846
            "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6847
              "endPosition": "3824",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6848
              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6849
              "name": "file",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6850
              "startPosition": "3820"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6851
            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6852
            "startPosition": "3816"
29539
b2a8fb583979 8075448: nashorn parser API returns init variable tree object of a for loop after for loop statement tree object
sundar
parents: 29536
diff changeset
  6853
          },
b2a8fb583979 8075448: nashorn parser API returns init variable tree object of a for loop after for loop statement tree object
sundar
parents: 29536
diff changeset
  6854
          {
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6855
            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6856
              "endPosition": "3833",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6857
              "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6858
              "name": "files",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6859
              "startPosition": "3828"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6860
            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6861
            "endPosition": "4364",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6862
            "kind": "FOR_IN_LOOP",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6863
            "forEach": "true",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6864
            "variable": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6865
              "endPosition": "3824",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6866
              "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6867
              "name": "file",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6868
              "startPosition": "3820"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6869
            },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6870
            "statement": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6871
              "endPosition": "4364",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6872
              "kind": "BLOCK",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6873
              "statements": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6874
                {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6875
                  "condition": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6876
                    "endPosition": "3874",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6877
                    "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6878
                    "functionSelect": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6879
                      "identifier": "endsWith",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6880
                      "expression": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6881
                        "identifier": "name",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6882
                        "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6883
                          "endPosition": "3853",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6884
                          "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6885
                          "name": "file",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6886
                          "startPosition": "3849"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6887
                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6888
                        "endPosition": "3858",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6889
                        "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6890
                        "startPosition": "3849"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6891
                      },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6892
                      "endPosition": "3867",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6893
                      "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6894
                      "startPosition": "3849"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6895
                    },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6896
                    "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6897
                      {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6898
                        "endPosition": "3872",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6899
                        "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6900
                        "value": ".js",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6901
                        "startPosition": "3869"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6902
                      }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6903
                    ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6904
                    "startPosition": "3849"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6905
                  },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6906
                  "endPosition": "4358",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6907
                  "kind": "IF",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6908
                  "startPosition": "3845",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6909
                  "thenStatement": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6910
                    "endPosition": "4358",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6911
                    "kind": "BLOCK",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6912
                    "statements": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6913
                      {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6914
                        "endPosition": "3918",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6915
                        "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6916
                        "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6917
                          "endPosition": "3900",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6918
                          "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6919
                          "name": "script",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6920
                          "startPosition": "3894"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6921
                        },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6922
                        "startPosition": "3890",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6923
                        "initializer": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6924
                          "endPosition": "3918",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6925
                          "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6926
                          "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6927
                            "endPosition": "3912",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6928
                            "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6929
                            "name": "readFully",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6930
                            "startPosition": "3903"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6931
                          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6932
                          "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6933
                            {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6934
                              "endPosition": "3917",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6935
                              "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6936
                              "name": "file",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6937
                              "startPosition": "3913"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6938
                            }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6939
                          ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6940
                          "startPosition": "3903"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6941
                        }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6942
                      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6943
                      {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6944
                        "endPosition": "3957",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6945
                        "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6946
                        "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6947
                          "endPosition": "3942",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6948
                          "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6949
                          "name": "parser",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6950
                          "startPosition": "3936"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6951
                        },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6952
                        "startPosition": "3932",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6953
                        "initializer": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6954
                          "constructorExpression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6955
                            "endPosition": "3957",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6956
                            "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6957
                            "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6958
                              "endPosition": "3955",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6959
                              "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6960
                              "name": "Parser",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6961
                              "startPosition": "3949"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6962
                            },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6963
                            "arguments": [],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6964
                            "startPosition": "3949"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6965
                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6966
                          "endPosition": "3957",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6967
                          "kind": "NEW",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6968
                          "startPosition": "3945"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6969
                        }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6970
                      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6971
                      {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6972
                        "endPosition": "4218",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6973
                        "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6974
                        "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6975
                          "endPosition": "3979",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6976
                          "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6977
                          "name": "tree",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6978
                          "startPosition": "3975"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6979
                        },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6980
                        "startPosition": "3971",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6981
                        "initializer": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6982
                          "endPosition": "4218",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6983
                          "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6984
                          "functionSelect": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6985
                            "identifier": "parse",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6986
                            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6987
                              "endPosition": "3988",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6988
                              "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6989
                              "name": "parser",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6990
                              "startPosition": "3982"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6991
                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6992
                            "endPosition": "3994",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6993
                            "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  6994
                            "startPosition": "3982"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6995
                          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6996
                          "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6997
                            {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6998
                              "leftOperand": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  6999
                                "leftOperand": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7000
                                  "endPosition": "4001",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7001
                                  "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7002
                                  "name": "subdir",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7003
                                  "startPosition": "3995"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7004
                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7005
                                "endPosition": "4006",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7006
                                "kind": "PLUS",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7007
                                "rightOperand": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7008
                                  "endPosition": "4006",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7009
                                  "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7010
                                  "value": "/",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7011
                                  "startPosition": "4005"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7012
                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7013
                                "startPosition": "3995"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7014
                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7015
                              "endPosition": "4019",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7016
                              "kind": "PLUS",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7017
                              "rightOperand": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7018
                                "identifier": "name",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7019
                                "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7020
                                  "endPosition": "4014",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7021
                                  "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7022
                                  "name": "file",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7023
                                  "startPosition": "4010"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7024
                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7025
                                "endPosition": "4019",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7026
                                "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7027
                                "startPosition": "4010"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7028
                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7029
                              "startPosition": "3995"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7030
                            },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7031
                            {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7032
                              "endPosition": "4027",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7033
                              "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7034
                              "name": "script",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7035
                              "startPosition": "4021"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7036
                            },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7037
                            {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7038
                              "endPosition": "4066",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7039
                              "kind": "FUNCTION_EXPRESSION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7040
                              "body": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7041
                                "endPosition": "4199",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7042
                                "kind": "BLOCK",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7043
                                "statements": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7044
                                  {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7045
                                    "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7046
                                      "endPosition": "4166",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7047
                                      "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7048
                                      "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7049
                                        "endPosition": "4093",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7050
                                        "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7051
                                        "name": "print",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7052
                                        "startPosition": "4088"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7053
                                      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7054
                                      "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7055
                                        {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7056
                                          "endPosition": "4165",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7057
                                          "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7058
                                          "functionSelect": {
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7059
                                            "identifier": "replace",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7060
                                            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7061
                                              "endPosition": "4145",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7062
                                              "kind": "FUNCTION_INVOCATION",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7063
                                              "functionSelect": {
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7064
                                                "identifier": "stringify",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7065
                                                "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7066
                                                  "endPosition": "4098",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7067
                                                  "kind": "IDENTIFIER",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7068
                                                  "name": "JSON",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7069
                                                  "startPosition": "4094"
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7070
                                                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7071
                                                "endPosition": "4108",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7072
                                                "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7073
                                                "startPosition": "4094"
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7074
                                              },
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7075
                                              "arguments": [
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7076
                                                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7077
                                                  "endPosition": "4135",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7078
                                                  "kind": "FUNCTION_INVOCATION",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7079
                                                  "functionSelect": {
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7080
                                                    "identifier": "convert",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7081
                                                    "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7082
                                                      "endPosition": "4115",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7083
                                                      "kind": "IDENTIFIER",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7084
                                                      "name": "parser",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7085
                                                      "startPosition": "4109"
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7086
                                                    },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7087
                                                    "endPosition": "4123",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7088
                                                    "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7089
                                                    "startPosition": "4109"
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7090
                                                  },
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7091
                                                  "arguments": [
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7092
                                                    {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7093
                                                      "endPosition": "4134",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7094
                                                      "kind": "IDENTIFIER",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7095
                                                      "name": "diagnostic",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7096
                                                      "startPosition": "4124"
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7097
                                                    }
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7098
                                                  ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7099
                                                  "startPosition": "4109"
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7100
                                                },
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7101
                                                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7102
                                                  "endPosition": "4141",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7103
                                                  "kind": "NULL_LITERAL",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7104
                                                  "startPosition": "4137"
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7105
                                                },
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7106
                                                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7107
                                                  "endPosition": "4144",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7108
                                                  "kind": "NUMBER_LITERAL",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7109
                                                  "value": "2",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7110
                                                  "startPosition": "4143"
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7111
                                                }
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7112
                                              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7113
                                              "startPosition": "4094"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7114
                                            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7115
                                            "endPosition": "4153",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7116
                                            "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7117
                                            "startPosition": "4094"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7118
                                          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7119
                                          "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7120
                                            {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7121
                                              "endPosition": "4160",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7122
                                              "kind": "REGEXP_LITERAL",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7123
                                              "options": "g",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7124
                                              "pattern": "\\\\r",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7125
                                              "startPosition": "4154"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7126
                                            },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7127
                                            {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7128
                                              "endPosition": "4163",
29626
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7129
                                              "kind": "STRING_LITERAL",
83f509969bee 8075240: Output of some tests contains platform specific line break
slugovoy
parents: 29539
diff changeset
  7130
                                              "value": "",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7131
                                              "startPosition": "4163"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7132
                                            }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7133
                                          ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7134
                                          "startPosition": "4153"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7135
                                        }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7136
                                      ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7137
                                      "startPosition": "4088"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7138
                                    },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7139
                                    "endPosition": "4166",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7140
                                    "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7141
                                    "startPosition": "4088"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7142
                                  },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7143
                                  {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7144
                                    "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7145
                                      "endPosition": "4198",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7146
                                      "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7147
                                      "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7148
                                        "endPosition": "4193",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7149
                                        "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7150
                                        "name": "print",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7151
                                        "startPosition": "4188"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7152
                                      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7153
                                      "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7154
                                        {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7155
                                          "endPosition": "4196",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7156
                                          "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7157
                                          "value": ",",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7158
                                          "startPosition": "4195"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7159
                                        }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7160
                                      ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7161
                                      "startPosition": "4188"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7162
                                    },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7163
                                    "endPosition": "4198",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7164
                                    "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7165
                                    "startPosition": "4188"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7166
                                  }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7167
                                ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7168
                                "startPosition": "4066"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7169
                              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7170
                              "strict": "false",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7171
                              "startPosition": "4066",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7172
                              "parameters": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7173
                                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7174
                                  "endPosition": "4064",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7175
                                  "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7176
                                  "name": "diagnostic",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7177
                                  "startPosition": "4054"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7178
                                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7179
                              ]
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7180
                            }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7181
                          ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7182
                          "startPosition": "3982"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7183
                        }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7184
                      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7185
                      {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7186
                        "condition": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7187
                          "leftOperand": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7188
                            "endPosition": "4241",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7189
                            "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7190
                            "name": "tree",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7191
                            "startPosition": "4237"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7192
                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7193
                          "endPosition": "4249",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7194
                          "kind": "NOT_EQUAL_TO",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7195
                          "rightOperand": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7196
                            "endPosition": "4249",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7197
                            "kind": "NULL_LITERAL",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7198
                            "startPosition": "4245"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7199
                          },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7200
                          "startPosition": "4237"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7201
                        },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7202
                        "endPosition": "4348",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7203
                        "kind": "IF",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7204
                        "startPosition": "4233",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7205
                        "thenStatement": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7206
                          "endPosition": "4348",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7207
                          "kind": "BLOCK",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7208
                          "statements": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7209
                            {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7210
                              "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7211
                                "endPosition": "4305",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7212
                                "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7213
                                "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7214
                                  "endPosition": "4274",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7215
                                  "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7216
                                  "name": "print",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7217
                                  "startPosition": "4269"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7218
                                },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7219
                                "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7220
                                  {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7221
                                    "endPosition": "4304",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7222
                                    "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7223
                                    "functionSelect": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7224
                                      "identifier": "stringify",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7225
                                      "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7226
                                        "endPosition": "4279",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7227
                                        "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7228
                                        "name": "JSON",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7229
                                        "startPosition": "4275"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7230
                                      },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7231
                                      "endPosition": "4289",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7232
                                      "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7233
                                      "startPosition": "4275"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7234
                                    },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7235
                                    "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7236
                                      {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7237
                                        "endPosition": "4294",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7238
                                        "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7239
                                        "name": "tree",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7240
                                        "startPosition": "4290"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7241
                                      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7242
                                      {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7243
                                        "endPosition": "4300",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7244
                                        "kind": "NULL_LITERAL",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7245
                                        "startPosition": "4296"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7246
                                      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7247
                                      {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7248
                                        "endPosition": "4303",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7249
                                        "kind": "NUMBER_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7250
                                        "value": "2",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7251
                                        "startPosition": "4302"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7252
                                      }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7253
                                    ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7254
                                    "startPosition": "4275"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7255
                                  }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7256
                                ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7257
                                "startPosition": "4269"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7258
                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7259
                              "endPosition": "4305",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7260
                              "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7261
                              "startPosition": "4269"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7262
                            },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7263
                            {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7264
                              "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7265
                                "endPosition": "4333",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7266
                                "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7267
                                "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7268
                                  "endPosition": "4328",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7269
                                  "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7270
                                  "name": "print",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7271
                                  "startPosition": "4323"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7272
                                },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7273
                                "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7274
                                  {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7275
                                    "endPosition": "4331",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7276
                                    "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7277
                                    "value": ",",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7278
                                    "startPosition": "4330"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7279
                                  }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7280
                                ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7281
                                "startPosition": "4323"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7282
                              },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7283
                              "endPosition": "4333",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7284
                              "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7285
                              "startPosition": "4323"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7286
                            }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7287
                          ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7288
                          "startPosition": "4251"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7289
                        }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7290
                      }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7291
                    ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7292
                    "startPosition": "3876"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7293
                  }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7294
                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7295
              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7296
              "startPosition": "3835"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7297
            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7298
            "startPosition": "3806"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7299
          }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7300
        ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7301
        "startPosition": "3668"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7302
      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7303
      "strict": "false",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7304
      "startPosition": "3638",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7305
      "parameters": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7306
        {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7307
          "endPosition": "3666",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7308
          "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7309
          "name": "subdir",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7310
          "startPosition": "3660"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7311
        }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7312
      ]
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7313
    },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7314
    {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7315
      "endPosition": "4710",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7316
      "kind": "FUNCTION",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7317
      "name": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7318
        "endPosition": "4421",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7319
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7320
        "name": "main",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7321
        "startPosition": "4417"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7322
      },
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7323
      "body": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7324
        "endPosition": "4708",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7325
        "kind": "BLOCK",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7326
        "statements": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7327
          {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7328
            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7329
              "endPosition": "4440",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7330
              "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7331
              "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7332
                "endPosition": "4435",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7333
                "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7334
                "name": "print",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7335
                "startPosition": "4430"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7336
              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7337
              "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7338
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7339
                  "endPosition": "4438",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7340
                  "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7341
                  "value": "[",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7342
                  "startPosition": "4437"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7343
                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7344
              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7345
              "startPosition": "4430"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7346
            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7347
            "endPosition": "4440",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7348
            "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7349
            "startPosition": "4430"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7350
          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7351
          {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7352
            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7353
              "endPosition": "4474",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7354
              "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7355
              "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7356
                "endPosition": "4459",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7357
                "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7358
                "name": "processFiles",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7359
                "startPosition": "4447"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7360
              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7361
              "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7362
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7363
                  "endPosition": "4472",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7364
                  "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7365
                  "value": "parsertests",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7366
                  "startPosition": "4461"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7367
                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7368
              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7369
              "startPosition": "4447"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7370
            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7371
            "endPosition": "4474",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7372
            "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7373
            "startPosition": "4447"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7374
          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7375
          {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7376
            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7377
              "endPosition": "4515",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7378
              "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7379
              "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7380
                "endPosition": "4492",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7381
                "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7382
                "name": "processFiles",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7383
                "startPosition": "4480"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7384
              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7385
              "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7386
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7387
                  "endPosition": "4513",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7388
                  "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7389
                  "value": "parsernegativetests",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7390
                  "startPosition": "4494"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7391
                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7392
              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7393
              "startPosition": "4480"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7394
            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7395
            "endPosition": "4515",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7396
            "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7397
            "startPosition": "4480"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7398
          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7399
          {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7400
            "endPosition": "4584",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7401
            "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7402
            "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7403
              "endPosition": "4562",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7404
              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7405
              "name": "script",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7406
              "startPosition": "4556"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7407
            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7408
            "startPosition": "4552",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7409
            "initializer": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7410
              "endPosition": "4584",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7411
              "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7412
              "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7413
                "endPosition": "4574",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7414
                "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7415
                "name": "readFully",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7416
                "startPosition": "4565"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7417
              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7418
              "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7419
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7420
                  "endPosition": "4583",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7421
                  "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7422
                  "name": "__FILE__",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7423
                  "startPosition": "4575"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7424
                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7425
              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7426
              "startPosition": "4565"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7427
            }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7428
          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7429
          {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7430
            "endPosition": "4649",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7431
            "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7432
            "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7433
              "endPosition": "4598",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7434
              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7435
              "name": "tree",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7436
              "startPosition": "4594"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7437
            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7438
            "startPosition": "4590",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7439
            "initializer": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7440
              "endPosition": "4649",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7441
              "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7442
              "functionSelect": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7443
                "identifier": "parse",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7444
                "expression": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7445
                  "constructorExpression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7446
                    "endPosition": "4613",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7447
                    "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7448
                    "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7449
                      "endPosition": "4611",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7450
                      "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7451
                      "name": "Parser",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7452
                      "startPosition": "4605"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7453
                    },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7454
                    "arguments": [],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7455
                    "startPosition": "4605"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7456
                  },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7457
                  "endPosition": "4613",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7458
                  "kind": "NEW",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7459
                  "startPosition": "4601"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7460
                },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7461
                "endPosition": "4619",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7462
                "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7463
                "startPosition": "4601"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7464
              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7465
              "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7466
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7467
                  "endPosition": "4633",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7468
                  "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7469
                  "value": "parserapi.js",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7470
                  "startPosition": "4621"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7471
                },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7472
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7473
                  "endPosition": "4642",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7474
                  "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7475
                  "name": "script",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7476
                  "startPosition": "4636"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7477
                },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7478
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7479
                  "endPosition": "4648",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7480
                  "kind": "NULL_LITERAL",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7481
                  "startPosition": "4644"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7482
                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7483
              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7484
              "startPosition": "4601"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7485
            }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7486
          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7487
          {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7488
            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7489
              "endPosition": "4691",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7490
              "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7491
              "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7492
                "endPosition": "4660",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7493
                "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7494
                "name": "print",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7495
                "startPosition": "4655"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7496
              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7497
              "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7498
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7499
                  "endPosition": "4690",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7500
                  "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7501
                  "functionSelect": {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7502
                    "identifier": "stringify",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7503
                    "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7504
                      "endPosition": "4665",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7505
                      "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7506
                      "name": "JSON",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7507
                      "startPosition": "4661"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7508
                    },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7509
                    "endPosition": "4675",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7510
                    "kind": "MEMBER_SELECT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7511
                    "startPosition": "4661"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7512
                  },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7513
                  "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7514
                    {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7515
                      "endPosition": "4680",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7516
                      "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7517
                      "name": "tree",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7518
                      "startPosition": "4676"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7519
                    },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7520
                    {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7521
                      "endPosition": "4686",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7522
                      "kind": "NULL_LITERAL",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7523
                      "startPosition": "4682"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7524
                    },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7525
                    {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7526
                      "endPosition": "4689",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7527
                      "kind": "NUMBER_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7528
                      "value": "2",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7529
                      "startPosition": "4688"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7530
                    }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7531
                  ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7532
                  "startPosition": "4661"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7533
                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7534
              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7535
              "startPosition": "4655"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7536
            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7537
            "endPosition": "4691",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7538
            "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7539
            "startPosition": "4655"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7540
          },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7541
          {
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7542
            "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7543
              "endPosition": "4707",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7544
              "kind": "FUNCTION_INVOCATION",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7545
              "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7546
                "endPosition": "4702",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7547
                "kind": "IDENTIFIER",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7548
                "name": "print",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7549
                "startPosition": "4697"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7550
              },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7551
              "arguments": [
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7552
                {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7553
                  "endPosition": "4705",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7554
                  "kind": "STRING_LITERAL",
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7555
                  "value": "]",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7556
                  "startPosition": "4704"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7557
                }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7558
              ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7559
              "startPosition": "4697"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7560
            },
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7561
            "endPosition": "4707",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7562
            "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7563
            "startPosition": "4697"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7564
          }
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7565
        ],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7566
        "startPosition": "4424"
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7567
      },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7568
      "strict": "false",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7569
      "startPosition": "4408",
29536
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7570
      "parameters": []
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7571
    },
805894cd3c6b 8075207: Nashorn parser API returns StatementTree objects in out of order
sundar
parents: 29407
diff changeset
  7572
    {
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7573
      "expression": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7574
        "endPosition": "4718",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7575
        "kind": "FUNCTION_INVOCATION",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7576
        "functionSelect": {
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7577
          "endPosition": "4716",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7578
          "kind": "IDENTIFIER",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7579
          "name": "main",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7580
          "startPosition": "4712"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7581
        },
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7582
        "arguments": [],
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7583
        "startPosition": "4712"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7584
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7585
      "endPosition": "4718",
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7586
      "kind": "EXPRESSION_STATEMENT",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7587
      "startPosition": "4712"
29407
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7588
    }
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7589
  ],
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7590
  "sourceName": "parserapi.js",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7591
  "strict": "false",
3fd4ede1581e 8074671: Nashorn Parser API
sundar
parents:
diff changeset
  7592
  "startPosition": "1136"
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7593
}
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 37924
diff changeset
  7594
]