Debian Codegraph @

packages/babel-parser/test/fixtures/core/object/member-expression-after-property-initializer-1/output.json

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