nashorn/test/script/nosecurity/treeapi/variable.js.EXPECTED
author slugovoy
Fri, 20 Mar 2015 13:19:47 +0300
changeset 29543 4d9f8f8b69a4
child 39662 e2b36a3779b9
permissions -rw-r--r--
8068306: Tests for AST presentation Nashorn Parser API 8068304: Tests for Diagnostic listener for Nashorn Parser API 8068303: Create tests for Nashorn Parser API for create Tree from some different source and parameters Reviewed-by: sundar, lagergren

[
  {
    "endPosition": "6",
    "kind": "VARIABLE",
    "name": "a",
    "startPosition": "5",
    "initializer": "null"
  },
  {
    "endPosition": "16",
    "kind": "VARIABLE",
    "name": "x",
    "startPosition": "11",
    "initializer": {
      "endPosition": "16",
      "kind": "NUMBER_LITERAL",
      "value": "1",
      "startPosition": "15"
    }
  },
  {
    "endPosition": "24",
    "kind": "VARIABLE",
    "name": "x23",
    "startPosition": "21",
    "initializer": "null"
  },
  {
    "endPosition": "32",
    "kind": "VARIABLE",
    "name": "$y",
    "startPosition": "26",
    "initializer": {
      "endPosition": "32",
      "kind": "NUMBER_LITERAL",
      "value": "1",
      "startPosition": "31"
    }
  },
  {
    "endPosition": "36",
    "kind": "VARIABLE",
    "name": "_z",
    "startPosition": "34",
    "initializer": "null"
  }
]