nashorn/test/script/nosecurity/treeapi/arrow.js.EXPECTED
author sundar
Tue, 12 Jul 2016 21:18:13 +0530
changeset 39662 e2b36a3779b9
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:
diff changeset
     1
[
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     2
  {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     3
    "endPosition": "15",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     4
    "kind": "VARIABLE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     5
    "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     6
      "endPosition": "6",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     7
      "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     8
      "name": "f",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     9
      "startPosition": "5"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    10
    },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    11
    "startPosition": "1",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    12
    "initializer": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    13
      "endPosition": "12",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    14
      "arrow": "true",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    15
      "kind": "FUNCTION_EXPRESSION",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    16
      "name": "null",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    17
      "body": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    18
        "leftOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    19
          "endPosition": "13",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    20
          "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    21
          "name": "x",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    22
          "startPosition": "12"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    23
        },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    24
        "endPosition": "15",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    25
        "kind": "MULTIPLY",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    26
        "rightOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    27
          "endPosition": "15",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    28
          "kind": "NUMBER_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    29
          "value": "2",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    30
          "startPosition": "14"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    31
        },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    32
        "startPosition": "12"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    33
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    34
      "strict": "false",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    35
      "startPosition": "12",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    36
      "parameters": [
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    37
        {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    38
          "endPosition": "10",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    39
          "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    40
          "name": "x",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    41
          "startPosition": "9"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    42
        }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    43
      ]
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    44
    }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    45
  },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    46
  {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    47
    "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    48
      "endPosition": "35",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    49
      "kind": "FUNCTION_INVOCATION",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    50
      "functionSelect": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    51
        "identifier": "map",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    52
        "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    53
          "endPosition": "19",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    54
          "kind": "ARRAY_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    55
          "elements": [],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    56
          "startPosition": "17"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    57
        },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    58
        "endPosition": "23",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    59
        "kind": "MEMBER_SELECT",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    60
        "startPosition": "17"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    61
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    62
      "arguments": [
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    63
        {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    64
          "endPosition": "29",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    65
          "arrow": "true",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    66
          "kind": "FUNCTION_EXPRESSION",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    67
          "name": "null",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    68
          "body": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    69
            "leftOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    70
              "endPosition": "30",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    71
              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    72
              "name": "v",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    73
              "startPosition": "29"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    74
            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    75
            "endPosition": "34",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    76
            "kind": "PLUS",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    77
            "rightOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    78
              "endPosition": "34",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    79
              "kind": "NUMBER_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    80
              "value": "1",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    81
              "startPosition": "33"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    82
            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    83
            "startPosition": "29"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    84
          },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    85
          "strict": "false",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    86
          "startPosition": "29",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    87
          "parameters": [
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    88
            {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    89
              "endPosition": "25",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    90
              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    91
              "name": "v",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    92
              "startPosition": "24"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    93
            }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    94
          ]
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    95
        }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    96
      ],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    97
      "startPosition": "17"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    98
    },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    99
    "endPosition": "35",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   100
    "kind": "EXPRESSION_STATEMENT",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   101
    "startPosition": "17"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   102
  }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   103
]