Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/108/output.json

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