nashorn/test/script/nosecurity/treeapi/unary.js.EXPECTED
author hannesw
Wed, 27 Apr 2016 15:50:33 +0200
changeset 37732 3673fec68d16
parent 29543 4d9f8f8b69a4
child 46169 b385216af0ed
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
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     4
      "endPosition": "2",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     5
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     6
      "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     7
      "startPosition": "1"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     8
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     9
    "endPosition": "4",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    10
    "kind": "POSTFIX_INCREMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    11
    "startPosition": "1"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    12
  },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    13
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    14
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    15
      "endPosition": "7",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    16
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    17
      "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    18
      "startPosition": "6"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    19
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    20
    "endPosition": "9",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    21
    "kind": "POSTFIX_DECREMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    22
    "startPosition": "6"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    23
  },
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
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    26
      "endPosition": "19",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    27
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    28
      "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    29
      "startPosition": "18"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    30
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    31
    "endPosition": "19",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    32
    "kind": "DELETE",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    33
    "startPosition": "11"
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
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    36
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    37
      "endPosition": "27",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    38
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    39
      "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    40
      "startPosition": "26"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    41
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    42
    "endPosition": "27",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    43
    "kind": "VOID",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    44
    "startPosition": "21"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    45
  },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    46
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    47
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    48
      "endPosition": "37",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    49
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    50
      "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    51
      "startPosition": "36"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    52
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    53
    "endPosition": "37",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    54
    "kind": "TYPEOF",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    55
    "startPosition": "29"
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
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    59
      "endPosition": "42",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    60
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    61
      "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    62
      "startPosition": "41"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    63
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    64
    "endPosition": "42",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    65
    "kind": "PREFIX_INCREMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    66
    "startPosition": "39"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    67
  },
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
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    70
      "endPosition": "47",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    71
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    72
      "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    73
      "startPosition": "46"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    74
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    75
    "endPosition": "47",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    76
    "kind": "PREFIX_DECREMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    77
    "startPosition": "44"
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
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    81
      "endPosition": "51",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    82
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    83
      "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    84
      "startPosition": "50"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    85
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    86
    "endPosition": "51",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    87
    "kind": "PLUS",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    88
    "startPosition": "49"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    89
  },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    90
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    91
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    92
      "endPosition": "55",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    93
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    94
      "name": "x",
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
    },
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": "MINUS",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    99
    "startPosition": "53"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   100
  },
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
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   103
      "endPosition": "59",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   104
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   105
      "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   106
      "startPosition": "58"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   107
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   108
    "endPosition": "59",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   109
    "kind": "BITWISE_COMPLEMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   110
    "startPosition": "57"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   111
  },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   112
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   113
    "expression": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   114
      "endPosition": "63",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   115
      "kind": "IDENTIFIER",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   116
      "name": "x",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   117
      "startPosition": "62"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   118
    },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   119
    "endPosition": "63",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   120
    "kind": "LOGICAL_COMPLEMENT",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
   121
    "startPosition": "61"
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
]