Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/uncategorised/49/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":29,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":29,"index":29}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7},"identifierName":"obj"},
20 "name": "obj"
21 },
22 "init": {
23 "type": "ObjectExpression",
24 "start":10,"end":29,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":29,"index":29}},
25 "properties": [
26 {
27 "type": "ObjectProperty",
28 "start":17,"end":27,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":27,"index":27}},
29 "decorators": [
30 {
31 "type": "Decorator",
32 "start":12,"end":16,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":16,"index":16}},
33 "expression": {
34 "type": "Identifier",
35 "start":13,"end":16,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":16,"index":16},"identifierName":"foo"},
36 "name": "foo"
37 }
38 }
39 ],
40 "method": false,
41 "key": {
42 "type": "Identifier",
43 "start":17,"end":20,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":20,"index":20},"identifierName":"bar"},
44 "name": "bar"
45 },
46 "computed": false,
47 "shorthand": false,
48 "value": {
49 "type": "StringLiteral",
50 "start":22,"end":27,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":27,"index":27}},
51 "extra": {
52 "rawValue": "wow",
53 "raw": "'wow'"
54 },
55 "value": "wow"
56 }
57 }
58 ]
59 }
60 }
61 ],
62 "kind": "var"
63 }
64 ],
65 "directives": []
66 }
67 }