nashorn/test/script/nosecurity/treeapi/regexp.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

[
  {
    "endPosition": "9",
    "kind": "REGEXP_LITERAL",
    "options": "i",
    "pattern": "[abc]",
    "startPosition": "1"
  },
  {
    "endPosition": "46",
    "kind": "REGEXP_LITERAL",
    "options": "ig",
    "pattern": "([^abc])*([a-z])+([^0-9])?(x|y)",
    "startPosition": "11"
  },
  {
    "endPosition": "72",
    "kind": "REGEXP_LITERAL",
    "options": "igm",
    "pattern": "^\\w\\W\\n\\f\\0$",
    "startPosition": "55"
  }
]