Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":41,"index":41}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":41,"index":41}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":41,"index":41}},
13 "expression": {
14 "type": "ObjectExpression",
15 "start":1,"end":40,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":40,"index":40}},
16 "properties": [
17 {
18 "type": "ObjectProperty",
19 "start":3,"end":18,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":18,"index":18}},
20 "method": false,
21 "key": {
22 "type": "Identifier",
23 "start":3,"end":12,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":12,"index":12},"identifierName":"__proto__"},
24 "name": "__proto__"
25 },
26 "computed": false,
27 "shorthand": false,
28 "value": {
29 "type": "NullLiteral",
30 "start":14,"end":18,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":18,"index":18}}
31 }
32 },
33 {
34 "type": "ObjectMethod",
35 "start":20,"end":38,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":38,"index":38}},
36 "method": false,
37 "key": {
38 "type": "Identifier",
39 "start":24,"end":33,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":33,"index":33},"identifierName":"__proto__"},
40 "name": "__proto__"
41 },
42 "computed": false,
43 "kind": "set",
44 "id": null,
45 "generator": false,
46 "async": false,
47 "params": [
48 {
49 "type": "Identifier",
50 "start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35},"identifierName":"x"},
51 "name": "x"
52 }
53 ],
54 "body": {
55 "type": "BlockStatement",
56 "start":36,"end":38,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":38,"index":38}},
57 "body": [],
58 "directives": []
59 }
60 }
61 ],
62 "extra": {
63 "parenthesized": true,
64 "parenStart": 0
65 }
66 }
67 }
68 ],
69 "directives": []
70 }
71 }