Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0043/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
4 "errors": [
5 "SyntaxError: Invalid regular expression flag. (1:16)",
6 "SyntaxError: Invalid regular expression flag. (1:17)",
7 "SyntaxError: Invalid regular expression flag. (1:19)"
8 ],
9 "program": {
10 "type": "Program",
11 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
12 "sourceType": "script",
13 "interpreter": null,
14 "body": [
15 {
16 "type": "VariableDeclaration",
17 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
18 "declarations": [
19 {
20 "type": "VariableDeclarator",
21 "start":4,"end":19,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":19,"index":19}},
22 "id": {
23 "type": "Identifier",
24 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"x"},
25 "name": "x"
26 },
27 "init": {
28 "type": "RegExpLiteral",
29 "start":8,"end":19,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":19,"index":19}},
30 "extra": {
31 "raw": "/[a-z]/\\\\ux"
32 },
33 "pattern": "[a-z]",
34 "flags": "\\\\ux"
35 }
36 }
37 ],
38 "kind": "var"
39 }
40 ],
41 "directives": []
42 }
43 }