jdk-24/test/nashorn/script/nosecurity/treeapi/array_access.js.EXPECTED
2017-09-12 19:03:39 +02:00

110 lines
2.3 KiB
Plaintext

[
{
"expression": {
"endPosition": "9",
"kind": "IDENTIFIER",
"name": "array",
"startPosition": "4"
},
"endPosition": "12",
"kind": "ARRAY_ACCESS",
"index": {
"endPosition": "11",
"kind": "NUMBER_LITERAL",
"value": "1",
"startPosition": "10"
},
"startPosition": "4"
},
{
"expression": {
"endPosition": "25",
"kind": "IDENTIFIER",
"name": "array",
"startPosition": "20"
},
"endPosition": "33",
"kind": "ARRAY_ACCESS",
"index": {
"endPosition": "32",
"kind": "FUNCTION_INVOCATION",
"functionSelect": {
"endPosition": "30",
"kind": "IDENTIFIER",
"name": "test",
"startPosition": "26"
},
"arguments": [],
"startPosition": "26"
},
"startPosition": "20"
},
{
"expression": {
"endPosition": "70",
"kind": "IDENTIFIER",
"name": "array",
"startPosition": "65"
},
"endPosition": "76",
"kind": "ARRAY_ACCESS",
"index": {
"endPosition": "75",
"kind": "NULL_LITERAL",
"value": "null",
"startPosition": "71"
},
"startPosition": "65"
},
{
"expression": {
"endPosition": "119",
"kind": "IDENTIFIER",
"name": "array",
"startPosition": "114"
},
"endPosition": "123",
"kind": "ARRAY_ACCESS",
"index": {
"expression": {
"endPosition": "122",
"kind": "NUMBER_LITERAL",
"value": "1",
"startPosition": "121"
},
"endPosition": "122",
"kind": "UNARY_MINUS",
"startPosition": "120"
},
"startPosition": "114"
},
{
"expression": {
"endPosition": "147",
"kind": "IDENTIFIER",
"name": "array",
"startPosition": "142"
},
"endPosition": "159",
"kind": "ARRAY_ACCESS",
"index": {
"expression": {
"endPosition": "153",
"kind": "IDENTIFIER",
"name": "array",
"startPosition": "148"
},
"endPosition": "158",
"kind": "ARRAY_ACCESS",
"index": {
"endPosition": "157",
"kind": "IDENTIFIER",
"name": "NaN",
"startPosition": "154"
},
"startPosition": "148"
},
"startPosition": "142"
}
]