Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/361/output.json

raw symbols SCIP
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 "errors": [
5 "SyntaxError: Can not use 'await' as identifier inside an async function. (1:8)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "VariableDeclaration",
15 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
16 "declarations": [
17 {
18 "type": "VariableDeclarator",
19 "start":6,"end":23,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":23,"index":23}},
20 "id": {
21 "type": "ObjectPattern",
22 "start":6,"end":15,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":15,"index":15}},
23 "properties": [
24 {
25 "type": "ObjectProperty",
26 "start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13}},
27 "key": {
28 "type": "Identifier",
29 "start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13},"identifierName":"await"},
30 "name": "await"
31 },
32 "computed": false,
33 "method": false,
34 "shorthand": true,
35 "value": {
36 "type": "Identifier",
37 "start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13},"identifierName":"await"},
38 "name": "await"
39 },
40 "extra": {
41 "shorthand": true
42 }
43 }
44 ]
45 },
46 "init": {
47 "type": "CallExpression",
48 "start":18,"end":23,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":23,"index":23}},
49 "callee": {
50 "type": "Identifier",
51 "start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"foo"},
52 "name": "foo"
53 },
54 "arguments": []
55 }
56 }
57 ],
58 "kind": "const"
59 }
60 ],
61 "directives": []
62 }
63 }