8134503: support ES6 parsing in Nashorn
Reviewed-by: jlaskey, sundar, mhaupt
Contributed-by: andreas.woess@oracle.com
[
{
"identifier": "field",
"expression": {
"endPosition": "7",
"kind": "IDENTIFIER",
"name": "object",
"startPosition": "1"
},
"endPosition": "13",
"kind": "MEMBER_SELECT",
"startPosition": "1"
},
{
"identifier": "method",
"expression": {
"endPosition": "20",
"kind": "IDENTIFIER",
"name": "object",
"startPosition": "14"
},
"endPosition": "27",
"kind": "MEMBER_SELECT",
"startPosition": "14"
},
{
"identifier": "null",
"expression": {
"endPosition": "34",
"kind": "IDENTIFIER",
"name": "this",
"startPosition": "30"
},
"endPosition": "39",
"kind": "MEMBER_SELECT",
"startPosition": "30"
},
{
"identifier": "prototype",
"expression": {
"endPosition": "45",
"kind": "IDENTIFIER",
"name": "Array",
"startPosition": "40"
},
"endPosition": "55",
"kind": "MEMBER_SELECT",
"startPosition": "40"
}
]