Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/expression-primary-object/migrated_0030/output.json

raw
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":13,"end":24,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":24,"index":24}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":13,"end":24,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":24,"index":24}},
16 "operator": "=",
17 "left": {
18 "type": "Identifier",
19 "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"x"},
20 "name": "x"
21 },
22 "right": {
23 "type": "ObjectExpression",
24 "start":15,"end":24,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":24,"index":24}},
25 "properties": [
26 {
27 "type": "ObjectProperty",
28 "start":16,"end":19,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":19,"index":19}},
29 "method": false,
30 "key": {
31 "type": "Identifier",
32 "start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17},"identifierName":"y"},
33 "name": "y"
34 },
35 "computed": false,
36 "shorthand": false,
37 "value": {
38 "type": "NumericLiteral",
39 "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19}},
40 "extra": {
41 "rawValue": 1,
42 "raw": "1"
43 },
44 "value": 1
45 }
46 },
47 {
48 "type": "ObjectProperty",
49 "start":20,"end":23,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":23,"index":23}},
50 "method": false,
51 "key": {
52 "type": "Identifier",
53 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"y"},
54 "name": "y"
55 },
56 "computed": false,
57 "shorthand": false,
58 "value": {
59 "type": "NumericLiteral",
60 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23}},
61 "extra": {
62 "rawValue": 1,
63 "raw": "1"
64 },
65 "value": 1
66 }
67 }
68 ]
69 }
70 }
71 }
72 ],
73 "directives": [
74 {
75 "type": "Directive",
76 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
77 "value": {
78 "type": "DirectiveLiteral",
79 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
80 "extra": {
81 "rawValue": "use strict",
82 "raw": "\"use strict\"",
83 "expressionValue": "use strict"
84 },
85 "value": "use strict"
86 }
87 }
88 ]
89 }
90 }