nashorn/test/script/nosecurity/treeapi/condExpr.js.EXPECTED
author slugovoy
Fri, 20 Mar 2015 13:19:47 +0300
changeset 29543 4d9f8f8b69a4
permissions -rw-r--r--
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

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