Debian Codegraph @

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

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