Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/destructuring-private/invalid-async-call-arguments/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":46,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":46}},
4 "errors": [
5 "SyntaxError: Unexpected private name. (3:16)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":46,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":46}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ClassDeclaration",
15 "start":0,"end":46,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":46}},
16 "id": {
17 "type": "Identifier",
18 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"C"},
19 "name": "C"
20 },
21 "superClass": null,
22 "body": {
23 "type": "ClassBody",
24 "start":8,"end":46,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":4,"column":1,"index":46}},
25 "body": [
26 {
27 "type": "ClassPrivateProperty",
28 "start":12,"end":19,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":9,"index":19}},
29 "static": false,
30 "key": {
31 "type": "PrivateName",
32 "start":12,"end":14,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":4,"index":14}},
33 "id": {
34 "type": "Identifier",
35 "start":13,"end":14,"loc":{"start":{"line":2,"column":3,"index":13},"end":{"line":2,"column":4,"index":14},"identifierName":"x"},
36 "name": "x"
37 }
38 },
39 "value": {
40 "type": "NumericLiteral",
41 "start":17,"end":18,"loc":{"start":{"line":2,"column":7,"index":17},"end":{"line":2,"column":8,"index":18}},
42 "extra": {
43 "rawValue": 1,
44 "raw": "1"
45 },
46 "value": 1
47 }
48 },
49 {
50 "type": "ClassPrivateProperty",
51 "start":22,"end":44,"loc":{"start":{"line":3,"column":2,"index":22},"end":{"line":3,"column":24,"index":44}},
52 "static": false,
53 "key": {
54 "type": "PrivateName",
55 "start":22,"end":24,"loc":{"start":{"line":3,"column":2,"index":22},"end":{"line":3,"column":4,"index":24}},
56 "id": {
57 "type": "Identifier",
58 "start":23,"end":24,"loc":{"start":{"line":3,"column":3,"index":23},"end":{"line":3,"column":4,"index":24},"identifierName":"p"},
59 "name": "p"
60 }
61 },
62 "value": {
63 "type": "CallExpression",
64 "start":27,"end":44,"loc":{"start":{"line":3,"column":7,"index":27},"end":{"line":3,"column":24,"index":44}},
65 "callee": {
66 "type": "Identifier",
67 "start":27,"end":32,"loc":{"start":{"line":3,"column":7,"index":27},"end":{"line":3,"column":12,"index":32},"identifierName":"async"},
68 "name": "async"
69 },
70 "arguments": [
71 {
72 "type": "ObjectExpression",
73 "start":34,"end":43,"loc":{"start":{"line":3,"column":14,"index":34},"end":{"line":3,"column":23,"index":43}},
74 "properties": [
75 {
76 "type": "ObjectProperty",
77 "start":36,"end":41,"loc":{"start":{"line":3,"column":16,"index":36},"end":{"line":3,"column":21,"index":41}},
78 "method": false,
79 "key": {
80 "type": "PrivateName",
81 "start":36,"end":38,"loc":{"start":{"line":3,"column":16,"index":36},"end":{"line":3,"column":18,"index":38}},
82 "id": {
83 "type": "Identifier",
84 "start":37,"end":38,"loc":{"start":{"line":3,"column":17,"index":37},"end":{"line":3,"column":18,"index":38},"identifierName":"x"},
85 "name": "x"
86 }
87 },
88 "shorthand": false,
89 "value": {
90 "type": "Identifier",
91 "start":40,"end":41,"loc":{"start":{"line":3,"column":20,"index":40},"end":{"line":3,"column":21,"index":41},"identifierName":"x"},
92 "name": "x"
93 }
94 }
95 ]
96 }
97 ]
98 }
99 }
100 ]
101 }
102 }
103 ],
104 "directives": []
105 }
106 }