Debian Codegraph @

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

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