Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/object/invalid-property-initializer-in-rhs/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
4 "errors": [
5 "SyntaxError: Invalid shorthand property initializer. (1:9)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
16 "expression": {
17 "type": "AssignmentExpression",
18 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
19 "operator": "=",
20 "left": {
21 "type": "Identifier",
22 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3},"identifierName":"obj"},
23 "name": "obj"
24 },
25 "right": {
26 "type": "ObjectExpression",
27 "start":6,"end":13,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":13,"index":13}},
28 "properties": [
29 {
30 "type": "ObjectProperty",
31 "start":7,"end":12,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":12,"index":12}},
32 "method": false,
33 "key": {
34 "type": "Identifier",
35 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"x"},
36 "name": "x"
37 },
38 "computed": false,
39 "shorthand": true,
40 "value": {
41 "type": "AssignmentPattern",
42 "start":7,"end":12,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":12,"index":12}},
43 "left": {
44 "type": "Identifier",
45 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"x"},
46 "name": "x"
47 },
48 "right": {
49 "type": "NumericLiteral",
50 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12}},
51 "extra": {
52 "rawValue": 0,
53 "raw": "0"
54 },
55 "value": 0
56 }
57 },
58 "extra": {
59 "shorthand": true
60 }
61 }
62 ]
63 }
64 }
65 }
66 ],
67 "directives": []
68 }
69 }