Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/record-and-tuple/invalid-record-proto/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: '__proto__' is not allowed in Record expressions. (1:3)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
16 "expression": {
17 "type": "RecordExpression",
18 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
19 "properties": [
20 {
21 "type": "ObjectProperty",
22 "start":3,"end":18,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":18,"index":18}},
23 "method": false,
24 "key": {
25 "type": "Identifier",
26 "start":3,"end":12,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":12,"index":12},"identifierName":"__proto__"},
27 "name": "__proto__"
28 },
29 "computed": false,
30 "shorthand": false,
31 "value": {
32 "type": "NullLiteral",
33 "start":14,"end":18,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":18,"index":18}}
34 }
35 }
36 ]
37 }
38 }
39 ],
40 "directives": []
41 }
42 }