Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}},
4 "errors": [
5 "SyntaxError: Redefinition of __proto__ property. (1:39)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}},
16 "expression": {
17 "type": "ObjectExpression",
18 "start":1,"end":57,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":57,"index":57}},
19 "properties": [
20 {
21 "type": "ObjectMethod",
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":7,"end":14,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":14,"index":14},"identifierName":"__proto"},
27 "name": "__proto"
28 },
29 "computed": false,
30 "kind": "get",
31 "id": null,
32 "generator": false,
33 "async": false,
34 "params": [],
35 "body": {
36 "type": "BlockStatement",
37 "start":16,"end":18,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":18,"index":18}},
38 "body": [],
39 "directives": []
40 }
41 },
42 {
43 "type": "ObjectProperty",
44 "start":20,"end":37,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":37,"index":37}},
45 "method": false,
46 "key": {
47 "type": "StringLiteral",
48 "start":20,"end":31,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":31,"index":31}},
49 "extra": {
50 "rawValue": "__proto__",
51 "raw": "\"__proto__\""
52 },
53 "value": "__proto__"
54 },
55 "computed": false,
56 "shorthand": false,
57 "value": {
58 "type": "NullLiteral",
59 "start":33,"end":37,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":37,"index":37}}
60 }
61 },
62 {
63 "type": "ObjectProperty",
64 "start":39,"end":54,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":54,"index":54}},
65 "method": false,
66 "key": {
67 "type": "Identifier",
68 "start":39,"end":48,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":48,"index":48},"identifierName":"__proto__"},
69 "name": "__proto__"
70 },
71 "computed": false,
72 "shorthand": false,
73 "value": {
74 "type": "NullLiteral",
75 "start":50,"end":54,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":54,"index":54}}
76 }
77 }
78 ],
79 "extra": {
80 "trailingComma": 54,
81 "parenthesized": true,
82 "parenStart": 0
83 }
84 }
85 }
86 ],
87 "directives": []
88 }
89 }