Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/520/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:12)"
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": "FunctionExpression",
18 "start":1,"end":35,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":35,"index":35}},
19 "id": {
20 "type": "Identifier",
21 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"a"},
22 "name": "a"
23 },
24 "generator": false,
25 "async": false,
26 "params": [
27 {
28 "type": "Identifier",
29 "start":12,"end":16,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":16,"index":16},"identifierName":"eval"},
30 "name": "eval"
31 }
32 ],
33 "body": {
34 "type": "BlockStatement",
35 "start":18,"end":35,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":35,"index":35}},
36 "body": [],
37 "directives": [
38 {
39 "type": "Directive",
40 "start":20,"end":33,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":33,"index":33}},
41 "value": {
42 "type": "DirectiveLiteral",
43 "start":20,"end":32,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":32,"index":32}},
44 "extra": {
45 "rawValue": "use strict",
46 "raw": "\"use strict\"",
47 "expressionValue": "use strict"
48 },
49 "value": "use strict"
50 }
51 }
52 ]
53 },
54 "extra": {
55 "parenthesized": true,
56 "parenStart": 0
57 }
58 }
59 }
60 ],
61 "directives": []
62 }
63 }