Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-class/migrated_0019/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"A"},
16 "name": "A"
17 },
18 "superClass": null,
19 "body": {
20 "type": "ClassBody",
21 "start":8,"end":47,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":47,"index":47}},
22 "body": [
23 {
24 "type": "ClassMethod",
25 "start":9,"end":26,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":26,"index":26}},
26 "static": false,
27 "key": {
28 "type": "StringLiteral",
29 "start":9,"end":22,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":22,"index":22}},
30 "extra": {
31 "rawValue": "constructor",
32 "raw": "\"constructor\""
33 },
34 "value": "constructor"
35 },
36 "computed": false,
37 "kind": "constructor",
38 "id": null,
39 "generator": false,
40 "async": false,
41 "params": [],
42 "body": {
43 "type": "BlockStatement",
44 "start":24,"end":26,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":26,"index":26}},
45 "body": [],
46 "directives": []
47 }
48 },
49 {
50 "type": "ClassMethod",
51 "start":27,"end":46,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":46,"index":46}},
52 "static": false,
53 "computed": true,
54 "key": {
55 "type": "StringLiteral",
56 "start":28,"end":41,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":41,"index":41}},
57 "extra": {
58 "rawValue": "constructor",
59 "raw": "\"constructor\""
60 },
61 "value": "constructor"
62 },
63 "kind": "method",
64 "id": null,
65 "generator": false,
66 "async": false,
67 "params": [],
68 "body": {
69 "type": "BlockStatement",
70 "start":44,"end":46,"loc":{"start":{"line":1,"column":44,"index":44},"end":{"line":1,"column":46,"index":46}},
71 "body": [],
72 "directives": []
73 }
74 }
75 ]
76 }
77 }
78 ],
79 "directives": []
80 }
81 }