nashorn/test/script/nosecurity/treeapi/variable.js.EXPECTED
author sundar
Tue, 12 Jul 2016 21:18:13 +0530
changeset 39662 e2b36a3779b9
parent 29543 4d9f8f8b69a4
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:
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": "6",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
     4
    "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
     5
    "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
     6
      "endPosition": "6",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
     7
      "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
     8
      "name": "a",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
     9
      "startPosition": "5"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    10
    },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    11
    "startPosition": "1",
29543
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    12
    "initializer": "null"
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
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    15
    "endPosition": "16",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    16
    "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    17
    "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    18
      "endPosition": "12",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    19
      "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    20
      "name": "x",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    21
      "startPosition": "11"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    22
    },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    23
    "startPosition": "7",
29543
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    24
    "initializer": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    25
      "endPosition": "16",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    26
      "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    27
      "value": "1",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    28
      "startPosition": "15"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    29
    }
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
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    32
    "endPosition": "24",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    33
    "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    34
    "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    35
      "endPosition": "24",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    36
      "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    37
      "name": "x23",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    38
      "startPosition": "21"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    39
    },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    40
    "startPosition": "17",
29543
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    41
    "initializer": "null"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    42
  },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    43
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    44
    "endPosition": "32",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    45
    "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    46
    "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    47
      "endPosition": "28",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    48
      "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    49
      "name": "$y",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    50
      "startPosition": "26"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    51
    },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    52
    "startPosition": "17",
29543
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    53
    "initializer": {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    54
      "endPosition": "32",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    55
      "kind": "NUMBER_LITERAL",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    56
      "value": "1",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    57
      "startPosition": "31"
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
  },
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    60
  {
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    61
    "endPosition": "36",
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    62
    "kind": "VARIABLE",
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    63
    "binding": {
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    64
      "endPosition": "36",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    65
      "kind": "IDENTIFIER",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    66
      "name": "_z",
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    67
      "startPosition": "34"
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    68
    },
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    69
    "startPosition": "17",
29543
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    70
    "initializer": "null"
4d9f8f8b69a4 8068306: Tests for AST presentation Nashorn Parser API
slugovoy
parents:
diff changeset
    71
  }
39662
e2b36a3779b9 8149929: Nashorn Parser API needs to be updated for ES6
sundar
parents: 29543
diff changeset
    72
]