8134503: support ES6 parsing in Nashorn
Reviewed-by: jlaskey, sundar, mhaupt
Contributed-by: andreas.woess@oracle.com
[
{
"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"
}
]