nashorn/test/script/nosecurity/treeapi/defaultparams.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": "46",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     4
    "kind": "FUNCTION",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     5
    "name": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     6
      "endPosition": "14",
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": "func",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
     9
      "startPosition": "10"
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
    "body": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    12
      "endPosition": "44",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    13
      "kind": "BLOCK",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    14
      "statements": [
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    15
        {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    16
          "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    17
            "leftOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    18
              "endPosition": "39",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    19
              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    20
              "name": "x",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    21
              "startPosition": "38"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    22
            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    23
            "endPosition": "43",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    24
            "kind": "PLUS",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    25
            "rightOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    26
              "endPosition": "43",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    27
              "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    28
              "name": "y",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    29
              "startPosition": "42"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    30
            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    31
            "startPosition": "38"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    32
          },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    33
          "endPosition": "44",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    34
          "kind": "RETURN",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    35
          "startPosition": "31"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    36
        }
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
      "startPosition": "25"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    39
    },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    40
    "strict": "false",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    41
    "startPosition": "1",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    42
    "parameters": [
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
        "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    45
          "endPosition": "20",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    46
          "kind": "NUMBER_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    47
          "value": "3",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    48
          "startPosition": "19"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    49
        },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    50
        "endPosition": "20",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    51
        "kind": "ASSIGNMENT",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    52
        "variable": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    53
          "endPosition": "16",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    54
          "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    55
          "name": "x",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    56
          "startPosition": "15"
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
        "startPosition": "15"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    59
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    60
      {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    61
        "endPosition": "23",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    62
        "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    63
        "name": "y",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    64
        "startPosition": "22"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    65
      }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    66
    ]
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    67
  },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    68
  {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    69
    "endPosition": "96",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    70
    "kind": "VARIABLE",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    71
    "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    72
      "endPosition": "53",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    73
      "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    74
      "name": "f",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    75
      "startPosition": "52"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    76
    },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    77
    "startPosition": "48",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    78
    "initializer": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    79
      "endPosition": "80",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    80
      "kind": "FUNCTION_EXPRESSION",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    81
      "name": "null",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    82
      "body": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    83
        "endPosition": "94",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    84
        "kind": "BLOCK",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    85
        "statements": [
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    86
          {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    87
            "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    88
              "leftOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    89
                "endPosition": "90",
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": "x",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    92
                "startPosition": "89"
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
              "endPosition": "94",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    95
              "kind": "MULTIPLY",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    96
              "rightOperand": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    97
                "endPosition": "94",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    98
                "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
    99
                "name": "y",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   100
                "startPosition": "93"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   101
              },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   102
              "startPosition": "89"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   103
            },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   104
            "endPosition": "94",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   105
            "kind": "RETURN",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   106
            "startPosition": "82"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   107
          }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   108
        ],
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   109
        "startPosition": "80"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   110
      },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   111
      "strict": "false",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   112
      "startPosition": "80",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   113
      "parameters": [
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   114
        {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   115
          "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   116
            "endPosition": "71",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   117
            "kind": "NUMBER_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   118
            "value": "4",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   119
            "startPosition": "70"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   120
          },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   121
          "endPosition": "71",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   122
          "kind": "ASSIGNMENT",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   123
          "variable": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   124
            "endPosition": "67",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   125
            "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   126
            "name": "x",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   127
            "startPosition": "66"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   128
          },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   129
          "startPosition": "66"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   130
        },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   131
        {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   132
          "expression": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   133
            "endPosition": "78",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   134
            "kind": "NUMBER_LITERAL",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   135
            "value": "5",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   136
            "startPosition": "77"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   137
          },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   138
          "endPosition": "78",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   139
          "kind": "ASSIGNMENT",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   140
          "variable": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   141
            "endPosition": "74",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   142
            "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   143
            "name": "y",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   144
            "startPosition": "73"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   145
          },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   146
          "startPosition": "73"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   147
        }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   148
      ]
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   149
    }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   150
  }
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents:
diff changeset
   151
]