Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/record-and-tuple/invalid-property-initializer/output.json

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