Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-identifier/invalid_expression_await/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
4 "errors": [
5 "SyntaxError: 'import' and 'export' may appear only with 'sourceType: \"module\"' (1:0)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExportNamedDeclaration",
15 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
16 "specifiers": [],
17 "source": null,
18 "declaration": {
19 "type": "VariableDeclaration",
20 "start":7,"end":30,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":30,"index":30}},
21 "declarations": [
22 {
23 "type": "VariableDeclarator",
24 "start":11,"end":29,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":29,"index":29}},
25 "id": {
26 "type": "Identifier",
27 "start":11,"end":17,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":17,"index":17},"identifierName":"answer"},
28 "name": "answer"
29 },
30 "init": {
31 "type": "BinaryExpression",
32 "start":20,"end":29,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":29,"index":29}},
33 "left": {
34 "type": "Identifier",
35 "start":20,"end":25,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":25,"index":25},"identifierName":"await"},
36 "name": "await"
37 },
38 "operator": "+",
39 "right": {
40 "type": "NumericLiteral",
41 "start":28,"end":29,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":29,"index":29}},
42 "extra": {
43 "rawValue": 1,
44 "raw": "1"
45 },
46 "value": 1
47 }
48 }
49 }
50 ],
51 "kind": "var"
52 }
53 }
54 ],
55 "directives": []
56 }
57 }