nashorn/test/script/nosecurity/treeapi/template_literal.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

[
  {
    "endPosition": "49",
    "kind": "TEMPLATE_LITERAL",
    "expressions": [
      {
        "endPosition": "14",
        "kind": "STRING_LITERAL",
        "value": "your name is ",
        "startPosition": "1"
      },
      {
        "endPosition": "20",
        "kind": "IDENTIFIER",
        "name": "name",
        "startPosition": "16"
      },
      {
        "endPosition": "39",
        "kind": "STRING_LITERAL",
        "value": " and you work for ",
        "startPosition": "21"
      },
      {
        "endPosition": "48",
        "kind": "IDENTIFIER",
        "name": "company",
        "startPosition": "41"
      },
      {
        "endPosition": "49",
        "kind": "STRING_LITERAL",
        "value": "",
        "startPosition": "49"
      }
    ],
    "startPosition": "1"
  }
]