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

26 lines
488 B
Plaintext

[
{
"condition": {
"endPosition": "2",
"kind": "IDENTIFIER",
"name": "a",
"startPosition": "1"
},
"endPosition": "9",
"kind": "CONDITIONAL_EXPRESSION",
"trueExpression": {
"endPosition": "5",
"kind": "IDENTIFIER",
"name": "b",
"startPosition": "4"
},
"falseExpression": {
"endPosition": "9",
"kind": "IDENTIFIER",
"name": "c",
"startPosition": "8"
},
"startPosition": "2"
}
]