Debian Codegraph @

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

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