jdk-24/nashorn/test/script/nosecurity/treeapi/variable.js.EXPECTED
Sergey Lugovoy b7d77b1297 8068306: Tests for AST presentation Nashorn Parser API
8068304: Tests for Diagnostic listener for Nashorn Parser API
8068303: Create tests for Nashorn Parser API for create Tree from some different source and parameters

Reviewed-by: sundar, lagergren
2015-03-20 13:19:47 +03:00

48 lines
861 B
Plaintext

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