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