Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/488/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
4 "errors": [
5 "SyntaxError: Binding 'eval' in strict mode. (1:10)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
16 "expression": {
17 "type": "CallExpression",
18 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
19 "callee": {
20 "type": "FunctionExpression",
21 "start":1,"end":33,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":33,"index":33}},
22 "id": {
23 "type": "Identifier",
24 "start":10,"end":14,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":14,"index":14},"identifierName":"eval"},
25 "name": "eval"
26 },
27 "generator": false,
28 "async": false,
29 "params": [],
30 "body": {
31 "type": "BlockStatement",
32 "start":17,"end":33,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":33,"index":33}},
33 "body": [],
34 "directives": [
35 {
36 "type": "Directive",
37 "start":18,"end":31,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":31,"index":31}},
38 "value": {
39 "type": "DirectiveLiteral",
40 "start":18,"end":30,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":30,"index":30}},
41 "extra": {
42 "rawValue": "use strict",
43 "raw": "'use strict'",
44 "expressionValue": "use strict"
45 },
46 "value": "use strict"
47 }
48 }
49 ]
50 },
51 "extra": {
52 "parenthesized": true,
53 "parenStart": 0
54 }
55 },
56 "arguments": []
57 }
58 }
59 ],
60 "directives": []
61 }
62 }