jdk-24/nashorn/test/script/nosecurity/treeapi/case.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

110 lines
2.0 KiB
Plaintext

[
{
"expression": {
"endPosition": "23",
"kind": "NUMBER_LITERAL",
"value": "1",
"startPosition": "22"
},
"endPosition": "24",
"kind": "CASE",
"statements": [],
"startPosition": "17"
},
{
"expression": {
"endPosition": "35",
"kind": "NUMBER_LITERAL",
"value": "2",
"startPosition": "34"
},
"endPosition": "36",
"kind": "CASE",
"statements": [],
"startPosition": "29"
},
{
"expression": {
"endPosition": "47",
"kind": "NUMBER_LITERAL",
"value": "3",
"startPosition": "46"
},
"endPosition": "63",
"kind": "CASE",
"statements": [
{
"endPosition": "63",
"kind": "BREAK",
"label": "null",
"startPosition": "57"
}
],
"startPosition": "41"
},
{
"expression": "null",
"endPosition": "77",
"kind": "CASE",
"statements": [],
"startPosition": "69"
},
{
"expression": {
"endPosition": "110",
"kind": "NUMBER_LITERAL",
"value": "1",
"startPosition": "109"
},
"endPosition": "125",
"kind": "CASE",
"statements": [
{
"endPosition": "125",
"kind": "BREAK",
"label": "null",
"startPosition": "120"
}
],
"startPosition": "104"
},
{
"expression": {
"endPosition": "136",
"kind": "NUMBER_LITERAL",
"value": "2",
"startPosition": "135"
},
"endPosition": "157",
"kind": "CASE",
"statements": [
{
"endPosition": "157",
"kind": "BREAK",
"label": "label",
"startPosition": "146"
}
],
"startPosition": "130"
},
{
"expression": {
"endPosition": "168",
"kind": "NUMBER_LITERAL",
"value": "3",
"startPosition": "167"
},
"endPosition": "183",
"kind": "CASE",
"statements": [
{
"endPosition": "183",
"kind": "BREAK",
"label": "null",
"startPosition": "178"
}
],
"startPosition": "162"
}
]