b7d77b1297
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
190 lines
3.9 KiB
Plaintext
190 lines
3.9 KiB
Plaintext
[
|
|
{
|
|
"expression": {
|
|
"endPosition": "10",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "7"
|
|
},
|
|
"endPosition": "10",
|
|
"kind": "PLUS_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "3",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "0"
|
|
},
|
|
"startPosition": "0"
|
|
},
|
|
{
|
|
"expression": {
|
|
"endPosition": "22",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "19"
|
|
},
|
|
"endPosition": "22",
|
|
"kind": "MINUS_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "15",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "12"
|
|
},
|
|
"startPosition": "12"
|
|
},
|
|
{
|
|
"expression": {
|
|
"endPosition": "34",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "31"
|
|
},
|
|
"endPosition": "34",
|
|
"kind": "MULTIPLY_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "27",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "24"
|
|
},
|
|
"startPosition": "24"
|
|
},
|
|
{
|
|
"expression": {
|
|
"endPosition": "46",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "43"
|
|
},
|
|
"endPosition": "46",
|
|
"kind": "DIVIDE_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "39",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "36"
|
|
},
|
|
"startPosition": "36"
|
|
},
|
|
{
|
|
"expression": {
|
|
"endPosition": "58",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "55"
|
|
},
|
|
"endPosition": "58",
|
|
"kind": "REMAINDER_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "51",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "48"
|
|
},
|
|
"startPosition": "48"
|
|
},
|
|
{
|
|
"expression": {
|
|
"endPosition": "71",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "68"
|
|
},
|
|
"endPosition": "71",
|
|
"kind": "LEFT_SHIFT_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "63",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "60"
|
|
},
|
|
"startPosition": "60"
|
|
},
|
|
{
|
|
"expression": {
|
|
"endPosition": "84",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "81"
|
|
},
|
|
"endPosition": "84",
|
|
"kind": "RIGHT_SHIFT_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "76",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "73"
|
|
},
|
|
"startPosition": "73"
|
|
},
|
|
{
|
|
"expression": {
|
|
"endPosition": "98",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "95"
|
|
},
|
|
"endPosition": "98",
|
|
"kind": "UNSIGNED_RIGHT_SHIFT_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "89",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "86"
|
|
},
|
|
"startPosition": "86"
|
|
},
|
|
{
|
|
"expression": {
|
|
"endPosition": "110",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "107"
|
|
},
|
|
"endPosition": "110",
|
|
"kind": "AND_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "103",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "100"
|
|
},
|
|
"startPosition": "100"
|
|
},
|
|
{
|
|
"expression": {
|
|
"endPosition": "122",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "119"
|
|
},
|
|
"endPosition": "122",
|
|
"kind": "XOR_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "115",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "112"
|
|
},
|
|
"startPosition": "112"
|
|
},
|
|
{
|
|
"expression": {
|
|
"endPosition": "134",
|
|
"kind": "NUMBER_LITERAL",
|
|
"value": "314",
|
|
"startPosition": "131"
|
|
},
|
|
"endPosition": "134",
|
|
"kind": "OR_ASSIGNMENT",
|
|
"variable": {
|
|
"endPosition": "127",
|
|
"kind": "IDENTIFIER",
|
|
"name": "xyz",
|
|
"startPosition": "124"
|
|
},
|
|
"startPosition": "124"
|
|
}
|
|
]
|