Debian Codegraph @

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

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