Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/157/output.json

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