Debian Codegraph @

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

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