jdk-24/nashorn/test/script/nosecurity/treeapi/template_literal.js.EXPECTED
Athijegannathan Sundararajan 4597649209 8149929: Nashorn Parser API needs to be updated for ES6
Reviewed-by: mhaupt, hannesw
2016-07-12 21:18:13 +05:30

40 lines
807 B
Plaintext

[
{
"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"
}
]