Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}},
13 "expression": {
14 "type": "ObjectExpression",
15 "start":1,"end":36,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":36,"index":36}},
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":33,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":33,"index":33}},
36 "method": true,
37 "key": {
38 "type": "Identifier",
39 "start":20,"end":29,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":29,"index":29},"identifierName":"__proto__"},
40 "name": "__proto__"
41 },
42 "computed": false,
43 "kind": "method",
44 "id": null,
45 "generator": false,
46 "async": false,
47 "params": [],
48 "body": {
49 "type": "BlockStatement",
50 "start":31,"end":33,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":33,"index":33}},
51 "body": [],
52 "directives": []
53 }
54 }
55 ],
56 "extra": {
57 "trailingComma": 33,
58 "parenthesized": true,
59 "parenStart": 0
60 }
61 }
62 }
63 ],
64 "directives": []
65 }
66 }