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
177 lines
4.0 KiB
Plaintext
177 lines
4.0 KiB
Plaintext
[
|
|
{
|
|
"endPosition": "32",
|
|
"kind": "LABELED_STATEMENT",
|
|
"statement": {
|
|
"endPosition": "32",
|
|
"kind": "BLOCK",
|
|
"statements": [
|
|
{
|
|
"condition": "null",
|
|
"endPosition": "30",
|
|
"kind": "FOR_LOOP",
|
|
"statement": {
|
|
"endPosition": "30",
|
|
"kind": "BREAK",
|
|
"label": "begin",
|
|
"startPosition": "19"
|
|
},
|
|
"update": "null",
|
|
"startPosition": "10",
|
|
"initializer": "null"
|
|
}
|
|
],
|
|
"startPosition": "8"
|
|
},
|
|
"label": "begin",
|
|
"startPosition": "1"
|
|
},
|
|
{
|
|
"endPosition": "69",
|
|
"kind": "LABELED_STATEMENT",
|
|
"statement": {
|
|
"endPosition": "69",
|
|
"kind": "BLOCK",
|
|
"statements": [
|
|
{
|
|
"condition": {
|
|
"endPosition": "54",
|
|
"kind": "BOOLEAN_LITERAL",
|
|
"value": "true",
|
|
"startPosition": "50"
|
|
},
|
|
"endPosition": "67",
|
|
"kind": "WHILE_LOOP",
|
|
"statement": {
|
|
"endPosition": "67",
|
|
"kind": "BREAK",
|
|
"label": "begin",
|
|
"startPosition": "56"
|
|
},
|
|
"startPosition": "43"
|
|
}
|
|
],
|
|
"startPosition": "41"
|
|
},
|
|
"label": "begin",
|
|
"startPosition": "34"
|
|
},
|
|
{
|
|
"endPosition": "110",
|
|
"kind": "LABELED_STATEMENT",
|
|
"statement": {
|
|
"endPosition": "110",
|
|
"kind": "BLOCK",
|
|
"statements": [
|
|
{
|
|
"condition": {
|
|
"endPosition": "92",
|
|
"kind": "BOOLEAN_LITERAL",
|
|
"value": "false",
|
|
"startPosition": "87"
|
|
},
|
|
"endPosition": "108",
|
|
"kind": "WHILE_LOOP",
|
|
"statement": {
|
|
"endPosition": "108",
|
|
"kind": "CONTINUE",
|
|
"label": "begin",
|
|
"startPosition": "94"
|
|
},
|
|
"startPosition": "80"
|
|
}
|
|
],
|
|
"startPosition": "78"
|
|
},
|
|
"label": "begin",
|
|
"startPosition": "71"
|
|
},
|
|
{
|
|
"endPosition": "146",
|
|
"kind": "LABELED_STATEMENT",
|
|
"statement": {
|
|
"endPosition": "146",
|
|
"kind": "BLOCK",
|
|
"statements": [
|
|
{
|
|
"condition": "null",
|
|
"endPosition": "144",
|
|
"kind": "FOR_LOOP",
|
|
"statement": {
|
|
"endPosition": "144",
|
|
"kind": "CONTINUE",
|
|
"label": "begin",
|
|
"startPosition": "130"
|
|
},
|
|
"update": "null",
|
|
"startPosition": "121",
|
|
"initializer": "null"
|
|
}
|
|
],
|
|
"startPosition": "119"
|
|
},
|
|
"label": "begin",
|
|
"startPosition": "112"
|
|
},
|
|
{
|
|
"endPosition": "190",
|
|
"kind": "LABELED_STATEMENT",
|
|
"statement": {
|
|
"endPosition": "190",
|
|
"kind": "BLOCK",
|
|
"statements": [
|
|
{
|
|
"condition": {
|
|
"endPosition": "187",
|
|
"kind": "BOOLEAN_LITERAL",
|
|
"value": "false",
|
|
"startPosition": "182"
|
|
},
|
|
"endPosition": "189",
|
|
"kind": "DO_WHILE_LOOP",
|
|
"statement": {
|
|
"endPosition": "175",
|
|
"kind": "CONTINUE",
|
|
"label": "begin",
|
|
"startPosition": "160"
|
|
},
|
|
"startPosition": "157"
|
|
}
|
|
],
|
|
"startPosition": "155"
|
|
},
|
|
"label": "begin",
|
|
"startPosition": "148"
|
|
},
|
|
{
|
|
"endPosition": "230",
|
|
"kind": "LABELED_STATEMENT",
|
|
"statement": {
|
|
"endPosition": "230",
|
|
"kind": "BLOCK",
|
|
"statements": [
|
|
{
|
|
"condition": {
|
|
"endPosition": "227",
|
|
"kind": "BOOLEAN_LITERAL",
|
|
"value": "true",
|
|
"startPosition": "223"
|
|
},
|
|
"endPosition": "229",
|
|
"kind": "DO_WHILE_LOOP",
|
|
"statement": {
|
|
"endPosition": "216",
|
|
"kind": "BREAK",
|
|
"label": "begin",
|
|
"startPosition": "204"
|
|
},
|
|
"startPosition": "201"
|
|
}
|
|
],
|
|
"startPosition": "199"
|
|
},
|
|
"label": "begin",
|
|
"startPosition": "192"
|
|
}
|
|
]
|