Debian Codegraph @

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

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